[gtk+/wip/baedert/gl: 37/85] 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: 37/85] gl renderer: Stop collecting VAOs in clear_tree
- Date: Sat, 9 Dec 2017 13:16:27 +0000 (UTC)
commit fffce04e5d54b3dbb9c875717a1948b9be84e0cb
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]