summaryrefslogtreecommitdiff
path: root/gdk/gdkglobals.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-03-11 01:10:37 +0100
committerBenjamin Otte <otte@redhat.com>2011-03-11 02:10:47 +0100
commit2a2ad8523fe5d647fbb088d0872d7058b708a106 (patch)
treeab106a3c532c01c002bffb32b132d4604cad22af /gdk/gdkglobals.c
parenta55b59fef35af3fa86d6b6279f92ca2e3a124252 (diff)
downloadgtk+-2a2ad8523fe5d647fbb088d0872d7058b708a106.tar.gz
gdk: Add GDK_RENDERING environment variable
It's useful for debugging rendering issues, both correctness and performance wise. See the added documentation for what it does and how it works.
Diffstat (limited to 'gdk/gdkglobals.c')
-rw-r--r--gdk/gdkglobals.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdk/gdkglobals.c b/gdk/gdkglobals.c
index 32a02533fe..a9b642997e 100644
--- a/gdk/gdkglobals.c
+++ b/gdk/gdkglobals.c
@@ -27,14 +27,13 @@
#include "config.h"
#include "gdktypes.h"
-#include "gdkprivate.h"
+#include "gdkinternals.h"
#include <stdio.h>
-
guint _gdk_debug_flags = 0;
GList *_gdk_default_filters = NULL;
gchar *_gdk_display_name = NULL;
gchar *_gdk_display_arg_name = NULL;
gboolean _gdk_disable_multidevice = FALSE;
-
+GdkRenderingMode _gdk_rendering_mode = GDK_RENDERING_MODE_SIMILAR;