summaryrefslogtreecommitdiff
path: root/libs/androidfw/Input.cpp
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2012-03-23 17:14:34 -0700
committer Jeff Brown <jeffbrown@google.com> 2012-03-29 13:10:55 -0700
commitebb2d8d708c5c58c79ae88ac2bd10450a856f702 (patch)
tree7ea7f937f0a4b172ade6a5d310041fe5b6893672 /libs/androidfw/Input.cpp
parent70825161b5bf51ed48319e142751a9c88b104994 (diff)
Enable vsync traversals by default.
Improved how the various callbacks are managed and sequenced to reduce code duplication. Added a heuristic to avoid postponing traversals until the next vsync frame if we did not actually do any drawing during the previous frame. This helps in the very common case where drawing occurs in response to input. Change-Id: I277d9eeaf50408f8745a3cfd181db1d140770658
Diffstat (limited to 'libs/androidfw/Input.cpp')
0 files changed, 0 insertions, 0 deletions