final touches. Cache seems working after all, though the

default cache size of 300 Kb is certainly too high for
now :-)

Need to implement abstract chunk cache and bitmap chunck cache
VER-2-0-4-PATCH
David Turner 25 years ago
parent 3752ad97d8
commit 214a13db23
  1. 7
      builds/unix/unixddef.mk
  2. 2
      include/freetype/cache/ftcmanag.h

@ -25,8 +25,13 @@ PLATFORM := unixdev # do not set it to 'unix', or libtool will trick you
# The directory where all object files are placed.
#
OBJ_DIR := obj
ifndef OBJ_DIR
OBJ_DIR := $(shell cd $(TOP)/obj; pwd)
endif
# library file name
#
LIBRARY := lib$(PROJECT)
# The directory where all library files are placed.
#

@ -71,7 +71,7 @@
/* default values */
#define FTC_MAX_FACES_DEFAULT 4
#define FTC_MAX_SIZES_DEFAULT 8
#define FTC_MAX_BYTES_DEFAULT 65536 /* 64 Kb by default */
#define FTC_MAX_BYTES_DEFAULT 300000 /* 300 Kb by default !! */
/* maximum number of caches registered in a single manager */
#define FTC_MAX_CACHES 16

Loading…
Cancel
Save