Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc2589e2 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Single ATRACE_CALL per function

Tracing was fixed in ag/1940080, which
was later reverted. This change re-applies
portion of the patch.

Test: m -j
Change-Id: I31cc126e6c222f6d8ae02803c037da773c9b8c4d
parent c7f0d756
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1739,7 +1739,7 @@ void SurfaceFlinger::rebuildLayerStacks() {

    // rebuild the visible layer list per screen
    if (CC_UNLIKELY(mVisibleRegionsDirty)) {
        ATRACE_CALL();
        ATRACE_NAME("rebuildLayerStacks VR Dirty");
        mVisibleRegionsDirty = false;
        invalidateHwcGeometry();