gtk/gdk/win32
Chun-wei Fan e14670d457 gdksurface-win32.c: Call _gdk_surface_update_size() more
The current resizing implementation in the GDK-Win32 backend is not
telling GDK early enough for Vulkan that a resize in the surface (i.e.
HWND) is done, so that GDK can re-create swapchain in time, which is
apparent on nVidia drivers (and AMD drivers that utilize the mailbox
presentation mode on Windows) when the HWND is being enlarged
interactively.

To work around this, bar a refactor in the Windows resizing/presentation
code, is to call _gdk_surface_update_size() when we really did resize
the HWND when we handle queued resizes via SetWindowsPos().

The existing call in gdksurface-win32.c in
_gdk_win32_surface_compute_size() remains required, otherwise the
surface won't display initially.

Thanks to Benjamin Otte for pointing this possibility out.
2024-08-19 11:25:50 +08:00
..
rc Drop Autotools build 2017-08-14 22:23:09 +01:00
gdkcairocontext-win32.c drawcontext: Make begin_frame() set colorstate + depth 2024-07-11 14:57:20 +02:00
gdkcairocontext-win32.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkclipboard-win32.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkclipboard-win32.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkclipdrop-win32.c Windows: Build with UNICODE 2024-05-28 16:37:48 +02:00
gdkclipdrop-win32.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkcursor-win32.c gdk: Add color state arg to gdk_texture_download_surface() 2024-07-11 14:57:20 +02:00
gdkdevice-virtual.c win32: Stop using the query_state vfunc 2020-08-26 17:56:41 -04:00
gdkdevice-virtual.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdevice-win32.c gdk/win32: deprecate gdk_win32_handle_table_lookup 2022-08-24 21:02:57 +04:00
gdkdevice-win32.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdevice-winpointer.c gdk/win32: deprecate gdk_win32_handle_table_lookup 2022-08-24 21:02:57 +04:00
gdkdevice-winpointer.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdevice-wintab.c gdk/win32: deprecate gdk_win32_handle_table_lookup 2022-08-24 21:02:57 +04:00
gdkdevice-wintab.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdevicemanager-win32.c Windows: Build with UNICODE 2024-05-28 16:37:48 +02:00
gdkdevicemanager-win32.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdisplay-win32.c Windows: Build with UNICODE 2024-05-28 16:37:48 +02:00
gdkdisplay-win32.h Win32 GL: Also force not to use depth/stencil/accum bits on legacy contexts 2024-04-24 16:23:17 +08:00
gdkdisplaymanager-win32.c win32: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkdrag-win32.c Windows: Build with UNICODE 2024-05-28 16:37:48 +02:00
gdkdrop-win32.c Plug GTask leaks 2024-08-05 14:38:23 +03:00
gdkevents-win32.c Windows: Build with UNICODE 2024-05-28 16:37:48 +02:00
gdkglcontext-win32-egl.c drawcontext: Make begin_frame() set colorstate + depth 2024-07-11 14:57:20 +02:00
gdkglcontext-win32-wgl-private.c GDK-Win32: Add wrapper functions for calling core wgl* functions 2023-03-24 18:43:23 +08:00
gdkglcontext-win32-wgl.c drawcontext: Make begin_frame() set colorstate + depth 2024-07-11 14:57:20 +02:00
gdkglcontext-win32.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkglcontext-win32.h wgl: Create context during WGL initialization 2023-04-27 02:16:46 +02:00
gdkglobals-win32.c GdkWin32: Remove _gdk_display_hdc global variable 2023-05-31 12:15:57 +02:00
gdkhdataoutputstream-win32.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkhdataoutputstream-win32.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkinput-dmanipulation.c gdk/win32: fix hr set but not used 2023-04-25 16:37:58 +04:00
gdkinput-dmanipulation.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkinput-winpointer.c GdkWin32: Fix keyboard state for WinPointer input 2023-06-21 16:18:01 +02:00
gdkinput-winpointer.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkkeys-win32-impl-wow64.c Rewrite GdkWin32Keymap (load table directly from layout DLL) 2022-01-12 19:01:35 +01:00
gdkkeys-win32-impl.c gdkkeys-win32: Also ignore Ctrl + Shift (etc.) 2022-02-09 10:43:07 +01:00
gdkkeys-win32.c GdkWin32: Remove unused functions 2023-05-31 12:15:57 +02:00
gdkkeys-win32.h gdkkeys-win32: Fix capslock handling 2022-01-12 21:43:53 +01:00
gdkmain-win32.c Windows: Build with UNICODE 2024-05-28 16:37:48 +02:00
gdkmonitor-win32.c win32: implement fullscreen_on_monitor 2023-05-24 18:48:37 -04:00
gdkmonitor-win32.h win32: implement fullscreen_on_monitor 2023-05-24 18:48:37 -04:00
gdkprivate-win32.h Windows: Build with UNICODE 2024-05-28 16:37:48 +02:00
gdkproperty-win32.c GdkWin32: Remove _gdk_display_hdc global variable 2023-05-31 12:15:57 +02:00
gdkscreen-win32.c Raise _WIN32_WINNT macro to target Windows 7 API 2021-08-19 15:57:33 +02:00
gdksurface-win32.c gdksurface-win32.c: Call _gdk_surface_update_size() more 2024-08-19 11:25:50 +08:00
gdksurface-win32.h Fix typos throughout 2024-01-07 20:44:05 -05:00
gdkvulkancontext-win32.c drawcontext: Make begin_frame() set colorstate + depth 2024-07-11 14:57:20 +02:00
gdkvulkancontext-win32.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkwin32.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkwin32cursor.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkwin32display.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkwin32displaymanager.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkwin32dnd-private.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkwin32dnd.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkwin32glcontext.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkwin32id.c gdk/win32: deprecate gdk_win32_handle_table_lookup 2022-08-24 21:02:57 +04:00
gdkwin32keys.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkwin32langnotification.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkwin32langnotification.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkwin32misc.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkwin32monitor.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkwin32screen.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkwin32surface.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
meson.build build: Add a missing dependency 2024-04-11 15:47:38 -04:00
pktdef.h Build Wintab support always on Windows. Don't require the Wintab SDK. 2007-01-19 01:55:52 +00:00
winpointer.h Add winpointer.h header file for type declarations 2021-08-19 15:57:39 +02:00
wintab.h Build Wintab support always on Windows. Don't require the Wintab SDK. 2007-01-19 01:55:52 +00:00
xcursors.h Windows: Build with UNICODE 2024-05-28 16:37:48 +02:00