[gtk/wip/chergert/glproto: 402/526] specify clear bits in debug output




commit c8ba8ca4bea3ee460ac5170452239228ac54cd8f
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]