qemu-e2k/include/ui
Gerd Hoffmann d2329237af ui/egl: fix framebuffer reads
Fix egl_fb_read() to use the (destination) surface size instead of the
(source) framebuffer source for glReadPixels.  Pass the DisplaySurface
instead of the pixeldata pointer to egl_fb_read() to make this possible.

With that in place framebuffer reads work fine even if the surface and
framebuffer sizes don't match, so we can remove the guest-triggerable
asserts in egl_scanout_flush().

Buglink: https://bugzilla.redhat.com//show_bug.cgi?id=1749659
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20190909073911.24787-1-kraxel@redhat.com
2019-09-17 13:42:02 +02:00
..
console.h console: add dmabuf modifier field. 2019-06-07 11:52:35 +02:00
egl-context.h
egl-helpers.h ui/egl: fix framebuffer reads 2019-09-17 13:42:02 +02:00
gtk.h kbd-state: use state tracker for gtk 2019-02-05 10:45:44 +01:00
input.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
kbd-state.h Normalize header guard symbol definition. 2019-05-13 08:58:55 +02:00
pixel_ops.h
qemu-pixman.h ui/console: Remove PixelFormat from qemu/typedefs.h 2019-01-22 05:14:33 +01:00
qemu-spice.h configure: bump spice-server required version to 0.12.5 2019-01-10 08:55:13 +01:00
sdl2.h kbd-state: use state tracker for sdl2 2019-02-05 10:45:44 +01:00
shader.h
spice-display.h Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00