H/w binder reserves 1 MB by default for memory operations.
Customization is to only reserve usable memory
Change-Id: Ide08e72e4437da270d498ff30b3cc1640d39d963
Playback of high sample rate multichannel clips fails when
repeat mode is set to repeat one. This is because the default
heap size allocated for AudioFlinger clients is 4MB which is insufficient.
Set the system property ro.af.client_heap_size_kbyte to 7KB. This property
is read in AudioFlinger and multiplied by 1024, so effectively the allocated
heap size becomes 7MB which is sufficient to play such clips in repeat mode.
CRs-Fixed: 2108978
Change-Id: I72f4bb9892465afb311bb269545a5fe926696b02
Vulkan is not supported on 8226
Set "persist.graphics.vulkan.disable" to true.
Framework checks for this flag and disables
Vulkan features for 8226.
Change-Id: I32c42d0ca488b22c3a3cac96044bdf6356535c11
* Snapshot values exported from frameworks/native
of the build/phone-xhdpi-1024-dalvik-heap.mk file:
"Fix issue #7257947: Need to fix heap limits on Mako"
Change-Id: Id8014b19195b8740bccf000ab66c1b599ba3a1a0
From: Adrian DC <radian.dc@gmail.com>
Date: Wed, 16 Nov 2016 13:02:04 +0100
native: Increase ART heap limit to 192MB for 1024MB RAM devices
* Needed for Google SetupWizard to start
* Without this, SetupWizard is compiled by ART on boot
and runs out of memory (heap) while running, resulting
in the SetupWizard crashing and blocking boot
Change-Id: Ic5b8caf4352f6d104af9121a09a01adad1c5bcc3
Change-Id: Iee6766c3a912c0b841faa41c3d0776e87478817d
Signed-off-by: Adrian DC <radian.dc@gmail.com>
Signed-off-by: RenanQueiroz <queirozrrq@gmail.com>
* Due to commit I9b346b4053ec12c8a78a143a4dc0e708c44888a2
"Support EGL_KHR_partial_update without EGL_EXT_buffer_age"
in libhwui, EGL_EXT_buffer_age extension was forcibly enabled
if EGL_KHR_partial_update was available, even if the EGL driver
was not providing EGL_EXT_buffer_age support
* On older Adreno drivers, renderthread sources could use bufferAge
specific swap behaviours and would result in partially missing
display redraws upon animations and rotated screens,
for instance flashing action bars, blinking loading bars
and half black displays in landscape rotations
Change-Id: I16fe13f0726792522e382716f8f24eccf2a27701
Signed-off-by: Adrian DC <radian.dc@gmail.com>
* No apparent resolution difference
* Much smoother animation
* Much faster boot
* What's not to like?
Change-Id: I2119fe826146a3103da50b4862ad88f5950a97ec
* Compare things that are used in s3ve, ms01, kmini3g , and matisse
wifi and move the stuff that's truly common to here. This will
greatly ease O bring-up of the child trees.
* Also do a bit of cleanup while we are at it.
Change-Id: I8fc5a099a348fa7feb502e3afe9b43df6e22d00b