summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/LayerRenderArea.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2023-02-09 18:27:02 +0000
committer Vishnu Nair <vishnun@google.com> 2023-02-09 18:34:11 +0000
commitacb18f43f492ea00f733b6bdaee3f3def8f9c1ce (patch)
tree241d64a804688622ba669047a07ceb4c228e31d9 /services/surfaceflinger/LayerRenderArea.cpp
parentff74a4098caa4e7568acbfb7f429dcc0103e22e4 (diff)
Revert "SF: Introduce new frontend logic"
This reverts commit d691322f979c8b76c54c30a15bfe40200d61d6e1. Reason for revert: b/267736365 Change-Id: I2625d645303549c38057c46afea59a25fd044199
Diffstat (limited to 'services/surfaceflinger/LayerRenderArea.cpp')
-rw-r--r--services/surfaceflinger/LayerRenderArea.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/services/surfaceflinger/LayerRenderArea.cpp b/services/surfaceflinger/LayerRenderArea.cpp
index 03a7f226ed..2b4375b0fa 100644
--- a/services/surfaceflinger/LayerRenderArea.cpp
+++ b/services/surfaceflinger/LayerRenderArea.cpp
@@ -69,14 +69,6 @@ Rect LayerRenderArea::getSourceCrop() const {
void LayerRenderArea::render(std::function<void()> drawLayers) {
using namespace std::string_literals;
- if (!mChildrenOnly) {
- mTransform = mLayer->getTransform().inverse();
- }
-
- if (mFlinger.mLayerLifecycleManagerEnabled) {
- drawLayers();
- return;
- }
// If layer is offscreen, update mirroring info if it exists
if (mLayer->isRemovedFromCurrentState()) {
mLayer->traverse(LayerVector::StateSet::Drawing,
@@ -86,6 +78,7 @@ void LayerRenderArea::render(std::function<void()> drawLayers) {
}
if (!mChildrenOnly) {
+ mTransform = mLayer->getTransform().inverse();
// If the layer is offscreen, compute bounds since we don't compute bounds for offscreen
// layers in a regular cycles.
if (mLayer->isRemovedFromCurrentState()) {