wine/dlls/winewayland.drv
Alexandros Frantzis 4bba16fd18 winewayland.drv: Handle resizing of OpenGL content.
Wayland surfaces don't have an inherent native size that the EGL
implementation can track, so we need to explicitly tell EGL about changes
in the native size with wl_egl_window_resize.

Since the resize can be triggered outside the GL render thread, and
wl_egl_window_resize is not thread safe (with respect to other EGL/GL
calls), we cannot call it directly at will. Instead we mark the
wayland_gl_drawable as resized, and actually call the
wl_egl_window_resize function from the thread in which the respective
drawable is current.

Note that the first EGL/GL operation that requires a new backbuffer
latches whatever native size we have reported, until the next
eglSwapBuffers. In order to ensure the current native size is applied as
soon as possible (to avoid glitches), we check for and apply resizes at
a few extra points where a new backbuffer may be required (e.g.,
glClear, eglMakeCurrent).
2024-03-06 19:12:18 +01:00
..
display.c win32u: Deduce monitor device flags from their adapter. 2024-02-21 21:55:04 +01:00
dllmain.c
Makefile.in winewayland.drv: Implement wglSetPixelFormat(WINE). 2024-03-06 19:12:08 +01:00
opengl.c winewayland.drv: Handle resizing of OpenGL content. 2024-03-06 19:12:18 +01:00
pointer-constraints-unstable-v1.xml
relative-pointer-unstable-v1.xml
unixlib.h
version.rc
viewporter.xml
vulkan.c winewayland: Remove unnecessary vkDestroySurfaceKHR NULL checks. 2024-03-01 10:21:32 +01:00
wayland.c
wayland_keyboard.c win32u: Use NtUserCallHwndParam interface for __wine_send_input. 2024-03-05 20:50:06 +01:00
wayland_output.c
wayland_pointer.c win32u: Use NtUserCallHwndParam interface for __wine_send_input. 2024-03-05 20:50:06 +01:00
wayland_surface.c winewayland.drv: Handle resizing of OpenGL content. 2024-03-06 19:12:18 +01:00
waylanddrv.h winewayland.drv: Handle resizing of OpenGL content. 2024-03-06 19:12:18 +01:00
waylanddrv_dll.h
waylanddrv_main.c winewayland.drv: Add skeleton OpenGL driver. 2024-03-06 19:11:56 +01:00
window.c winewayland.drv: Implement wglSetPixelFormat(WINE). 2024-03-06 19:12:08 +01:00
window_surface.c
winewayland.drv.spec
xdg-output-unstable-v1.xml
xdg-shell.xml