Stay organized with collections
Save and categorize content based on your preferences.
Android Game Development Kit - Frame Pacing
These are the reference pages for the Android Game Development Kit Frame Pacing library, also known as Swappy.
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-03-10 UTC.
[null,null,["Last updated 2023-03-10 UTC."],[],[],null,["# Android Game Development Kit - Frame Pacing\n===========================================\n\nThese are the reference pages for the Android Game Development Kit Frame Pacing library, also known as Swappy.\n\n| Modules ------- ||\n|--------------------------------------------------------------------------------------|---------------------------------------------------------------|\n| [Swappy common tools](/games/sdk/reference/frame-pacing/group/swappy-common) | Tools to be used with Swappy for OpenGL or Swappy for Vulkan. |\n| [Swappy for OpenGL](/games/sdk/reference/frame-pacing/group/swappy-g-l) | OpenGL part of Swappy. |\n| [Swappy for OpenGL extras](/games/sdk/reference/frame-pacing/group/swappy-g-l-extra) | Extra utility functions to use Swappy with OpenGL. |\n| [Swappy for Vulkan](/games/sdk/reference/frame-pacing/group/swappy-vk) | Vulkan part of Swappy. |\n\n| Structs ------- ||\n|--------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [SwappyStats](/games/sdk/reference/frame-pacing/struct/swappy-stats) | Swappy frame statistics, collected if toggled on with [SwappyGL_enableStats](/games/sdk/reference/frame-pacing/group/swappy-g-l-extra#group__swappy_g_l__extra_1ga1191b042d23c0e3d9da59afd94d3c4b9) or [SwappyVk_enableStats](/games/sdk/reference/frame-pacing/group/swappy-vk#group__swappy_vk_1gac1b42c5baf4f351955df0c027aba14c2). |\n| [SwappyThreadFunctions](/games/sdk/reference/frame-pacing/struct/swappy-thread-functions) | A structure enabling you to set how Swappy starts and joins threads by calling [Swappy_setThreadFunctions](/games/sdk/reference/frame-pacing/group/swappy-common#group__swappy__common_1gabf904a592bd36137613b842e651642f4). |\n| [SwappyTracer](/games/sdk/reference/frame-pacing/struct/swappy-tracer) | Collection of callbacks to be called each frame to trace execution. |\n| [SwappyVkFunctionProvider](/games/sdk/reference/frame-pacing/struct/swappy-vk-function-provider) | A structure enabling you to provide your own Vulkan function wrappers by calling [SwappyVk_setFunctionProvider](/games/sdk/reference/frame-pacing/group/swappy-vk#group__swappy_vk_1gaf01c9db90ce83020bedf7a0decb53013). |"]]