Also add test to the testsuite for it.
VkMemoryRequirements requirements;
GskVulkanImage *self;
+ g_assert (width > 0 && height > 0);
+
self = g_object_new (GSK_TYPE_VULKAN_IMAGE, NULL);
self->vulkan = g_object_ref (context);
.render.node = node
};
+ if (graphene_rect_get_area (gsk_repeat_node_get_child_bounds (node)) == 0)
+ return TRUE;
+
if (gsk_vulkan_clip_contains_rect (&constants->clip, &node->bounds))
pipeline_type = GSK_VULKAN_PIPELINE_TEXTURE;
else if (constants->clip.type == GSK_VULKAN_CLIP_RECT)
--- /dev/null
+repeat {
+ bounds: 0 0 100 100;
+ child-bounds: 0 0 0 0;
+ child: color {
+ bounds: 0 0 20 20;
+ color: rgb(255,0,0);
+ }
+}
+repeat {
+ bounds: 0 0 100 100;
+ child-bounds: 0 0 20 0;
+ child: color {
+ bounds: 0 0 20 20;
+ color: rgb(0,128,0);
+ }
+}
+repeat {
+ bounds: 0 0 100 100;
+ child-bounds: 0 0 0 20;
+ child: color {
+ bounds: 0 0 20 20;
+ color: rgb(0,0,255);
+ }
+}
'outset_shadow_simple',
'repeat',
'repeat-no-repeat',
+ 'repeat-empty-child-bounds',
'repeat-negative-coords',
'repeat-texture',
'scale-textures-negative-ngl',