[gtk/path-work-rebased: 25/149] Add a debug key for paths




commit fb7f87618a9a9a9de8a0318c39e88534b3d0072f
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Mar 23 17:55:10 2022 -0400

    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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]