g_assert (!self->texture_id_to_key || g_hash_table_size (self->texture_id_to_key) == 0);
g_assert (!self->key_to_texture_id|| g_hash_table_size (self->key_to_texture_id) == 0);
- g_clear_object (&self->glyphs);
+ g_clear_object (&self->glyphs_library);
g_clear_object (&self->icons);
g_clear_object (&self->shadows);
return NULL;
}
- self->glyphs = gsk_gl_glyph_library_new (self);
+ self->glyphs_library = gsk_gl_glyph_library_new (self);
self->icons = gsk_gl_icon_library_new (self);
self->shadows = gsk_gl_shadow_library_new (self);
/* Mark unused pixel regions of the atlases */
gsk_gl_texture_library_begin_frame (GSK_GL_TEXTURE_LIBRARY (self->icons),
- self->current_frame_id,
- removed);
- gsk_gl_texture_library_begin_frame (GSK_GL_TEXTURE_LIBRARY (self->glyphs),
- self->current_frame_id,
- removed);
+ self->current_frame_id,
+ removed);
+ gsk_gl_texture_library_begin_frame (GSK_GL_TEXTURE_LIBRARY (self->glyphs_library),
+ self->current_frame_id,
+ removed);
/* Cleanup old shadows */
gsk_gl_shadow_library_begin_frame (self->shadows);
GskGLCommandQueue *shared_command_queue;
GskGLCommandQueue *command_queue;
- GskGLGlyphLibrary *glyphs;
+ GskGLGlyphLibrary *glyphs_library;
GskGLIconLibrary *icons;
GskGLShadowLibrary *shadows;
guint num_glyphs = gsk_text_node_get_num_glyphs (node);
float x = offset->x + job->offset_x;
float y = offset->y + job->offset_y;
- GskGLGlyphLibrary *library = job->driver->glyphs;
+ GskGLGlyphLibrary *library = job->driver->glyphs_library;
GskGLCommandBatch *batch;
int x_position = 0;
GskGLGlyphKey lookup;