[gtk/wip/chergert/glyphy] gsk/gl: use 2048x1024 for Glyphy texture atlas



commit 572430086a3585d79452130aaac19433b17f1203
Author: Christian Hergert <chergert redhat com>
Date:   Wed Mar 16 14:39:15 2022 -0700

    gsk/gl: use 2048x1024 for Glyphy texture atlas
    
    This is closer to what Glyphy is using for texture atlases, and so it makes
    sense to try to be close in usage for the time being.

 gsk/gl/gskglglyphylibrary.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gsk/gl/gskglglyphylibrary.c b/gsk/gl/gskglglyphylibrary.c
index 5e5406596f..b6e039060b 100644
--- a/gsk/gl/gskglglyphylibrary.c
+++ b/gsk/gl/gskglglyphylibrary.c
@@ -126,6 +126,8 @@ gsk_gl_glyphy_library_init (GskGLGlyphyLibrary *self)
 
   tl->max_entry_size = 0;
   tl->max_frame_age = 512;
+  tl->atlas_width = 2048;
+  tl->atlas_height = 1024;
   gsk_gl_texture_library_set_funcs (tl,
                                     gsk_gl_glyphy_key_hash,
                                     gsk_gl_glyphy_key_equal,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]