We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8de881e + 2134856 commit cb144c7Copy full SHA for cb144c7
1 file changed
services/surfaceflinger/CompositionEngine/src/Output.cpp
@@ -1389,7 +1389,8 @@ std::optional<base::unique_fd> Output::composeSurfaces(
1389
// or complex GPU shaders and it's expensive. We boost the GPU frequency so that
1390
// GPU composition can finish in time. We must reset GPU frequency afterwards,
1391
// because high frequency consumes extra battery.
1392
- const bool expensiveRenderingExpected =
+ const bool expensiveBlurs = mLayerRequestingBackgroundBlur != nullptr;
1393
+ const bool expensiveRenderingExpected = expensiveBlurs ||
1394
std::any_of(clientCompositionLayers.begin(), clientCompositionLayers.end(),
1395
[outputDataspace =
1396
clientCompositionDisplay.outputDataspace](const auto& layer) {
0 commit comments