Searched refs:Swappy (Results 1 – 7 of 7) sorted by relevance
/frameworks/opt/gamesdk/src/swappy/ |
D | Swappy.cpp | 45 std::mutex Swappy::sInstanceMutex; 46 std::unique_ptr<Swappy> Swappy::sInstance; 49 constexpr std::chrono::nanoseconds Swappy::FrameDuration::MAX_DURATION; 50 constexpr std::chrono::nanoseconds Swappy::FRAME_HYSTERESIS; 52 void Swappy::init(JNIEnv *env, jobject jactivity) { in init() 108 Swappy::init( in init() 115 void Swappy::init(JavaVM *vm, nanoseconds refreshPeriod, nanoseconds appOffset, nanoseconds sfOffse… in init() 121 sInstance = std::make_unique<Swappy>(vm, refreshPeriod, appOffset, sfOffset, ConstructorTag{}); in init() 124 void Swappy::onChoreographer(int64_t frameTimeNanos) { in onChoreographer() 127 Swappy *swappy = getInstance(); in onChoreographer() [all …]
|
D | Swappy_c.cpp | 30 Swappy::init(env, jactivity); in Swappy_init() 34 Swappy::destroyInstance(); in Swappy_destroy() 38 Swappy::onChoreographer(frameTimeNanos); in Swappy_onChoreographer() 42 return Swappy::swap(display, surface); in Swappy_swap() 66 return Swappy::getSwapIntervalNS(); in Swappy_getSwapIntervalNS() 70 Swappy::addTracer(t); in Swappy_injectTracer() 74 Swappy::setAutoSwapInterval(enabled); in Swappy_setAutoSwapInterval() 78 Swappy::setAutoPipelineMode(enabled); in Swappy_setAutoPipelineMode() 82 Swappy::enableStats(enabled); in Swappy_enableStats() 86 Swappy::recordFrameStart(display, surface); in Swappy_recordFrameStart() [all …]
|
D | Swappy.h | 49 class Swappy { 56 Swappy(JavaVM *vm, 136 static Swappy *getInstance(); 197 static std::unique_ptr<Swappy> sInstance;
|
D | CMakeLists.txt | 31 ${SOURCE_LOCATION}/Swappy.cpp 34 ${SOURCE_LOCATION}/Swappy.cpp
|
D | ChoreographerThread.h | 34 Swappy, enumerator
|
/frameworks/opt/gamesdk/samples/unitypackaging/app/ |
D | version.script | 3 *Swappy*;
|
D | CMakeLists.txt | 21 src/main/cpp/swappy/Swappy.cpp
|