summaryrefslogtreecommitdiff
path: root/gdk/gdkdisplay.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-01-11 08:53:57 -0500
committerMatthias Clasen <mclasen@redhat.com>2018-01-14 17:05:04 -0500
commitc5fc841285f9ab7939e7f1a01146780b47c4be3b (patch)
treefc7bc8ddeb228fccb05a04dcc33fc82edfa076f4 /gdk/gdkdisplay.c
parentaf7f69506882b92187bbdea21a62753903114392 (diff)
downloadgtk+-c5fc841285f9ab7939e7f1a01146780b47c4be3b.tar.gz
gdk: Reorganize env vars
Drop GDK_GL, GDK_VULKAN and GDK_RENDERING_MODE. Merge the useful bits into GDK_DEBUG. Drop unused debug flags (CURSOR).
Diffstat (limited to 'gdk/gdkdisplay.c')
-rw-r--r--gdk/gdkdisplay.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index d8b3c05989..aff7577083 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -379,7 +379,7 @@ gdk_display_init (GdkDisplay *display)
display->pointers_info = g_hash_table_new_full (NULL, NULL, NULL,
(GDestroyNotify) free_pointer_info);
- display->rendering_mode = _gdk_rendering_mode;
+ display->debug_flags = _gdk_debug_flags;
display->composited = TRUE;
display->rgba = TRUE;
@@ -1502,17 +1502,17 @@ gdk_display_make_gl_context_current (GdkDisplay *display,
return GDK_DISPLAY_GET_CLASS (display)->make_gl_context_current (display, context);
}
-GdkRenderingMode
-gdk_display_get_rendering_mode (GdkDisplay *display)
+GdkDebugFlags
+gdk_display_get_debug_flags (GdkDisplay *display)
{
- return display->rendering_mode;
+ return display->debug_flags;
}
void
-gdk_display_set_rendering_mode (GdkDisplay *display,
- GdkRenderingMode mode)
+gdk_display_set_debug_flags (GdkDisplay *display,
+ GdkDebugFlags flags)
{
- display->rendering_mode = mode;
+ display->debug_flags = flags;
}
/**