Matthias Clasen
|
dbc0caf27d
|
vulkan: Batch uploads from the glyph cache
This uses the new api that was introduced in the previous
commit.
|
2017-09-21 13:45:01 -04:00 |
|
Matthias Clasen
|
b5eeb98374
|
Add simple aging for the glyph cache
This should prevent the cache from growing out of bounds.
|
2017-09-20 23:26:14 -04:00 |
|
Lionel Landwerlin
|
7d7f8e5f8e
|
gsk vulkan: Use new api in the glyph cache
Use the newly introduced gsk_vulkan_image_new_for_atlas.
|
2017-09-20 23:26:14 -04:00 |
|
Matthias Clasen
|
b321b26a73
|
glyph cache: Upload glyphs incrementally
This does not work yet.
|
2017-09-20 23:26:14 -04:00 |
|
Matthias Clasen
|
7bbd4d41e0
|
vulkan: pass the context when creating a glyph cache
|
2017-09-20 23:26:14 -04:00 |
|
Matthias Clasen
|
6dbec5e4fc
|
Add some debug output for the glyph cache
Print out some statistics and dump the glyph caches to a png,
for now.
|
2017-09-20 23:26:14 -04:00 |
|
Matthias Clasen
|
baeff2a49b
|
Make the glyph cache grow as needed
Make it possible to have more than one texture in the
glyph cache, and create new ones when we run out of space
in the existing ones.
|
2017-09-20 23:26:14 -04:00 |
|
Matthias Clasen
|
cead00757d
|
vulkan: Move glyph cache to a separate file
Otherwise things will get too messy.
|
2017-09-20 23:26:14 -04:00 |
|