• Home
  • Raw
  • Download

Lines Matching refs:refreshArgs

425 void Output::prepare(const compositionengine::CompositionRefreshArgs& refreshArgs,  in prepare()  argument
430 rebuildLayerStacks(refreshArgs, geomSnapshots); in prepare()
431 uncacheBuffers(refreshArgs.bufferIdsToUncache); in prepare()
435 const compositionengine::CompositionRefreshArgs& refreshArgs) { in present() argument
436 const auto stringifyExpectedPresentTime = [this, &refreshArgs]() -> std::string { in present()
439 .and_then([&refreshArgs](PhysicalDisplayId id) { in present()
440 return refreshArgs.frameTargets.get(id); in present()
460 updateColorProfile(refreshArgs); in present()
461 updateCompositionState(refreshArgs); in present()
463 writeCompositionState(refreshArgs); in present()
464 setColorTransform(refreshArgs); in present()
472 const bool predictCompositionStrategy = canPredictCompositionStrategy(refreshArgs); in present()
479 devOptRepaintFlash(refreshArgs); in present()
482 const bool flushEvenWhenDisabled = !refreshArgs.bufferIdsToUncache.empty(); in present()
495 renderCachedSets(refreshArgs); in present()
513 void Output::rebuildLayerStacks(const compositionengine::CompositionRefreshArgs& refreshArgs, in rebuildLayerStacks() argument
518 if (!outputState.isEnabled || CC_LIKELY(!refreshArgs.updatingOutputGeometryThisFrame)) { in rebuildLayerStacks()
526 coverage.aboveCoveredLayersExcludingOverlays = refreshArgs.hasTrustedPresentationListener in rebuildLayerStacks()
529 collectVisibleLayers(refreshArgs, coverage); in rebuildLayerStacks()
540 void Output::collectVisibleLayers(const compositionengine::CompositionRefreshArgs& refreshArgs, in collectVisibleLayers() argument
545 for (auto layer : reversed(refreshArgs.layers)) { in collectVisibleLayers()
553 setReleasedLayers(refreshArgs); in collectVisibleLayers()
806 void Output::updateCompositionState(const compositionengine::CompositionRefreshArgs& refreshArgs) { in updateCompositionState() argument
818 layer->updateCompositionState(refreshArgs.updatingGeometryThisFrame, in updateCompositionState()
819 refreshArgs.devOptForceClientComposition || in updateCompositionState()
821 refreshArgs.internalDisplayRotationFlags); in updateCompositionState()
840 void Output::writeCompositionState(const compositionengine::CompositionRefreshArgs& refreshArgs) { in writeCompositionState() argument
850 .and_then([&refreshArgs](PhysicalDisplayId id) { in writeCompositionState()
851 return refreshArgs.frameTargets.get(id); in writeCompositionState()
856 editState().frameInterval = refreshArgs.frameInterval; in writeCompositionState()
857 editState().powerCallback = refreshArgs.powerCallback; in writeCompositionState()
861 bool includeGeometry = refreshArgs.updatingGeometryThisFrame; in writeCompositionState()
939 void Output::updateColorProfile(const compositionengine::CompositionRefreshArgs& refreshArgs) { in updateColorProfile() argument
940 setColorProfile(pickColorProfile(refreshArgs)); in updateColorProfile()
1002 const compositionengine::CompositionRefreshArgs& refreshArgs) const { in pickColorProfile()
1003 if (refreshArgs.outputColorSetting == OutputColorSetting::kUnmanaged) { in pickColorProfile()
1012 switch (refreshArgs.forceOutputColorMode) { in pickColorProfile()
1031 switch (refreshArgs.outputColorSetting) { in pickColorProfile()
1041 intent = static_cast<ui::RenderIntent>(refreshArgs.outputColorSetting); in pickColorProfile()
1165 void Output::devOptRepaintFlash(const compositionengine::CompositionRefreshArgs& refreshArgs) { in devOptRepaintFlash() argument
1166 if (CC_LIKELY(!refreshArgs.devOptFlashDirtyRegionsDelay)) { in devOptRepaintFlash()
1184 std::this_thread::sleep_for(*refreshArgs.devOptFlashDirtyRegionsDelay); in devOptRepaintFlash()
1641 void Output::renderCachedSets(const CompositionRefreshArgs& refreshArgs) { in renderCachedSets() argument
1644 mPlanner->renderCachedSets(outputState, refreshArgs.scheduledFrameTime, in renderCachedSets()
1693 bool Output::canPredictCompositionStrategy(const CompositionRefreshArgs& refreshArgs) { in canPredictCompositionStrategy() argument
1713 if (refreshArgs.devOptFlashDirtyRegionsDelay) { in canPredictCompositionStrategy()