diff options
author | Varun Garg <gargv@codeaurora.org> | 2018-02-15 05:08:16 +0530 |
---|---|---|
committer | Bhargav Upperla <bhargavuln@codeaurora.org> | 2018-02-20 16:06:33 -0800 |
commit | 1c99b2e51c6b8e326b535042c15bdec0527762c0 (patch) | |
tree | b4a3a2cd7122b574cc763fe17c5dffe30ca4e541 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 040ff47e1f321e23cb03c74d398cddc167cf0a6f (diff) |
BoostFramework: To Enhance performance.
The following functionalities are sqaushed in this change
1. To enhance performance during critical scenarios
Adding Boost APIs which can ensure the best possible resource
availability during critical UX scenarios. These APIs can be
either turned off or dynamically hooked to OEM specific
performance optimizations.
2. Avoid class loading from QPerformance jar
QPerformance jar is part of PRODUCT_BOOT_JARS and the required
class is already available in zygote. Hence, class loading
can be avoided.
3. Expose perfLock handle to JAVA context.
When user calls perfLockAcquire/perfHint, if SUCCEED, the return value
is unique handle,which is > 0, if FAILED, the return value is -1.
perfLockReleaseHandler API is added, to help the user release perflock
in different contexts.
public int perfLockReleaseHandler(int handle), handle is the unique value.
4. Detect scrolls and boost frequencies
Detect scroll and boost frequencies. Perf hint of vertical
scrolls is used for scrolls
5. Add the perfHint ID for MTP file copy
6. Introduce perf hints for prekill feature.
Introduce perf hints during service start, restart,
broadcasts & content providers & first frame draw.
7. Touch tap hint support after first launch
Supporting tap hints after first launch of apps
Squash of following change-IDs:
Change-Id: I2a363396e532c52287156ae9c6dfd81e740e92f1
Change-Id: Id0a611e0f2415e1621d7d0a4988d75cd2186a672
Change-Id: I48a2513c524c1fa69609cc405940a44590243fa7
Change-Id: I32a51877222f34660d021ced2ed31a392926a15e
Change-Id: I7610f247d5294f4f9f3f18a6813ac818d7f0659d
Change-Id: I577fed178be07fb74bc861ae67e586c7c936dc03
Change-Id: Iffe8ec81cc24297b380a3cb628227ece302a0953
CRs-Fixed: 2055079 2071185 2017684 2114569 2140194 2088484 2142307
Change-Id: Ib7da4c06f53a3809a01e320c7e6cc6b9c29ce462
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions