gtk2/gdk/win32
Benjamin Otte 813e9c95fb gdk: Add Cairo context implementations for all backends
And make the GdkCairoContext as abstract.

The idea of this and thje following commits is to get rid of all
Cairo code in gdksurface.c (and $backend/gdksurface-$backend.c)
by moving that code into the Cairo context files.
In particular, the GdkSurfaceClass.begin_frame/end_frame()
functions (which are currently exclusively used by the Cairo code
should end up being moved to GdkDrawContextClass.begin/end_frame().

This has multiple benefits:

1. It unifies code between the different drawing contexts.
   GL lives in GLContext, Vulkan in VulkanContext and Cairo in
   CairoContext. In turn, this makes it way easier to reason about
   what's going on in surface-specific code. Currently pretty much
   all backends do things wrong when they want to sync to drawing
   or to the frame clock.

2. It makes the API of GdkSurface smaller. No drawing code (apart
   from creating the contexts) needs to remain.

3. It confines Cairo to the Drawcontext, thereby making it way
   more obvious when backends are still using it in situations
   where it may now conflict with OpenGL (like when doing the dnd
   failed animation or in the APIs that I'm removing in this
   branch).

4. We have 2 very different types of Cairo contexts: The X/win32
   model, where we have a natively supported Cairo backend but do
   double buffering ourselves and use similar surfaces and the
   Wayland/Broadway model where we use image surfaces without any
   Cairo backend support and have to submit the buffers manually.
   By not sharing code between those 2 versions, we can make the
   actual code way smaller. We also get around the need to create
   1x1 image surfaces in the Wayland backend where we pretend
   there's a native Cairo surface.
2018-04-24 23:16:12 +02:00
..
rc Drop Autotools build 2017-08-14 22:23:09 +01: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
gdkcairocontext-win32.c gdk: Add Cairo context implementations for all backends 2018-04-24 23:16:12 +02:00
gdkcairocontext-win32.h gdk: Add Cairo context implementations for all backends 2018-04-24 23:16:12 +02:00
gdkclipboard-win32.c GDK W32: gdk_content_formats_builder_free{,_to_formats} 2018-03-29 17:43:59 +00:00
gdkclipboard-win32.h GDK W32: Another massive clipboard and DnD update 2018-03-29 17:43:53 +00:00
gdkclipdrop-win32.c GDK W32: Another massive clipboard and DnD update 2018-03-29 17:43:53 +00:00
gdkclipdrop-win32.h GDK W32: Another massive clipboard and DnD update 2018-03-29 17:43:53 +00:00
gdkcursor-win32.c GDK W32: Fix a missing weak referencing 2018-04-11 16:39:34 +00:00
gdkdevice-virtual.c GDK W32: Remember surface cursor, implicit surface grab 2018-03-29 23:59:31 +00:00
gdkdevice-virtual.h GDK-Win32: Ensure sources use UNIX line endings 2013-12-04 08:57:43 +08:00
gdkdevice-win32.c GdkSurface: Rename various functions and variables 2018-03-20 12:05:26 +01:00
gdkdevice-win32.h GdkWindow -> GdkSurface initial type rename 2018-03-20 11:40:08 +01:00
gdkdevice-wintab.c GdkSurface: Rename various functions and variables 2018-03-20 12:05:26 +01:00
gdkdevice-wintab.h GdkWindow -> GdkSurface initial type rename 2018-03-20 11:40:08 +01:00
gdkdevicemanager-win32.c GDK W32: Adapt to the window->surface change 2018-03-29 17:44:00 +00:00
gdkdevicemanager-win32.h GdkWindow -> GdkSurface initial type rename 2018-03-20 11:40:08 +01:00
gdkdisplay-win32.c gdk: Add Cairo context implementations for all backends 2018-04-24 23:16:12 +02:00
gdkdisplay-win32.h GDK W32: Use the new cursor class 2018-03-29 23:59:23 +00:00
gdkdisplaymanager-win32.c win32: Call windowing init from display_class_init() 2013-05-02 15:36:41 +02:00
gdkdnd-win32.c GDK W32: adapt to GdkDragProtocol removal 2018-03-29 17:43:54 +00:00
gdkdrag-win32.c GDK W32: Don't use gdk_threads_add_timeout_full() 2018-03-29 17:43:58 +00:00
gdkdrop-win32.c GDK W32: gdk_content_formats_builder_free{,_to_formats} 2018-03-29 17:43:59 +00:00
gdkevents-win32.c GDK W32: Remember surface cursor, implicit surface grab 2018-03-29 23:59:31 +00:00
gdkgeometry-win32.c GdkSurface: Rename various functions and variables 2018-03-20 12:05:26 +01:00
gdkglcontext-win32.c gdkglcontext-win32.c: Fix window->surface changes 2018-03-29 13:25:12 +08:00
gdkglcontext-win32.h GdkWindow -> GdkSurface: File renames 2018-03-20 11:46:11 +01:00
gdkglobals-win32.c GDK W32: Another massive clipboard and DnD update 2018-03-29 17:43:53 +00:00
gdkhdataoutputstream-win32.c GDK W32: Another massive clipboard and DnD update 2018-03-29 17:43:53 +00:00
gdkhdataoutputstream-win32.h GDK W32: Another massive clipboard and DnD update 2018-03-29 17:43:53 +00:00
gdkkeys-win32.c GDK W32: drop the use of gdk_keymap_get_default() 2018-03-28 16:10:38 +08:00
gdkmain-win32.c GDK W32: adapt to GdkDragProtocol removal 2018-03-29 17:43:54 +00:00
gdkmonitor-win32.c GdkSurface: Rename various functions and variables 2018-03-20 12:05:26 +01:00
gdkmonitor-win32.h win32: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkprivate-win32.h GDK W32: Use the new cursor class 2018-03-29 23:59:23 +00:00
gdkproperty-win32.c gdk: Remove properties 2017-12-14 03:05:34 +01:00
gdkscreen-win32.c GdkSurface: Rename various functions and variables 2018-03-20 12:05:26 +01:00
gdkselection-win32.c GDK W32: Adapt DnD event putting to recent changes 2018-03-24 10:59:02 +00:00
gdkselection-win32.h GdkWindow -> GdkSurface initial type rename 2018-03-20 11:40:08 +01:00
gdksurface-win32.c GDK W32: use clock after_paint signal for timing updates 2018-04-09 20:21:16 +00:00
gdksurface-win32.h GDK W32: Use the new cursor class 2018-03-29 23:59:23 +00:00
gdkvulkancontext-win32.c GdkSurface: Rename various functions and variables 2018-03-20 12:05:26 +01:00
gdkvulkancontext-win32.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwin32.h GdkWindow -> GdkSurface: File renames 2018-03-20 11:46:11 +01:00
gdkwin32cursor.h GDK W32: New cursor class 2018-03-29 23:59:14 +00:00
gdkwin32display.h GDK W32: Use the new cursor class 2018-03-29 23:59:23 +00:00
gdkwin32displaymanager.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkwin32dnd-private.h GDK W32: adapt to GdkDragProtocol removal 2018-03-29 17:43:54 +00:00
gdkwin32dnd.h GDK W32: Another massive clipboard and DnD update 2018-03-29 17:43:53 +00:00
gdkwin32glcontext.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwin32id.c GDK-W32: remove trailing whitespace everywhere 2015-04-29 21:12:14 +00:00
gdkwin32keys.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwin32misc.h Fix up indentation after GdkSurface rename 2018-03-21 09:06:31 +01:00
gdkwin32monitor.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwin32screen.h win32: Make GdkWin32Screen a plain object 2017-11-17 13:47:14 -05:00
gdkwin32surface.h GdkWindow -> GdkSurface: File renames 2018-03-20 11:46:11 +01:00
libwntab32x.la Add headers. Add section about ActiveIMM. 2001-11-08 20:57:18 +00:00
meson.build gdk: Add Cairo context implementations for all backends 2018-04-24 23:16:12 +02: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