Home
last modified time | relevance | path

Searched refs:refreshArgs (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutput.cpp425 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()
[all …]
DDisplay.cpp171 void Display::setReleasedLayers(const compositionengine::CompositionRefreshArgs& refreshArgs) { in setReleasedLayers() argument
172 Output::setReleasedLayers(refreshArgs); in setReleasedLayers()
175 refreshArgs.layersWithQueuedFrames.empty()) { in setReleasedLayers()
193 std::any_of(refreshArgs.layersWithQueuedFrames.cbegin(), in setReleasedLayers()
194 refreshArgs.layersWithQueuedFrames.cend(), in setReleasedLayers()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayTest.cpp369 CompositionRefreshArgs refreshArgs; in TEST_F() local
370 refreshArgs.colorTransformMatrix = std::nullopt; in TEST_F()
371 mDisplay->setColorTransform(refreshArgs); in TEST_F()
379 refreshArgs.colorTransformMatrix = kIdentity; in TEST_F()
380 mDisplay->setColorTransform(refreshArgs); in TEST_F()
388 refreshArgs.colorTransformMatrix = kNonIdentity; in TEST_F()
389 mDisplay->setColorTransform(refreshArgs); in TEST_F()
522 CompositionRefreshArgs refreshArgs; in TEST_F() local
523 refreshArgs.layersWithQueuedFrames.push_back(layerXLayerFE); in TEST_F()
525 gpuDisplay->setReleasedLayers(refreshArgs); in TEST_F()
[all …]
DOutputTest.cpp461 CompositionRefreshArgs refreshArgs; in TEST_F() local
462 refreshArgs.colorTransformMatrix = std::nullopt; in TEST_F()
464 mOutput->setColorTransform(refreshArgs); in TEST_F()
478 CompositionRefreshArgs refreshArgs; in TEST_F() local
479 refreshArgs.colorTransformMatrix = kIdentity; in TEST_F()
481 mOutput->setColorTransform(refreshArgs); in TEST_F()
494 CompositionRefreshArgs refreshArgs; in TEST_F() local
495 refreshArgs.colorTransformMatrix = kIdentity; in TEST_F()
497 mOutput->setColorTransform(refreshArgs); in TEST_F()
510 CompositionRefreshArgs refreshArgs; in TEST_F() local
[all …]
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp2761 compositionengine::CompositionRefreshArgs refreshArgs; in composite() local
2762 refreshArgs.powerCallback = this; in composite()
2764 refreshArgs.outputs.reserve(displays.size()); in composite()
2771 refreshArgs.outputs.push_back(display); in composite()
2774 refreshArgs.frameTargets.try_emplace(id, &targeter->target()); in composite()
2788 refreshArgs.outputs.push_back(display->getCompositionDisplay()); in composite()
2801 refreshArgs.bufferIdsToUncache = std::move(mBufferIdsToUncache); in composite()
2804 refreshArgs.layersWithQueuedFrames.reserve(mLayersWithQueuedFrames.size()); in composite()
2807 refreshArgs.layersWithQueuedFrames.push_back(layerFE); in composite()
2811 refreshArgs.outputColorSetting = mDisplayColorSetting; in composite()
[all …]
DSurfaceFlinger.h778 compositionengine::CompositionRefreshArgs& refreshArgs, bool cursorOnly)
780 void moveSnapshotsFromCompositionArgs(compositionengine::CompositionRefreshArgs& refreshArgs,