summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2017-04-28 16:39:19 +0200
committerJorim Jaggi <jjaggi@google.com>2017-05-02 13:55:20 +0200
commit561eeb5e749c1213c71c638ef76088e75b9acd70 (patch)
tree9f74ace0ccbcb3f60ce3db333611a0940e8a71e2 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent0c21500920cac1e736f877e950e28eaa0b8b3f81 (diff)
Split out whether frame callback and tick is scheduled
Since the animation/gesture for screen zoom is running at vsync-app, calling WMS.scheduleAnimation will schedule only at the next frame. However, in the next frame, only the frame callback is handled but not the tick yet, however mAnimationScheduled was still true. Thus, the request to schedule another frame callback is ignored, and then the things get updated only every 2nd frame. Fix this by splitting the information whether the frame callback is scheduled or the actual tick. Test: Use accessibility screen zoom, make sure gestures are smooth. Fixes: 37476440 Change-Id: I2301fab5bf3f3b896d4aa131fb041b89572fa3a7
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions