summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-06-11 15:25:48 -0700
committerThe Android Automerger <android-build@android.com>2012-06-11 17:17:03 -0700
commit75c03ac73d90d1a1318ced0a99e4c3f60c46459f (patch)
treeb8e2b30cf8260c3e3620d983d727a82b42c6e0eb /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent92182c19dcaf12527a2dde32dcf03cd34146f24d (diff)
Detect bad behavior earlier in Choreographer.
Detect wonky vsync timestamps (should they occur) and warn loudly about them. Warn when too many frames are skipped. The threshold is pretty conservative right now (only warn if at least 30 frames are skipped) but it can be adjusted using system property. Even skipping just a couple of frames is enough to generate noticeable jank. The threshold is currently intended to help track down bigger problems such when an app does too much work on the UI thread. Bug: 6574842 Change-Id: I4aac7e5e17d1fb51adb0510e318a72a28b3775ed
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions