summaryrefslogtreecommitdiff
path: root/gsk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-07-19 21:21:41 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-07-20 07:03:08 -0400
commit5df13562957277977cf0a7688c153d58be9e74d3 (patch)
treec8ca22938da6e3b22393c879fb532ec30d667cdd /gsk
parent95fc81c565153a68f763133e853599ec1a043326 (diff)
downloadgtk+-5df13562957277977cf0a7688c153d58be9e74d3.tar.gz
gsk: Remove an unused debug flag
GSK_DEBUG_DIFF was not used anywhere, so remove it.
Diffstat (limited to 'gsk')
-rw-r--r--gsk/gskdebug.c3
-rw-r--r--gsk/gskdebugprivate.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/gsk/gskdebug.c b/gsk/gskdebug.c
index 68674b7fed..3538cec0e5 100644
--- a/gsk/gskdebug.c
+++ b/gsk/gskdebug.c
@@ -11,8 +11,7 @@ static const GdkDebugKey gsk_debug_keys[] = {
{ "surface", GSK_DEBUG_SURFACE, "Information about surfaces" },
{ "fallback", GSK_DEBUG_FALLBACK, "Information about fallbacks" },
{ "glyphcache", GSK_DEBUG_GLYPH_CACHE, "Information about glyph caching" },
- { "diff", GSK_DEBUG_DIFF, "Show differences" },
- { "geometry", GSK_DEBUG_GEOMETRY, "Show borders" },
+ { "geometry", GSK_DEBUG_GEOMETRY, "Show borders (when using cairo)" },
{ "full-redraw", GSK_DEBUG_FULL_REDRAW, "Force full redraws" },
{ "sync", GSK_DEBUG_SYNC, "Sync after each frame" },
{ "vulkan-staging-image", GSK_DEBUG_VULKAN_STAGING_IMAGE, "Use a staging image for Vulkan texture upload" },
diff --git a/gsk/gskdebugprivate.h b/gsk/gskdebugprivate.h
index acf9bf7547..345c1555ab 100644
--- a/gsk/gskdebugprivate.h
+++ b/gsk/gskdebugprivate.h
@@ -14,7 +14,6 @@ typedef enum {
GSK_DEBUG_VULKAN = 1 << 5,
GSK_DEBUG_FALLBACK = 1 << 6,
GSK_DEBUG_GLYPH_CACHE = 1 << 7,
- GSK_DEBUG_DIFF = 1 << 8,
/* flags below may affect behavior */
GSK_DEBUG_GEOMETRY = 1 << 9,
GSK_DEBUG_FULL_REDRAW = 1 << 10,