[gtk+] vulkan: Add fallback message for node-as-texture
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] vulkan: Add fallback message for node-as-texture
- Date: Tue, 17 Jan 2017 05:39:14 +0000 (UTC)
commit 01d16524da15cf430844d5a6dd7241304e9142f1
Author: Benjamin Otte <otte redhat com>
Date: Tue Jan 17 06:38:36 2017 +0100
vulkan: Add fallback message for node-as-texture
This is mainly to motivate me to implement it.
gsk/gskvulkanrenderpass.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gsk/gskvulkanrenderpass.c b/gsk/gskvulkanrenderpass.c
index 619a117..4d2d502 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),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]