ngl: Remove an unused field

We are ignoring the debug nodes, so the
debug_groups string chunk is unused.
This commit is contained in:
Matthias Clasen 2021-03-19 20:50:40 -04:00
parent 1e014f4291
commit 2e69273922
2 changed files with 0 additions and 7 deletions

View File

@ -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;

View File

@ -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.