diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-11-10 14:39:57 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-11-10 14:39:57 -0500 |
commit | 5536d9bcde711045393db7f94d4de309020b0f09 (patch) | |
tree | 9a32724bed9e02aed7aa5d3d01f5efa65df29ffe /gdk/gdk-private.h | |
parent | 8338b7e4cdc5702f74bfdc239e584f23cb1223ef (diff) | |
download | gtk+-5536d9bcde711045393db7f94d4de309020b0f09.tar.gz |
gdk: Add private API for rendering mode
This will be used to expose rendering mode in the inspector.
Diffstat (limited to 'gdk/gdk-private.h')
-rw-r--r-- | gdk/gdk-private.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gdk/gdk-private.h b/gdk/gdk-private.h index 290160d156..9a012e0cdd 100644 --- a/gdk/gdk-private.h +++ b/gdk/gdk-private.h @@ -23,6 +23,10 @@ void gdk_gl_set_flags (GdkGLFlags flags); void gdk_window_freeze_toplevel_updates (GdkWindow *window); void gdk_window_thaw_toplevel_updates (GdkWindow *window); +GdkRenderingMode gdk_display_get_rendering_mode (GdkDisplay *display); +void gdk_display_set_rendering_mode (GdkDisplay *display, + GdkRenderingMode mode); + typedef struct { /* add all private functions here, initialize them in gdk-private.c */ gboolean (* gdk_device_grab_info) (GdkDisplay *display, @@ -34,10 +38,16 @@ typedef struct { void (* gdk_add_option_entries) (GOptionGroup *group); void (* gdk_pre_parse) (void); + GdkGLFlags (* gdk_gl_get_flags) (void); - void (* gdk_gl_set_flags) (GdkGLFlags flags); + void (* gdk_gl_set_flags) (GdkGLFlags flags); + void (* gdk_window_freeze_toplevel_updates) (GdkWindow *window); void (* gdk_window_thaw_toplevel_updates) (GdkWindow *window); + + GdkRenderingMode (* gdk_display_get_rendering_mode) (GdkDisplay *display); + void (* gdk_display_set_rendering_mode) (GdkDisplay *display, + GdkRenderingMode mode); } GdkPrivateVTable; GDK_AVAILABLE_IN_ALL |