From 01d16524da15cf430844d5a6dd7241304e9142f1 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 17 Jan 2017 06:38:36 +0100 Subject: [PATCH] vulkan: Add fallback message for node-as-texture This is mainly to motivate me to implement it. --- gsk/gskvulkanrenderpass.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gsk/gskvulkanrenderpass.c b/gsk/gskvulkanrenderpass.c index 619a1172b3..4d2d50270f 100644 --- a/gsk/gskvulkanrenderpass.c +++ b/gsk/gskvulkanrenderpass.c @@ -369,6 +369,10 @@ gsk_vulkan_render_pass_get_node_as_texture (GskVulkanRenderPass *self, } } + GSK_NOTE (FALLBACK, g_print ("Node as texture not implemented. Using %gx%g fallback surface\n", + ceil (bounds->size.width), + ceil (bounds->size.height))); + /* XXX: We could intersect bounds with clip bounds here */ surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, ceil (bounds->size.width),