Files
gtk/gdk
Chun-wei Fan ac64d2d910 GDK-Win32: Clean up HiDPI support and WGL a bit
Make _gdk_win32_display_get_monitor_scale_factor() less complex, by:

*  Drop the preceding underscore.

*  Dropping an unused parameter.

*  Using a GdkSurface instead of a HWND, as the HWND that we pass into
   this function might have been taken from a GdkSurface, which are now
   always created with CS_OWNDC.  This means if a GdkSurface was passed
   in, we ensure that we only acquire the DC from the HWND once, and do
   not attempt to call ReleaseDC() on it.

*  Store the HDC that we acquire from the GdkSurface's HWND into the
   surface, and use that as the HDC we need for our GdkGLContext.

*  Drop the gl_hwnd from GdkWin32Display, as that is really should be
   stored in the GdkSurface.

*  For functions that were updated, name GdkWin32Display variables as
   display_win32 and GdkSurface variables as surface, to unify things.

*  Stop calling ReleaseDC() on the HDC that we use for OpenGL, since
   they were acquired from HWND's created with CS_OWNDC.
2021-07-19 18:30:42 +08:00
..
2021-07-07 23:35:38 +04:00
2021-06-05 17:38:23 -04:00
2021-05-27 00:18:23 +00:00
2021-05-22 17:25:26 -04:00
2021-05-22 17:25:26 -04:00
2021-05-25 07:33:55 -04:00
2019-11-27 13:33:43 +00:00
2021-05-22 21:20:10 -04:00
2021-05-22 17:25:26 -04:00
2021-05-22 17:25:26 -04:00
2021-06-05 17:38:23 -04:00
2020-10-29 07:40:30 -04:00
2021-05-22 17:25:26 -04:00
2021-05-22 17:25:26 -04:00
2021-05-22 17:25:26 -04:00
2020-07-25 00:47:36 +02:00
2021-03-11 16:37:31 +00:00
2021-06-05 17:38:23 -04:00
2021-06-05 17:38:23 -04:00
2021-05-20 20:45:06 -04:00
2021-03-11 16:37:31 +00:00
2020-07-25 00:47:36 +02:00
2021-05-22 17:25:26 -04:00
2020-04-03 15:30:56 +01:00
2021-05-27 00:18:23 +00:00
2021-06-19 08:03:47 -07:00
2020-03-02 04:43:56 +01:00
2021-05-22 17:25:26 -04:00
2021-05-20 19:17:49 -04:00
2021-05-22 17:25:26 -04:00
2021-06-05 17:38:23 -04:00
2021-03-11 16:37:31 +00:00
2021-03-11 16:37:31 +00:00
2021-05-22 17:25:26 -04:00
2021-05-20 20:45:06 -04:00
2019-11-27 13:33:43 +00:00
2020-10-01 19:33:43 -04:00
2021-03-11 16:37:31 +00:00
2021-03-11 16:37:31 +00:00
2020-07-25 00:47:36 +02:00
2021-05-22 17:25:26 -04:00
2020-07-25 00:47:36 +02:00
2020-07-25 00:47:36 +02:00
2020-07-21 16:55:28 -04:00
2021-03-11 16:37:31 +00:00
2021-03-11 16:37:31 +00:00
2021-05-20 20:45:06 -04:00
2021-05-22 17:25:26 -04:00
2021-05-22 17:25:26 -04:00
2021-05-20 19:17:49 -04:00
2020-07-25 00:47:36 +02:00
2021-05-22 17:25:26 -04:00
2021-05-22 17:25:26 -04:00
2020-07-25 00:47:36 +02:00
2021-05-22 17:25:26 -04:00
2021-03-11 16:37:31 +00:00
2021-05-22 21:21:10 -04:00
2020-03-11 19:35:55 -04:00
2021-05-22 17:25:26 -04:00
2019-11-27 13:33:43 +00:00
2021-05-20 19:17:49 -04:00
2020-07-25 00:47:36 +02:00
2021-05-27 00:18:23 +00:00
2021-03-11 16:37:31 +00:00
2021-03-11 16:37:31 +00:00
2021-05-22 17:25:26 -04:00
2021-05-22 17:25:26 -04:00
2021-03-11 16:37:31 +00:00
2021-05-22 17:25:26 -04:00
2021-05-22 17:25:26 -04:00
2021-05-02 21:02:09 -04:00
2021-05-22 17:25:26 -04:00