mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
ui/gtk-egl: add cursor_dmabuf support
Add support for cursor dmabufs to gtk-egl. Just blend in the cursor (if we have one) when rendering the dmabuf. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180306090951.22932-7-kraxel@redhat.com
This commit is contained in:
parent
70763fea4f
commit
f1bd313264
3 changed files with 49 additions and 1 deletions
2
ui/gtk.c
2
ui/gtk.c
|
@ -745,6 +745,8 @@ static const DisplayChangeListenerOps dcl_egl_ops = {
|
|||
.dpy_gl_scanout_disable = gd_egl_scanout_disable,
|
||||
.dpy_gl_scanout_texture = gd_egl_scanout_texture,
|
||||
.dpy_gl_scanout_dmabuf = gd_egl_scanout_dmabuf,
|
||||
.dpy_gl_cursor_dmabuf = gd_egl_cursor_dmabuf,
|
||||
.dpy_gl_cursor_position = gd_egl_cursor_position,
|
||||
.dpy_gl_release_dmabuf = gd_egl_release_dmabuf,
|
||||
.dpy_gl_update = gd_egl_scanout_flush,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue