summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-03-23 17:55:10 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-04-06 23:47:35 -0400
commitffc5fdb9deb6de2f3fcdb832aca18f43e925a840 (patch)
treebeaff17bacf88fe28d79cc1f57470389ef6fadf9
parente88cf3464277b626b7b6146149f9dc8b8c55f818 (diff)
downloadgtk+-ffc5fdb9deb6de2f3fcdb832aca18f43e925a840.tar.gz
Add a debug key for paths
Not used yet.
-rw-r--r--gsk/gskdebug.c1
-rw-r--r--gsk/gskdebugprivate.h1
2 files changed, 2 insertions, 0 deletions
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,