summaryrefslogtreecommitdiff
path: root/gsk/gskrendernode.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-10-10 07:31:08 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-10-11 16:15:14 -0400
commite296c6a3567bb4090683dc56aadf31703dcf8460 (patch)
tree270c64bb700a3cc959db1eba42514a9253fd42ca /gsk/gskrendernode.h
parent136400e8a29410df38e237d135dd46eba042f76c (diff)
downloadgtk+-e296c6a3567bb4090683dc56aadf31703dcf8460.tar.gz
gsk: Store color bit info in text nodes
Keep the 'has color glyphs' info in text nodes, instead of determining it over and over in both the vulkan and gl backends.
Diffstat (limited to 'gsk/gskrendernode.h')
-rw-r--r--gsk/gskrendernode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h
index 79f0c6a059..876905ebc2 100644
--- a/gsk/gskrendernode.h
+++ b/gsk/gskrendernode.h
@@ -295,6 +295,7 @@ GskRenderNode * gsk_text_node_new (PangoFont
const graphene_point_t *offset);
GDK_AVAILABLE_IN_ALL
PangoFont * gsk_text_node_peek_font (GskRenderNode *node);
+gboolean gsk_text_node_has_color_glyphs (GskRenderNode *node);
GDK_AVAILABLE_IN_ALL
guint gsk_text_node_get_num_glyphs (GskRenderNode *node);
GDK_AVAILABLE_IN_ALL