[gtk/wip/chergert/glproto: 32/493] setup texture library frame ends




commit d622a4d857e8b39b06a35d2270ffca1ea5905851
Author: Christian Hergert <chergert redhat com>
Date:   Sat Dec 19 14:47:44 2020 -0800

    setup texture library frame ends

 gsk/next/gskgldriver.c | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/gsk/next/gskgldriver.c b/gsk/next/gskgldriver.c
index 0fde92af53..442c3e67dc 100644
--- a/gsk/next/gskgldriver.c
+++ b/gsk/next/gskgldriver.c
@@ -176,6 +176,10 @@ gsk_next_driver_begin_frame (GskNextDriver *self)
 
   self->in_frame = TRUE;
 
+  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);
 }
 
@@ -187,6 +191,10 @@ gsk_next_driver_end_frame (GskNextDriver *self)
 
   gsk_gl_command_queue_end_frame (self->command_queue);
 
+  gsk_gl_texture_library_end_frame (GSK_GL_TEXTURE_LIBRARY (self->icons));
+  gsk_gl_texture_library_end_frame (GSK_GL_TEXTURE_LIBRARY (self->glyphs));
+  gsk_gl_texture_library_end_frame (GSK_GL_TEXTURE_LIBRARY (self->shadows));
+
   self->in_frame = FALSE;
 }
 


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