diff options
author | Allen Hair <allenhair@google.com> | 2014-04-24 11:50:37 -0700 |
---|---|---|
committer | Allen Hair <allenhair@google.com> | 2014-04-24 12:12:18 -0700 |
commit | ac5eda366fafce6ec9fd89b14e31f4aaaf08f762 (patch) | |
tree | eaf2edd14edaced064917bd4f4a15da681246180 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 39a50bbf66b7a2c179147cfb12d45327cfef28ec (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