commit | 047238ced42eea812de9d39a9f32e94d002bfa5c | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Wed Mar 07 16:51:38 2012 -0800 |
committer | Jeff Sharkey <jsharkey@android.com> | Thu Mar 08 18:29:03 2012 -0800 |
tree | 59cd7291932fe53707bf8feedb657aa68f520ea1 | |
parent | 8ac70c42507560bf6df7114e96f788c03a18bd6a [diff] |
Switch Parcel to static JNI calls, pass pointer. Instead of using parcelForJavaObject(), pass down the mNativeObj pointer explicitly. Benchmarks show that writeInt() is roughly 3x faster with this approach. Change-Id: I24ca235c334c44be716070aa8066ec8a429eadb7