msm8937-common: Drop deprecated OpenGLRenderer props

* In Android 8.1 and later, only the ro.zygote.disable_gl_preload
   property still applies. All other properties have been removed.
   Reference: https://source.android.com/devices/graphics/renderer
This commit is contained in:
Bruno Martins 2018-06-26 18:26:55 +01:00 committed by Isaac Chen
parent 01bd83cf4c
commit 46fe437546

View file

@ -54,7 +54,6 @@ char const *heapgrowthlimit;
char const *heapsize;
char const *heapminfree;
char const *heapmaxfree;
char const *large_cache_height;
__attribute__ ((weak))
void init_target_properties() {}
@ -106,7 +105,6 @@ void check_device()
heapsize = "512m";
heapminfree = "4m";
heapmaxfree = "8m";
large_cache_height = "2048";
} else if (sys.totalram > 2048ull * 1024 * 1024) {
// from - phone-xxhdpi-3072-dalvik-heap.mk
heapstartsize = "8m";
@ -114,7 +112,6 @@ void check_device()
heapsize = "768m";
heapminfree = "512k";
heapmaxfree = "8m";
large_cache_height = "1024";
} else {
// from - phone-xxhdpi-2048-dalvik-heap.mk
heapstartsize = "16m";
@ -122,7 +119,6 @@ void check_device()
heapsize = "512m";
heapminfree = "2m";
heapmaxfree = "8m";
large_cache_height = "1024";
}
}
@ -138,17 +134,5 @@ void vendor_load_properties()
property_set("dalvik.vm.heapminfree", heapminfree);
property_set("dalvik.vm.heapmaxfree", heapmaxfree);
property_set("ro.hwui.texture_cache_size", "72");
property_set("ro.hwui.layer_cache_size", "48");
property_set("ro.hwui.r_buffer_cache_size", "8");
property_set("ro.hwui.path_cache_size", "32");
property_set("ro.hwui.gradient_cache_size", "1");
property_set("ro.hwui.drop_shadow_cache_size", "6");
property_set("ro.hwui.texture_cache_flushrate", "0.4");
property_set("ro.hwui.text_small_cache_width", "1024");
property_set("ro.hwui.text_small_cache_height", "1024");
property_set("ro.hwui.text_large_cache_width", "2048");
property_set("ro.hwui.text_large_cache_height", large_cache_height);
init_target_properties();
}