diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-03-06 10:09:51 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-03-12 09:00:34 +0100 |
commit | f1bd313264925dfb229a2152eb3f60fe55746b83 (patch) | |
tree | 8fcddc78bac820798553a28e80b743f334fddbc8 /ui/gtk.c | |
parent | 70763fea4fbbe2984fd2a8f6ce9c77114af80792 (diff) | |
download | qemu-f1bd313264925dfb229a2152eb3f60fe55746b83.zip qemu-f1bd313264925dfb229a2152eb3f60fe55746b83.tar.gz qemu-f1bd313264925dfb229a2152eb3f60fe55746b83.tar.bz2 |
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
Diffstat (limited to 'ui/gtk.c')
-rw-r--r-- | ui/gtk.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, }; |