diff options
author | Benjamin Otte <otte@redhat.com> | 2018-03-28 00:34:23 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-04-05 14:56:38 +0200 |
commit | a6079b9b7b3bedb96521ea91b03e41f6206a85ef (patch) | |
tree | 99c62cb27b19fce9313865a28b3baa1589a6c684 /gsk/gskdebug.c | |
parent | c0db4091cf7c1a052173852b935b6b46e1e11dbf (diff) | |
download | gtk+-a6079b9b7b3bedb96521ea91b03e41f6206a85ef.tar.gz |
gsk: Implement gsk_render_node_diff()
This includes a copy of the diff(1) algorithm used by git diff by Davide
Libenzi.
It's used for the common case ofcontainer nodes having only very few
changes for the few nodes of child widgets that changed (like a button
lighting up when hilighted or a spinning spinner).
Diffstat (limited to 'gsk/gskdebug.c')
-rw-r--r-- | gsk/gskdebug.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gsk/gskdebug.c b/gsk/gskdebug.c index 40a7969c81..4a347b3563 100644 --- a/gsk/gskdebug.c +++ b/gsk/gskdebug.c @@ -10,6 +10,7 @@ static const GDebugKey gsk_debug_keys[] = { { "vulkan", GSK_DEBUG_VULKAN }, { "fallback", GSK_DEBUG_FALLBACK }, { "glyphcache", GSK_DEBUG_GLYPH_CACHE }, + { "diff", GSK_DEBUG_DIFF }, { "geometry", GSK_DEBUG_GEOMETRY }, { "full-redraw", GSK_DEBUG_FULL_REDRAW}, { "sync", GSK_DEBUG_SYNC }, |