Scaling was not respected when rendering frames in gtk-egl.c (used if gl=on and X11 mode). To fix this, add fields x and y to struct egl_fb for x offset and y offset so we can add padding to window. Signed-off-by: Weifeng Liu <weifeng.liu.z@gmail.com> Message-ID: <20250511073337.876650-10-weifeng.liu.z@gmail.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com> |
||
|---|---|---|
| .. | ||
| clipboard.h | ||
| console.h | ||
| dbus-display.h | ||
| dbus-module.h | ||
| dmabuf.h | ||
| egl-context.h | ||
| egl-helpers.h | ||
| gtk.h | ||
| input.h | ||
| kbd-state.h | ||
| pixel_ops.h | ||
| pixman-minimal.h | ||
| qemu-pixman.h | ||
| qemu-spice-module.h | ||
| qemu-spice.h | ||
| rect.h | ||
| sdl2.h | ||
| shader.h | ||
| spice-display.h | ||
| surface.h | ||
| win32-kbd-hook.h | ||