[gtk/wip/baedert/gl-rework] gl renderer: Mark beginning of frame is DEBUG_OPS is set



commit 9b07bb3492d68b54243baa6ade3cd5eb9da08b7d
Author: Timm Bäder <mail baedert org>
Date:   Mon Dec 16 07:34:35 2019 +0100

    gl renderer: Mark beginning of frame is DEBUG_OPS is set

 gsk/gl/gskglrenderer.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index 8366913e13..063384f532 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -3277,6 +3277,9 @@ gsk_gl_renderer_render_ops (GskGLRenderer *self)
   gpointer ptr;
   GLuint buffer_id, vao_id;
 
+#if DEBUG_OPS
+  g_print ("============================================\n");
+#endif
 
   glGenVertexArrays (1, &vao_id);
   glBindVertexArray (vao_id);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]