summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAllen Hair <allenhair@google.com>2014-04-24 11:50:37 -0700
committerAllen Hair <allenhair@google.com>2014-04-24 12:12:18 -0700
commitac5eda366fafce6ec9fd89b14e31f4aaaf08f762 (patch)
treeeaf2edd14edaced064917bd4f4a15da681246180 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent39a50bbf66b7a2c179147cfb12d45327cfef28ec (diff)
Fix nativeGetAnimationFrameStats to use the correct times.
Changed the method to use actualPresentTimesNano instead of desiredPresentTimesNano when initializing WindowAnimationFrameStats. The WindowAnimationFrameStats.init(..) method expects the actual presentation times, not the posted times. Additionally, the desiredPresentTimesNano values are all invalid (INT64_MAX) when working with window animation frames. Change-Id: I5e5ce888dac859179ef06e4bbd8bfbd959521dd2
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions