[gtk] gl renderer: Mark beginning of frame if DEBUG_OPS is set



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

    gl renderer: Mark beginning of frame if 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 8107a34dd6..e7f4234576 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -3278,6 +3278,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]