Commit 697d0e9e authored by Matthias Clasen's avatar Matthias Clasen Committed by Emmanuele Bassi

Add blend mode to debug spew

parent a21409c6
...@@ -444,12 +444,13 @@ render_item (GskGLRenderer *self, ...@@ -444,12 +444,13 @@ render_item (GskGLRenderer *self,
/* Draw the quad */ /* Draw the quad */
GSK_NOTE2 (OPENGL, TRANSFORMS, 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), "", 2 * node_depth (item->node), "",
item->name, item->name,
item, item,
item->size.width, item->size.height, 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); glDrawArrays (GL_TRIANGLES, 0, N_VERTICES);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment