[gtk/wip/chergert/glproto: 102/526] setup command queue before libraries
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 102/526] setup command queue before libraries
- Date: Tue, 16 Feb 2021 01:14:26 +0000 (UTC)
commit 39174d50cb0ea448f3edec9fe07fecdaf552996d
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]