diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-10-10 17:17:58 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-10-10 21:46:55 -0700 |
commit | 9cf36b7a77bb8e821f9e593fdbb200f8a1742ff0 (patch) | |
tree | e84975fdc589a0a9457265626dd5bea21afca2b8 /graphics/java/android/renderscript/ScriptGroup.java | |
parent | 3c584f20ac8fe9378c094ad3b63936bca35954ba (diff) |
Don't process UEvents in Dalvik unless they match a pattern.
On some devices, vsync is delivered from the kernel to userspace
over a netlink socket via UEvent. The result is that a thread wakes
up, reads a message, creates a new String then searches it for matches
against a pattern on every single frame.
Reduce the overhead by performing the initial pattern matching in
native code.
Bug: 7326329
Change-Id: Icb22db1c38330694207bec1153840e0c06f502d6
Diffstat (limited to 'graphics/java/android/renderscript/ScriptGroup.java')
0 files changed, 0 insertions, 0 deletions