Evas font: Disabled word/metric caching due to bugs.

SVN revision: 62547
devs/devilhorns/wayland_egl
Tom Hacohen 11 years ago
parent 49afea24f8
commit 7a281f0745
  1. 4
      legacy/evas/README.in
  2. 9
      legacy/evas/src/lib/engines/common/evas_font_draw.c

@ -764,7 +764,7 @@ into N regions (1 per core) to speed up rendering in software when you
have multiple cpu cores.
--enable-word-cache
--enable-word-cache **DISABLED DUE TO BUGS**
Cache rendered words and draw them as a single object, instead of
individual characters. This is a big gain for things like neon which
@ -788,7 +788,7 @@ the e-devel mailing list or Brett Nash <nash@nash.id.uau>
For GL see metric caching...
--enable-metric-cache
--enable-metric-cache **DISABLED DUE TO BUGS**
Metric caching saves character metrics between characters in words.
This enables it to render words much quicker as it avoids things like

@ -7,6 +7,15 @@
#include "evas_font_ot.h"
/* Forcibly disable the broken word/metric caching. */
#ifdef METRIC_CACHE
# undef METRIC_CACHE
#endif
#ifdef WORD_CACHE
# undef WORD_CACHE
#endif
#define WORD_CACHE_MAXLEN 50
/* How many to cache */
#define WORD_CACHE_NWORDS 40

Loading…
Cancel
Save