[gtk+/wip/baedert/gl: 41/95] gl renderer: Stop collecting VAOs in clear_tree
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/gl: 41/95] gl renderer: Stop collecting VAOs in clear_tree
- Date: Sun, 10 Dec 2017 21:26:25 +0000 (UTC)
commit 600edb92f24beedd725c6ad3bbf5ab98434b8805
Author: Timm Bäder <mail baedert org>
Date: Thu Nov 23 10:28:30 2017 +0100
gl renderer: Stop collecting VAOs in clear_tree
We don't use that part of the gl driver anymore.
gsk/gl/gskglrenderer.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index 5bc651d..3ad1ff3 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -534,7 +534,7 @@ get_gl_scaling_filters (GskRenderNode *node,
static void
gsk_gl_renderer_clear_tree (GskGLRenderer *self)
{
- int removed_textures, removed_vaos;
+ int removed_textures;
if (self->gl_context == NULL)
return;
@@ -544,11 +544,9 @@ gsk_gl_renderer_clear_tree (GskGLRenderer *self)
g_array_remove_range (self->render_ops, 0, self->render_ops->len);
removed_textures = gsk_gl_driver_collect_textures (self->gl_driver);
- removed_vaos = gsk_gl_driver_collect_vaos (self->gl_driver);
- GSK_NOTE (OPENGL, g_print ("Collected: %d textures, %d vaos\n",
- removed_textures,
- removed_vaos));
+ GSK_NOTE (OPENGL, g_print ("Collected: %d textures\n",
+ removed_textures));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]