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




commit 932624b7b61e864e6d45e229bd8c31122f8aa060
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]