Lines Matching refs:getRenderer
44 Renderer *getRenderer(android_app *pApp) { in getRenderer() function
93 jlong spinTime = getRenderer(pApp)->render(); in drawFrames()
94 getRenderer(pApp)->reportActualWorkDuration(spinTime); in drawFrames()
104 getRenderer(pApp)->addResult(testName + "_durations", serializeValues(durations)); in drawFrames()
105 getRenderer(pApp)->addResult(testName + "_intervals", serializeValues(intervals)); in drawFrames()
108 return getRenderer(pApp)->getFrameStats(durations, intervals, testName); in drawFrames()
113 getRenderer(pApp)->updateTargetWorkDuration(targetDuration); in drawFramesWithTarget()
121 getRenderer(pApp)->setNumHeads(1); in calibrate()
128 getRenderer(pApp)->setNumHeads(200); in calibrate()
138 getRenderer(pApp)->addResult("goal_duration", std::to_string(static_cast<int>(target))); in calibrate()
139 getRenderer(pApp)->addResult("heads_count", std::to_string(heads)); in calibrate()
141 getRenderer(pApp)->setNumHeads(std::max(heads, 1)); in calibrate()
161 auto *pRenderer = getRenderer(pApp); in handle_cmd()
185 bool supported = getRenderer(pApp)->getAdpfSupported(); in android_main()
188 JNIManager::sendResultsToJava(getRenderer(pApp)->getResults()); in android_main()
193 getRenderer(pApp)->setNumHeads(100); in android_main()
201 getRenderer(pApp)->startHintSession(tids, 6 * initialStats.medianWorkDuration); in android_main()
202 if (!getRenderer(pApp)->isHintSessionRunning()) { in android_main()
203 Utility::setFailure("Session failed to start!", getRenderer(pApp)); in android_main()
220 getRenderer(pApp)->addResult("calibration_accuracy", std::to_string(calibrationAccuracy)); in android_main()
225 getRenderer(pApp)->setBaselineMedian(baselineStats.medianWorkDuration); in android_main()
254 JNIManager::sendResultsToJava(getRenderer(pApp)->getResults()); in android_main()