summaryrefslogtreecommitdiff
path: root/tools/orientationplot/orientationplot.py
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-05-07 16:43:25 -0700
committerJeff Brown <jeffbrown@google.com>2012-05-07 16:49:42 -0700
commit59bbef0cd781f4933fd8a0a85b6067f36e529e02 (patch)
tree49baf2e961500a19dc6dc41652a42a859d6f56bd /tools/orientationplot/orientationplot.py
parent2321301fe75f945b002372d6d35c597191564452 (diff)
Improve animation timing.
Detect when a vsync message was significantly delayed which may indicate that a frame was skipped. When this happens, update the frame time to reflect the approximate start time of the current frame instead of the start time of the frame that was skipped a long time ago. Removed an unnecessary call to getCurrentPlayTime() in the animator framework. The result was always zero and the call just made the code confusing. Bug: 6443611 Change-Id: I92b24f7ffd74c59b75a727b6bfc0bb51fc92a73a
Diffstat (limited to 'tools/orientationplot/orientationplot.py')
0 files changed, 0 insertions, 0 deletions