[gtk+] vulkan: Add more debug spew
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] vulkan: Add more debug spew
- Date: Sun, 3 Sep 2017 16:01:22 +0000 (UTC)
commit 2101f26b4922b131895828ed668c0900e8182c3b
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Sep 3 11:34:41 2017 -0400
vulkan: Add more debug spew
gsk/gskvulkanrenderpass.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gsk/gskvulkanrenderpass.c b/gsk/gskvulkanrenderpass.c
index 7b49b18..b5bab5f 100644
--- a/gsk/gskvulkanrenderpass.c
+++ b/gsk/gskvulkanrenderpass.c
@@ -443,6 +443,14 @@ gsk_vulkan_render_pass_upload_fallback (GskVulkanRenderPass *self,
node = op->node;
+ GSK_NOTE (FALLBACK,
+ g_print ("Upload op=%s, node %s[%p], bounds %gx%g\n",
+ op->type == GSK_VULKAN_OP_FALLBACK_CLIP ? "fallback-clip" :
+ (op->type == GSK_VULKAN_OP_FALLBACK_ROUNDED_CLIP ? "fallback-rounded-clip" :
"fallback"),
+ node->name ? node->name : node->node_class->type_name, node,
+ ceil (node->bounds.size.width),
+ ceil (node->bounds.size.height)));
+
/* XXX: We could intersect bounds with clip bounds here */
surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
ceil (node->bounds.size.width),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]