[gtk+/wip/baedert/gl: 34/86] gl renderer: Remove unused VAO
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/gl: 34/86] gl renderer: Remove unused VAO
- Date: Sat, 9 Dec 2017 18:04:24 +0000 (UTC)
commit 4b7f3fb8f4abdaa92827e15d5e5239866a578806
Author: Timm Bäder <mail baedert org>
Date: Thu Nov 23 11:30:05 2017 +0100
gl renderer: Remove unused VAO
gsk/gl/gskglrenderer.c | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index 3ad1ff3..880c108 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -132,8 +132,6 @@ struct _GskGLRenderer
GArray *render_ops;
GskGLGlyphCache glyph_cache;
- int full_vao_id;
- int full_vao_buffer_id;
#ifdef G_ENABLE_DEBUG
ProfileCounters profile_counters;
@@ -380,16 +378,6 @@ gsk_gl_renderer_realize (GskRenderer *renderer,
GError **error)
{
GskGLRenderer *self = GSK_GL_RENDERER (renderer);
- GskQuadVertex vertex_data[GL_N_VERTICES] = {
- { { 0, 0 }, { 0, 0 }, },
- { { 0, 1 }, { 0, 1 }, },
- { { 1, 0 }, { 1, 0 }, },
-
- { { 1, 1 }, { 1, 1 }, },
- { { 0, 1 }, { 0, 1 }, },
- { { 1, 0 }, { 1, 0 }, },
- };
-
self->scale_factor = gdk_window_get_scale_factor (window);
@@ -418,9 +406,6 @@ gsk_gl_renderer_realize (GskRenderer *renderer,
gsk_gl_glyph_cache_init (&self->glyph_cache, self->gl_driver);
- gsk_gl_driver_create_permanent_vao_for_quad (self->gl_driver, GL_N_VERTICES, vertex_data,
- &self->full_vao_id, &self->full_vao_buffer_id);
-
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]