summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2012-03-07 16:51:38 -0800
committerJeff Sharkey <jsharkey@android.com>2012-03-08 18:29:03 -0800
commit047238ced42eea812de9d39a9f32e94d002bfa5c (patch)
tree59cd7291932fe53707bf8feedb657aa68f520ea1 /graphics/java/android/renderscript/ProgramVertexFixedFunction.java
parent8ac70c42507560bf6df7114e96f788c03a18bd6a (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
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions