gl: Increate the cache check frequency

Otherwise, we spread the cache over more atlases
than necessary, increasing the amount of texture
changes in each frame.
This commit is contained in:
Matthias Clasen 2019-10-12 12:34:56 -04:00
parent 88649b6aae
commit e9ba7eda47
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
* atlas and all the items it contained.
*/
#define MAX_FRAME_AGE (5 * 60)
#define MAX_FRAME_AGE (60)
#define MAX_GLYPH_SIZE 128 /* Will get its own texture if bigger */
static guint glyph_cache_hash (gconstpointer v);

View File

@ -5,7 +5,7 @@
#include <epoxy/gl.h>
#define MAX_FRAME_AGE (5 * 60)
#define MAX_FRAME_AGE 60
typedef struct
{