summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-03-19 20:50:40 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-03-21 16:05:10 -0400
commit2e6927392272b3285d740fb61c8aeb4c6d9fb21a (patch)
tree451b1732a41d8dd79623c3c760aa0f7b0b763d96
parent1e014f42916f329e363beb1eeb440f8b27119282 (diff)
downloadgtk+-2e6927392272b3285d740fb61c8aeb4c6d9fb21a.tar.gz
ngl: Remove an unused field
We are ignoring the debug nodes, so the debug_groups string chunk is unused.
-rw-r--r--gsk/ngl/gsknglcommandqueue.c4
-rw-r--r--gsk/ngl/gsknglcommandqueueprivate.h3
2 files changed, 0 insertions, 7 deletions
diff --git a/gsk/ngl/gsknglcommandqueue.c b/gsk/ngl/gsknglcommandqueue.c
index bebd315823..0fb56cfc50 100644
--- a/gsk/ngl/gsknglcommandqueue.c
+++ b/gsk/ngl/gsknglcommandqueue.c
@@ -424,8 +424,6 @@ gsk_ngl_command_queue_init (GskNglCommandQueue *self)
gsk_ngl_command_binds_init (&self->batch_binds, 1024);
gsk_ngl_command_uniforms_init (&self->batch_uniforms, 2048);
- self->debug_groups = g_string_chunk_new (4096);
-
gsk_ngl_buffer_init (&self->vertices, GL_ARRAY_BUFFER, sizeof (GskNglDrawVertex));
}
@@ -1215,8 +1213,6 @@ gsk_ngl_command_queue_end_frame (GskNglCommandQueue *self)
}
}
- g_string_chunk_clear (self->debug_groups);
-
self->batches.len = 0;
self->batch_binds.len = 0;
self->batch_uniforms.len = 0;
diff --git a/gsk/ngl/gsknglcommandqueueprivate.h b/gsk/ngl/gsknglcommandqueueprivate.h
index 9a35326cee..e51d1abb46 100644
--- a/gsk/ngl/gsknglcommandqueueprivate.h
+++ b/gsk/ngl/gsknglcommandqueueprivate.h
@@ -225,9 +225,6 @@ struct _GskNglCommandQueue
*/
GskNglCommandUniforms batch_uniforms;
- /* String storage for debug groups */
- GStringChunk *debug_groups;
-
/* Discovered max texture size when loading the command queue so that we
* can either scale down or slice textures to fit within this size. Assumed
* to be both height and width.