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
cursor.bdf
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
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
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
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
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
meson.build gdk: Add Cairo context implementations for all backends 2018-04-24 23:16:12 +02:00
pktdef.h
wintab.h
xcursors.h