summary refs log tree commit diff stats
path: root/hw/display/virtio-gpu.c
diff options
context:
space:
mode:
authorDongwon Kim <dongwon.kim@intel.com>2023-06-28 12:15:04 -0700
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-07-17 15:20:56 +0400
commit83b4b236ed54dab35f1b821ee2b6f3101c45c8cc (patch)
tree52fbb7ff1df6df9ff53ab0c20493c8ce33f6f512 /hw/display/virtio-gpu.c
parentd921fea338c1059a27ce7b75309d7a2e485f710b (diff)
downloadfocaccia-qemu-83b4b236ed54dab35f1b821ee2b6f3101c45c8cc.tar.gz
focaccia-qemu-83b4b236ed54dab35f1b821ee2b6f3101c45c8cc.zip
ui/gtk: Make sure the right EGL context is currently bound
Observed a wrong context is bound when changing the scanout mode.
To prevent problem, it is needed to make sure to bind the right
context in gtk_egl_set_scanout_mode/gtk_gl_area_set_scanout_mode
as well as unbind one in the end of gd_egl_update/gd_gl_area_update.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Cc: Vivek Kasireddy <vivek.kasireddy@intel.com>
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20230628191504.17185-1-dongwon.kim@intel.com>
Diffstat (limited to 'hw/display/virtio-gpu.c')
0 files changed, 0 insertions, 0 deletions