[gtk/wip/chergert/glproto: 32/94] setup command queue before libraries




commit 39c06b5685daad89b8e6e7f59b37e9bff5cd3812
Author: Christian Hergert <chergert redhat com>
Date:   Sun Dec 20 11:18:58 2020 -0800

    setup command queue before libraries

 gsk/next/gskgldriver.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gsk/next/gskgldriver.c b/gsk/next/gskgldriver.c
index 442c3e67dc..1d4a3bc541 100644
--- a/gsk/next/gskgldriver.c
+++ b/gsk/next/gskgldriver.c
@@ -176,11 +176,12 @@ gsk_next_driver_begin_frame (GskNextDriver *self)
 
   self->in_frame = TRUE;
 
+  gsk_gl_command_queue_make_current (self->command_queue);
+  gsk_gl_command_queue_begin_frame (self->command_queue);
+
   gsk_gl_texture_library_begin_frame (GSK_GL_TEXTURE_LIBRARY (self->icons));
   gsk_gl_texture_library_begin_frame (GSK_GL_TEXTURE_LIBRARY (self->glyphs));
   gsk_gl_texture_library_begin_frame (GSK_GL_TEXTURE_LIBRARY (self->shadows));
-
-  gsk_gl_command_queue_begin_frame (self->command_queue);
 }
 
 void


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