diff options
Diffstat (limited to 'gsk/gskbroadwayrenderer.c')
-rw-r--r-- | gsk/gskbroadwayrenderer.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gsk/gskbroadwayrenderer.c b/gsk/gskbroadwayrenderer.c index 7a19185c32..0720369078 100644 --- a/gsk/gskbroadwayrenderer.c +++ b/gsk/gskbroadwayrenderer.c @@ -178,10 +178,7 @@ gsk_broadway_renderer_add_node (GskRenderer *self, case GSK_COLOR_NODE: { add_uint32 (nodes, BROADWAY_NODE_COLOR); - add_uint32 (nodes, x); - add_uint32 (nodes, y); - add_uint32 (nodes, width); - add_uint32 (nodes, height); + add_rect (nodes, &node->bounds); add_rgba (nodes, gsk_color_node_peek_color (node)); } return; @@ -222,6 +219,15 @@ gsk_broadway_renderer_add_node (GskRenderer *self, } return; + case GSK_ROUNDED_CLIP_NODE: + { + add_uint32 (nodes, BROADWAY_NODE_ROUNDED_CLIP); + add_rounded_rect (nodes, gsk_rounded_clip_node_peek_clip (node)); + gsk_broadway_renderer_add_node (self, nodes, node_textures, + gsk_rounded_clip_node_get_child (node)); + } + return; + default: { cairo_surface_t *surface; |