diff --git a/BoardConfig.mk b/BoardConfig.mk index 6ba5698..2e03865 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -43,6 +43,16 @@ TARGET_KERNEL_SOURCE := kernel/samsung/viennalte TARGET_KERNEL_CONFIG := msm8974_sec_defconfig TARGET_KERNEL_VARIANT_CONFIG := msm8974_sec_viennalteeur_cm_defconfig +# Shader cache config options +# Maximum size of the GLES Shaders that can be cached for reuse. +# Increase the size if shaders of size greater than 12KB are used. +MAX_EGL_CACHE_KEY_SIZE := 12*1024 + +# Maximum GLES shader cache size for each app to store the compiled shader +# binaries. Decrease the size if RAM or Flash Storage size is a limitation +# of the device. +MAX_EGL_CACHE_SIZE := 2048*1024 + # Audio BOARD_HAVE_NEW_QCOM_CSDCLIENT := true BOARD_HAVE_SAMSUNG_AUDIO := true