blob: fbe8df5d4b646ae36e09e2ccaad182920b010397 [file] [log] [blame]
maxwen3ed2a492017-09-01 13:49:11 +02001#
2# Copyright (C) 2015 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=88 \
21 ro.hwui.layer_cache_size=58 \
22 ro.hwui.path_cache_size=32 \
23 ro.hwui.shape_cache_size=4 \
24 ro.hwui.gradient_cache_size=2 \
25 ro.hwui.drop_shadow_cache_size=8 \
26 ro.hwui.r_buffer_cache_size=8 \
27 ro.hwui.text_small_cache_width=2048 \
28 ro.hwui.text_small_cache_height=2048 \
29 ro.hwui.text_large_cache_width=4096 \
30 ro.hwui.text_large_cache_height=4096