blob: 22e534374ea838f211bdf21cac0c7a72255d0959 [file] [log] [blame]
maxwen3ed2a492017-09-01 13:49:11 +02001#
2# Copyright (C) 2013 The CyanogenMod Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17# Provides overrides to configure the HWUI memory limits
18
maxwencbc3db82018-08-12 17:01:57 +020019PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
maxwen3ed2a492017-09-01 13:49:11 +020020 ro.hwui.texture_cache_size=72 \
21 ro.hwui.layer_cache_size=48 \
22 ro.hwui.r_buffer_cache_size=8 \
23 ro.hwui.path_cache_size=32 \
24 ro.hwui.gradient_cache_size=1 \
25 ro.hwui.drop_shadow_cache_size=6 \
26 ro.hwui.texture_cache_flushrate=0.4 \
27 ro.hwui.text_small_cache_width=1024 \
28 ro.hwui.text_small_cache_height=1024 \
29 ro.hwui.text_large_cache_width=2048 \
30 ro.hwui.text_large_cache_height=1024