diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-10-12 01:35:13 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-10-12 01:35:13 -0400 |
commit | 61db797f29ea545d2f2104e4f549d6ae8d9bce48 (patch) | |
tree | d146730051e70b4259fe51e7f098bb6a9be70d82 /gsk/gl/gskglglyphcacheprivate.h | |
parent | 0a876f11a0879dc6082d3356f8eb060ddffac1e6 (diff) | |
download | gtk+-61db797f29ea545d2f2104e4f549d6ae8d9bce48.tar.gz |
gl: Simplify glyph cache lookup
Make this function more similar to the icon
cache equivalent, and simplify it a bit. We
don't use the boolean return, and we don't need
to look at the age of entry when marking it
used.
Diffstat (limited to 'gsk/gl/gskglglyphcacheprivate.h')
-rw-r--r-- | gsk/gl/gskglglyphcacheprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gsk/gl/gskglglyphcacheprivate.h b/gsk/gl/gskglglyphcacheprivate.h index dbe5196cca..259688fbb7 100644 --- a/gsk/gl/gskglglyphcacheprivate.h +++ b/gsk/gl/gskglglyphcacheprivate.h @@ -74,7 +74,7 @@ GskGLGlyphCache * gsk_gl_glyph_cache_ref (GskGLGlyphCache *se void gsk_gl_glyph_cache_unref (GskGLGlyphCache *self); void gsk_gl_glyph_cache_begin_frame (GskGLGlyphCache *self, GPtrArray *removed_atlases); -gboolean gsk_gl_glyph_cache_lookup (GskGLGlyphCache *self, +void gsk_gl_glyph_cache_lookup_or_add (GskGLGlyphCache *self, GlyphCacheKey *lookup, GskGLDriver *driver, const GskGLCachedGlyph **cached_glyph_out); |