Stay organized with collections
Save and categorize content based on your preferences.
After integrating Android Frame Pacing into your game, it's important to verify
that its functionality has provided more consistent frame pacing. The best tool
for confirming this improvement is the
systrace command-line program. In
particular, it's best to capture a trace for your game using the following set
of parameters:
When viewing the output HTML report, you can find information relevant to
frame-pacing in the SurfaceView channel. This channel reports the number of
frames that are buffered within the display pipeline. By successfully
integrating Android Frame Pacing into your game, you should see any
inconsistencies in this counter (Figure 1) become stabilized (Figure 2).
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-08-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-08-15 UTC."],[],[]]