From fb7f87618a9a9a9de8a0318c39e88534b3d0072f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 23 Mar 2022 17:55:10 -0400 Subject: [PATCH] Add a debug key for paths Not used yet. --- gsk/gskdebug.c | 1 + gsk/gskdebugprivate.h | 1 + 2 files changed, 2 insertions(+) diff --git a/gsk/gskdebug.c b/gsk/gskdebug.c index 83a3619fe7..bb5d6dd6e0 100644 --- a/gsk/gskdebug.c +++ b/gsk/gskdebug.c @@ -10,6 +10,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" }, + { "paths", GSK_DEBUG_PATHS, "Information about path processing" }, { "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" }, diff --git a/gsk/gskdebugprivate.h b/gsk/gskdebugprivate.h index 345c1555ab..1845d69449 100644 --- a/gsk/gskdebugprivate.h +++ b/gsk/gskdebugprivate.h @@ -14,6 +14,7 @@ typedef enum { GSK_DEBUG_VULKAN = 1 << 5, GSK_DEBUG_FALLBACK = 1 << 6, GSK_DEBUG_GLYPH_CACHE = 1 << 7, + GSK_DEBUG_PATHS = 1 << 8, /* flags below may affect behavior */ GSK_DEBUG_GEOMETRY = 1 << 9, GSK_DEBUG_FULL_REDRAW = 1 << 10,