Loading services/surfaceflinger/CompositionEngine/src/Output.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -1389,7 +1389,8 @@ std::optional<base::unique_fd> Output::composeSurfaces( // or complex GPU shaders and it's expensive. We boost the GPU frequency so that // GPU composition can finish in time. We must reset GPU frequency afterwards, // because high frequency consumes extra battery. const bool expensiveRenderingExpected = const bool expensiveBlurs = mLayerRequestingBackgroundBlur != nullptr; const bool expensiveRenderingExpected = expensiveBlurs || std::any_of(clientCompositionLayers.begin(), clientCompositionLayers.end(), [outputDataspace = clientCompositionDisplay.outputDataspace](const auto& layer) { Loading Loading
services/surfaceflinger/CompositionEngine/src/Output.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -1389,7 +1389,8 @@ std::optional<base::unique_fd> Output::composeSurfaces( // or complex GPU shaders and it's expensive. We boost the GPU frequency so that // GPU composition can finish in time. We must reset GPU frequency afterwards, // because high frequency consumes extra battery. const bool expensiveRenderingExpected = const bool expensiveBlurs = mLayerRequestingBackgroundBlur != nullptr; const bool expensiveRenderingExpected = expensiveBlurs || std::any_of(clientCompositionLayers.begin(), clientCompositionLayers.end(), [outputDataspace = clientCompositionDisplay.outputDataspace](const auto& layer) { Loading