summaryrefslogtreecommitdiff
path: root/gsk
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-01-17 06:38:36 +0100
committerBenjamin Otte <otte@redhat.com>2017-01-17 06:38:36 +0100
commit01d16524da15cf430844d5a6dd7241304e9142f1 (patch)
treeca9924dbfdb7400b7ae3e3f517ad8083a394f0af /gsk
parent6bec7aae89fecb97c42d83ecee70b6888f699d4b (diff)
downloadgtk+-01d16524da15cf430844d5a6dd7241304e9142f1.tar.gz
vulkan: Add fallback message for node-as-texture
This is mainly to motivate me to implement it.
Diffstat (limited to 'gsk')
-rw-r--r--gsk/gskvulkanrenderpass.c4
1 files changed, 4 insertions, 0 deletions
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),