/frameworks/native/services/surfaceflinger/ |
D | RefreshRateOverlay.cpp | 31 auto RefreshRateOverlay::draw(int refreshRate, int renderFps, bool idle, SkColor color, in draw() argument 115 drawNumber(renderFps, left, color, *canvas); in draw() 191 auto RefreshRateOverlay::getOrCreateBuffers(Fps refreshRate, Fps renderFps, bool idle) in getOrCreateBuffers() argument 198 renderFps = 0_Hz; in getOrCreateBuffers() 219 {refreshRate.getIntValue(), renderFps.getIntValue(), transformHint, idle}); in getOrCreateBuffers() 226 const int renderIntFps = renderFps.getIntValue(); in getOrCreateBuffers() 275 void RefreshRateOverlay::changeRefreshRate(Fps refreshRate, Fps renderFps) { in changeRefreshRate() argument 277 mRenderFps = renderFps; in changeRefreshRate() 278 const auto buffer = getOrCreateBuffers(refreshRate, renderFps, mIsVrrIdle)[mFrame]; in changeRefreshRate() 290 void RefreshRateOverlay::changeRenderRate(Fps renderFps) { in changeRenderRate() argument [all …]
|
D | RefreshRateOverlay.h | 69 static Buffers draw(int refreshRate, int renderFps, bool idle, SkColor, 80 int renderFps; member 85 return refreshRate == other.refreshRate && renderFps == other.renderFps &&
|
D | DisplayDevice.cpp | 409 Fps renderFps, bool showSpinner, bool showRenderRate, in enableRefreshRateOverlay() argument 438 updateRefreshRateOverlayRate(refreshRate, renderFps, setByHwc); in enableRefreshRateOverlay() 442 void DisplayDevice::updateRefreshRateOverlayRate(Fps refreshRate, Fps renderFps, bool setByHwc) { in updateRefreshRateOverlayRate() argument 447 refreshRate = renderFps; in updateRefreshRateOverlayRate() 449 mRefreshRateOverlay->changeRefreshRate(refreshRate, renderFps); in updateRefreshRateOverlayRate() 451 mRefreshRateOverlay->changeRenderRate(renderFps); in updateRefreshRateOverlayRate()
|
D | DisplayDevice.h | 192 void enableRefreshRateOverlay(bool enable, bool setByHwc, Fps refreshRate, Fps renderFps, 195 void updateRefreshRateOverlayRate(Fps refreshRate, Fps renderFps, bool setByHwc = false);
|
D | SurfaceFlinger.cpp | 1470 const auto renderFps = activeModeOpt->mode.fps; in applyActiveMode() local 1476 mScheduler->setRenderRate(displayId, renderFps, /*applyImmediately*/ true); in applyActiveMode() 1479 mScheduler->updatePhaseConfiguration(renderFps); in applyActiveMode() 8973 const Fps renderFps = activeMode.fps; in enableRefreshRateOverlay() local 8975 display->enableRefreshRateOverlay(enable, setByHwc, refreshRate, renderFps, in enableRefreshRateOverlay()
|
/frameworks/native/services/surfaceflinger/Display/ |
D | DisplayModeController.cpp | 212 Fps vsyncRate, Fps renderFps) { in finalizeModeChange() argument 214 setActiveModeLocked(displayId, modeId, vsyncRate, renderFps); in finalizeModeChange() 221 Fps vsyncRate, Fps renderFps) { in setActiveMode() argument 223 setActiveModeLocked(displayId, modeId, vsyncRate, renderFps); in setActiveMode() 227 Fps vsyncRate, Fps renderFps) { in setActiveModeLocked() argument 231 ATRACE_INT(displayPtr->renderRateFpsTrace.c_str(), renderFps.getIntValue()); in setActiveModeLocked() 233 displayPtr->selectorPtr->setActiveMode(modeId, renderFps); in setActiveModeLocked() 236 mActiveModeListener(displayId, vsyncRate, renderFps); in setActiveModeLocked()
|
D | DisplayModeController.h | 47 using ActiveModeListener = ftl::Function<void(PhysicalDisplayId, Fps vsyncRate, Fps renderFps)>; 94 void finalizeModeChange(PhysicalDisplayId, DisplayModeId, Fps vsyncRate, Fps renderFps) 97 void setActiveMode(PhysicalDisplayId, DisplayModeId, Fps vsyncRate, Fps renderFps) 128 void setActiveModeLocked(PhysicalDisplayId, DisplayModeId, Fps vsyncRate, Fps renderFps)
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayModeControllerTest.cpp | 55 [this](PhysicalDisplayId displayId, Fps vsyncRate, Fps renderFps) { in SetUp() argument 56 mActiveModeListener.Call(displayId, vsyncRate, renderFps); in SetUp()
|