gtk/gdk/win32
Luca Bacci 72b2938e43 WGL: Request that no depth, stencil and accum buffers be created
Unspecified attributes are not interpreted as "leave this feature out",
rather as "pick a default value". For depth, stencil and accum bits the
defaults may be different than 0. For example, with AMD drivers we get:

 * WGL_DEPTH_BITS_ARB:   32
 * WGL_STENCIL_BITS_ARB: 8
 * WGL_ACCUM_BITS_ARB:   0

Set the attributes to 0 as a hint that depth, stencil and accum buffers
should not be created.

The driver may still create them (matching criteria is "minimum" [1]),
but that's outside of our control (and unlikely to happen).

References:

 [1] - WGL_ARB_pixel_format specification
       https://registry.khronos.org/OpenGL/extensions/ARB/WGL_ARB_pixel_format.txt

See #6401
2024-02-19 18:15:52 +01:00
..
rc Drop Autotools build 2017-08-14 22:23:09 +01:00
gdkcairocontext-win32.c GdkWin32: Implement GdkDrawContext::empty_frame() vfunc 2024-01-30 16:23:28 +01: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 Fix typos throughout 2024-01-07 20:44:05 -05:00
gdkclipdrop-win32.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkcursor-win32.c GdkWin32: Remove unused functions 2023-05-31 12:15:57 +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 win32: Create gdk_win32_draw_surface_new() 2023-04-26 21:03:34 +02:00
gdkdevicemanager-win32.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdisplay-win32.c Let GdkDisplay decide if shadows should be drawn 2024-01-25 12:09:10 +01:00
gdkdisplay-win32.h win32: Turn off multisampling 2023-05-09 18:15:23 +08:00
gdkdisplaymanager-win32.c win32: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkdrag-win32.c win32: Create gdk_win32_draw_surface_new() 2023-04-26 21:03:34 +02:00
gdkdrop-win32.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkevents-win32.c Fix typos throughout 2024-01-07 20:44:05 -05:00
gdkglcontext-win32-egl.c GdkWin32: Implement GdkDrawContext::empty_frame() vfunc 2024-01-30 16:23:28 +01: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 WGL: Request that no depth, stencil and accum buffers be created 2024-02-19 18:15:52 +01: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 Remove G_ENABLE_DEBUG around debug checks 2023-11-05 11:16:23 +01: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 Remove G_ENABLE_DEBUG around debug checks 2023-11-05 11:16:23 +01: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 GdkWin32: ignore invalid client rects 2023-09-19 20:29:04 +02:00
gdksurface-win32.h Fix typos throughout 2024-01-07 20:44:05 -05:00
gdkvulkancontext-win32.c GdkWin32: Implement GdkDrawContext::empty_frame() vfunc 2024-01-30 16:23:28 +01: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 GDK-Win32: Add wrapper functions for calling core wgl* functions 2023-03-24 18:43:23 +08: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 Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00