[gtk/wip/chergert/glproto: 552/920] setup command queue before libraries
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 552/920] setup command queue before libraries
- Date: Mon, 8 Feb 2021 19:15:27 +0000 (UTC)
commit a04a092fdb6854654048114cea22594576746409
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]