diff options
author | Alexander Larsson <alexl@redhat.com> | 2018-04-24 16:05:28 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-04-24 23:24:55 +0200 |
commit | 8c5d31d11d66d432faf954891acdbc16e01e7fbd (patch) | |
tree | 78379118e323a1dbbbbabb0e990e9461deffdd11 /gsk | |
parent | b554f4be207fc450179fd7d31c318dc3af3e4bc4 (diff) | |
download | gtk+-8c5d31d11d66d432faf954891acdbc16e01e7fbd.tar.gz |
broadway: Handle offset nodes
Diffstat (limited to 'gsk')
-rw-r--r-- | gsk/gskbroadwayrenderer.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gsk/gskbroadwayrenderer.c b/gsk/gskbroadwayrenderer.c index 267864fbee..d402cdd831 100644 --- a/gsk/gskbroadwayrenderer.c +++ b/gsk/gskbroadwayrenderer.c @@ -580,6 +580,15 @@ gsk_broadway_renderer_add_node (GskRenderer *renderer, /* Bin nodes */ + case GSK_OFFSET_NODE: + { + gsk_broadway_renderer_add_node (renderer, nodes, node_textures, + gsk_offset_node_get_child (node), + offset_x - gsk_offset_node_get_x_offset (node), + offset_y - gsk_offset_node_get_y_offset (node)); + } + return; + case GSK_SHADOW_NODE: { gsize i, n_shadows = gsk_shadow_node_get_n_shadows (node); @@ -656,7 +665,6 @@ gsk_broadway_renderer_add_node (GskRenderer *renderer, case GSK_COLOR_MATRIX_NODE: case GSK_TEXT_NODE: case GSK_REPEATING_LINEAR_GRADIENT_NODE: - case GSK_OFFSET_NODE: case GSK_TRANSFORM_NODE: case GSK_REPEAT_NODE: case GSK_BLEND_NODE: |