mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-02 21:32:52 +00:00
d2329237af
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 |
||
---|---|---|
.. | ||
console.h | ||
egl-context.h | ||
egl-helpers.h | ||
gtk.h | ||
input.h | ||
kbd-state.h | ||
pixel_ops.h | ||
qemu-pixman.h | ||
qemu-spice.h | ||
sdl2.h | ||
shader.h | ||
spice-display.h |