gtk/gdk/win32
Benjamin Otte 182d18bcd1 gdk: Large GL refactoring
No visible changes as GL rendering is disabled at the moment.

What was done:

1. Move window->invalidate_for_new_frame to glcontext->begin_frame
This moves the code to where it is used (the GLContext) and prepares it
for being called where it is used when actually beginning to draw the
frame.

2. Get rid of buffer-age usage
We want to let the application render directly to the backbuffer.
Because of that, we cannot make any assumptions about the contents the
application renders outside the clip area.
In particular GskGLRenderer renders random stuff there but not actual
contents.

3. Pass the actual GL context
Previously, we passed the shared context to end_frame, now we pass the
actual GL context that the application uses for rendering. This is so
that the vfuncs could prepare the actual contexts for rendering (they
don't currently).

4. Simplify the code
The previous code set up the final drawing method in begin_frame.
Instead, we now just ensure the clip area is something we can render
and decide on the actual method in end_frame.
This is both more robust (we can change the clip area in between if we
want to) and less code.
2016-12-05 15:02:47 +01:00
..
rc W32: Fix malformed svg file 2016-11-04 13:36:34 +00:00
bdfcursor.c GDK-W32: remove trailing whitespace everywhere 2015-04-29 21:12:14 +00:00
cursor.bdf Committing changes to the source bdf font file that I forgot to commit 2007-08-17 03:40:39 +00:00
gdkcursor-win32.c win32: Make cursor code work without _gdk_display 2016-02-11 03:44:47 +01:00
gdkdevice-virtual.c win32: fix "unused variable" warning 2016-03-05 20:31:10 +01:00
gdkdevice-virtual.h GDK-Win32: Ensure sources use UNIX line endings 2013-12-04 08:57:43 +08:00
gdkdevice-win32.c GDK-Win32/4.0: Enable HiDPI support for Windows 2016-11-04 18:14:48 +08:00
gdkdevice-win32.h W32: avoid code duplication in gdkdevice-win32|virtual 2015-12-22 09:31:56 +01:00
gdkdevice-wintab.c GDK-Win32/4.0: Enable HiDPI support for Windows 2016-11-04 18:14:48 +08:00
gdkdevice-wintab.h win32: Fix up wintab support 2012-04-03 11:37:42 +02:00
gdkdevicemanager-win32.c wintab: init only after the display is assigned 2016-11-22 12:50:32 +01:00
gdkdevicemanager-win32.h win32: Stop using _gdk_display global in device code 2016-02-11 03:44:47 +01:00
gdkdisplay-win32.c API: Remove gdk_window_process_all_updates() 2016-11-23 19:10:34 +01:00
gdkdisplay-win32.h GDK-Win32/4.0: Enable HiDPI support for Windows 2016-11-04 18:14:48 +08:00
gdkdisplaymanager-win32.c win32: Call windowing init from display_class_init() 2013-05-02 15:36:41 +02:00
gdkdnd-win32.c Drop support for offscreen GdkWindows 2016-10-25 09:54:37 +02:00
gdkevents-win32.c GDK-Win32/4.0: Enable HiDPI support for Windows 2016-11-04 18:14:48 +08:00
gdkgeometry-win32.c GDK-Win32/4.0: Enable HiDPI support for Windows 2016-11-04 18:14:48 +08:00
gdkglcontext-win32.c gdk: Large GL refactoring 2016-12-05 15:02:47 +01:00
gdkglcontext-win32.h gdk: Large GL refactoring 2016-12-05 15:02:47 +01:00
gdkglobals-win32.c Win32: fold the gdkinput.c file in gdkdisplay-win32.c 2016-02-22 21:45:08 +01:00
gdkkeys-win32.c GDK W32: Remove obsolete assertions 2016-08-26 20:46:27 +00:00
gdkmain-win32.c win32: remove an unused func operating on GdkColor 2016-11-14 14:11:36 -05:00
gdkmonitor-win32.c GDK-Win32/4.0: Enable HiDPI support for Windows 2016-11-04 18:14:48 +08:00
gdkmonitor-win32.h win32: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkprivate-win32.h win32: remove an unused func operating on GdkColor 2016-11-14 14:11:36 -05:00
gdkproperty-win32.c GDK W32: Optimize clipboard handling a bit 2016-03-26 00:03:50 +00:00
gdkscreen-win32.c gdkscreen-win32.c: Also define _WIN32_WINNT 2016-11-11 21:06:01 +08:00
gdkselection-win32.c GDK W32: Optimize clipboard handling a bit 2016-03-26 00:03:50 +00:00
gdktestutils-win32.c win32: provide an implementation for gdk_test_simulate_key(). 2014-09-22 21:22:33 -04:00
gdkwin32.h win32: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkwin32cursor.h GDK-W32: remove trailing whitespace everywhere 2015-04-29 21:12:14 +00:00
gdkwin32display.h win32: use the same parameter name as the implementation 2015-10-08 18:07:49 +02:00
gdkwin32displaymanager.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkwin32dnd.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkwin32glcontext.h Add OpenGL Support for the GDK Windows Backend 2014-12-17 16:07:02 +08:00
gdkwin32id.c GDK-W32: remove trailing whitespace everywhere 2015-04-29 21:12:14 +00:00
gdkwin32keys.h W32: Prefer the deadkey combinations that the OS uses 2016-08-04 16:37:19 +00:00
gdkwin32misc.h GDK/GTK on Windows: Fix build 2013-08-26 10:29:23 +08:00
gdkwin32monitor.h win32: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkwin32screen.h GDK-W32: remove trailing whitespace everywhere 2015-04-29 21:12:14 +00:00
gdkwin32window.h GDK-W32: remove trailing whitespace everywhere 2015-04-29 21:12:14 +00:00
gdkwindow-win32.c gdk: Large GL refactoring 2016-12-05 15:02:47 +01:00
gdkwindow-win32.h API: gdk: Remove gdk_window_set_override_redirect() 2016-11-05 03:32:27 +01:00
libwntab32x.la Add headers. Add section about ActiveIMM. 2001-11-08 20:57:18 +00:00
Makefile.am gdk: Make GdkDrawingContext not per-backend 2016-11-30 15:52:22 +01:00
makefile.msc win32: move gdkvisual code in gdkscreen 2016-02-28 11:37:38 +01:00
pktdef.h Build Wintab support always on Windows. Don't require the Wintab SDK. 2007-01-19 01:55:52 +00: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 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 23:21:36 +00:00