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



commit 1d3a24a85b702ba0e7589e051dfc75f53149268c
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 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]