gdk: Add GDK_DEBUG=nogl

This is mostly useful for fallback testing.

I suppose if people want finer grained GL ability testing, they can use
Mesa environment variables to tune things.
This commit is contained in:
Benjamin Otte
2014-10-16 03:13:45 +02:00
parent 8a7bd5cc00
commit 672a67d0af
4 changed files with 15 additions and 1 deletions

View File

@ -85,7 +85,8 @@ typedef enum {
GDK_DEBUG_EVENTLOOP = 1 << 10,
GDK_DEBUG_FRAMES = 1 << 11,
GDK_DEBUG_SETTINGS = 1 << 12,
GDK_DEBUG_OPENGL = 1 << 13
GDK_DEBUG_NOGL = 1 << 13,
GDK_DEBUG_OPENGL = 1 << 14
} GdkDebugFlag;
typedef enum {