[gtk+/wip/ebassi/gsk-renderer: 130/194] gsk: Add texture size to debug message
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/ebassi/gsk-renderer: 130/194] gsk: Add texture size to debug message
- Date: Wed, 24 Aug 2016 10:17:13 +0000 (UTC)
commit 9e82676aae9fcaf6d761e6b7e535c5dbd609b28b
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Jul 28 16:20:26 2016 +0100
gsk: Add texture size to debug message
gsk/gskglrenderer.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gsk/gskglrenderer.c b/gsk/gskglrenderer.c
index f4e1d57..093ed46 100644
--- a/gsk/gskglrenderer.c
+++ b/gsk/gskglrenderer.c
@@ -411,9 +411,10 @@ render_item (GskGLRenderer *self,
glUniformMatrix4fv (item->render_data.mvp_location, 1, GL_FALSE, mvp);
/* Draw the quad */
- GSK_NOTE (OPENGL, g_print ("Drawing item <%s>[%p] with opacity: %g\n",
+ GSK_NOTE (OPENGL, g_print ("Drawing item <%s>[%p] (w:%g, h:%g) with opacity: %g\n",
item->name,
item,
+ item->size.width, item->size.height,
item->opaque ? 1 : item->opacity));
glDrawArrays (GL_TRIANGLES, 0, N_VERTICES);
@@ -459,9 +460,10 @@ render_item (GskGLRenderer *self,
glUniformMatrix4fv (item->render_data.mvp_location, 1, GL_FALSE, mvp);
/* Draw the quad */
- GSK_NOTE (OPENGL, g_print ("Drawing offscreen item <%s>[%p] with opacity: %g\n",
+ GSK_NOTE (OPENGL, g_print ("Drawing offscreen item <%s>[%p] (w:%g, h:%g) with opacity: %g\n",
item->name,
item,
+ item->size.width, item->size.height,
item->opacity));
glDrawArrays (GL_TRIANGLES, 0, N_VERTICES);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]