[gtk+/wip/baedert/gl: 30/37] gl renderer: Stop collecting VAOs in clear_tree



commit 80b05e87f15f1ca600640ad93fb6cb92638da6af
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 3d4c0f4..62bdfcf 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -565,7 +565,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;
@@ -575,11 +575,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]