[gtk+/wip/ebassi/gsk-renderer: 187/194] Add blend mode to debug spew
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/ebassi/gsk-renderer: 187/194] Add blend mode to debug spew
- Date: Wed, 24 Aug 2016 10:22:02 +0000 (UTC)
commit 57817974065707c3729c924f15dfc015a52bed1e
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Aug 13 04:07:38 2016 -0400
Add blend mode to debug spew
gsk/gskglrenderer.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gsk/gskglrenderer.c b/gsk/gskglrenderer.c
index dcdd0cf..7384d04 100644
--- a/gsk/gskglrenderer.c
+++ b/gsk/gskglrenderer.c
@@ -444,12 +444,13 @@ render_item (GskGLRenderer *self,
/* Draw the quad */
GSK_NOTE2 (OPENGL, TRANSFORMS,
- g_print ("%*sDrawing item <%s>[%p] (w:%g, h:%g) with opacity: %g\n",
+ g_print ("%*sDrawing item <%s>[%p] (w:%g, h:%g) with opacity: %g blend mode: %d\n",
2 * node_depth (item->node), "",
item->name,
item,
item->size.width, item->size.height,
- item->opaque ? 1 : item->opacity));
+ item->opaque ? 1 : item->opacity,
+ item->blend_mode));
glDrawArrays (GL_TRIANGLES, 0, N_VERTICES);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]