[gtk/wip/chergert/glproto: 35/69] setup texture library frame ends
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 35/69] setup texture library frame ends
- Date: Mon, 28 Dec 2020 17:17:18 +0000 (UTC)
commit 8be32f3c804e53f7a9a946662097a39fecf55f81
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]