gsk/gl: only clear glyph cache durign reclaimation
authorChristian Hergert <chergert@redhat.com>
Tue, 15 Mar 2022 22:55:30 +0000 (15:55 -0700)
committerChristian Hergert <chergert@redhat.com>
Fri, 18 Mar 2022 19:33:33 +0000 (12:33 -0700)
commita66a0dde812a4544f3ef2579a6639d699b48cf9e
tree99f07ea19e3d679980d4fec33197d4add1746ac9
parent7062411bad6e04311d0486d747ebba58643986e3
gsk/gl: only clear glyph cache durign reclaimation

We don't need to clear the front cache on every frame as we can clear it
specifically when we do reclaimation to avoid unnecessary memset() calls.
gsk/gl/gskglglyphlibrary.c
gsk/gl/gskgltexturelibrary.c
gsk/gl/gskgltexturelibraryprivate.h