evas - fonts - move to using 4bit and rel 4 bit compressed font glyphs
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sun, 12 Jan 2014 20:13:00 +0000 (05:13 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sun, 12 Jan 2014 20:15:32 +0000 (05:15 +0900)
commit86a97efeea946a760ed1fd0fb3ca4cc57bc81d3d
tree5b31f95b12083b653c7c8fa90c58c1b5c8d76f15
parentf21b0ee6c383b9de2723d68a5a51f071624cd29d
evas - fonts - move to using 4bit and rel 4 bit compressed font glyphs

this changes the internal encoding of font glyphs in evas to use 4bit
uncompressed if small, or 4bit rle (run length encoded) if larger.
this caves at least 50% of memory on fonts - and more if bigger. with
large fonts (40-80pixel size) we can save in the region of 80% of
memory used for glyphs. this also happesn to allow speedups in
rendering too.
12 files changed:
src/Makefile_Evas.am
src/bin/evas/evas_cserve2.h
src/bin/evas/evas_cserve2_cache.c
src/bin/evas/evas_cserve2_fonts.c
src/lib/evas/common/evas_font.h
src/lib/evas/common/evas_font_compress.c [new file with mode: 0644]
src/lib/evas/common/evas_font_compress_draw.c [new file with mode: 0644]
src/lib/evas/common/evas_font_draw.c
src/lib/evas/common/evas_font_main.c
src/lib/evas/cserve2/evas_cs2_client.c
src/lib/evas/include/evas_common_private.h
src/modules/evas/engines/gl_common/evas_gl_font.c