[gtk/wip/chergert/glproto: 852/920] specify clear bits in debug output




commit 87fea2410b8c9016699466e318492c564a7327dd
Author: Christian Hergert <chergert redhat com>
Date:   Mon Feb 1 22:28:37 2021 -0800

    specify clear bits in debug output

 gsk/next/gskglcommandqueue.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/gsk/next/gskglcommandqueue.c b/gsk/next/gskglcommandqueue.c
index a2e29bef70..eae213eb71 100644
--- a/gsk/next/gskglcommandqueue.c
+++ b/gsk/next/gskglcommandqueue.c
@@ -307,6 +307,10 @@ gsk_gl_command_queue_print_batch (GskGLCommandQueue       *self,
           g_printerr ("\n");
         }
     }
+  else if (batch->any.kind == GSK_GL_COMMAND_KIND_CLEAR)
+    {
+      g_printerr ("         Bits: 0x%x\n", batch->clear.bits);
+    }
 
   g_printerr ("}\n");
 }


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