[gtk/wip/chergert/glproto] add number of vertices in draw



commit 9a0657298d79a2bb8ecb48aa26fad09ec11d71f6
Author: Christian Hergert <chergert redhat com>
Date:   Mon Feb 1 22:30:53 2021 -0800

    add number of vertices in draw

 gsk/next/gskglcommandqueue.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gsk/next/gskglcommandqueue.c b/gsk/next/gskglcommandqueue.c
index 3111d599c5..19cbc5dd0d 100644
--- a/gsk/next/gskglcommandqueue.c
+++ b/gsk/next/gskglcommandqueue.c
@@ -290,6 +290,7 @@ gsk_gl_command_queue_print_batch (GskGLCommandQueue       *self,
   if (batch->any.kind == GSK_GL_COMMAND_KIND_DRAW)
     {
       g_printerr ("      Program: %d\n", batch->any.program);
+      g_printerr ("     Vertices: %d\n", batch->draw.vbo_count);
 
       for (guint i = 0; i < batch->draw.bind_count; i++)
         {


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