mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-25 06:59:42 -05:00
Add (broken) DRM hardware cursors
This commit is contained in:
parent
def3d7c64f
commit
7e038a6110
9 changed files with 2739 additions and 1755 deletions
|
|
@ -91,6 +91,15 @@ void wlr_output_transform(struct wlr_output *output,
|
|||
output->impl->transform(output->state, transform);
|
||||
}
|
||||
|
||||
bool wlr_output_set_cursor(struct wlr_output *output,
|
||||
const uint8_t *buf, int32_t stride, uint32_t width, uint32_t height) {
|
||||
return output->impl->set_cursor(output->state, buf, stride, width, height);
|
||||
}
|
||||
|
||||
bool wlr_output_move_cursor(struct wlr_output *output, int x, int y) {
|
||||
return output->impl->move_cursor(output->state, x, y);
|
||||
}
|
||||
|
||||
void wlr_output_destroy(struct wlr_output *output) {
|
||||
if (!output) return;
|
||||
output->impl->destroy(output->state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue