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

Commit f376e898 authored by Vishnu Nair's avatar Vishnu Nair Committed by Automerger Merge Worker
Browse files

CE: Pass the fence with the cached client composition buffer am: 3a49f0a4

parents 2a3768e2 3a49f0a4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1218,7 +1218,8 @@ std::optional<base::unique_fd> Output::composeSurfaces(
            ATRACE_NAME("ClientCompositionCacheHit");
            outputCompositionState.reusedClientComposition = true;
            setExpensiveRenderingExpected(false);
            return base::unique_fd();
            // b/239944175 pass the fence associated with the buffer.
            return base::unique_fd(std::move(fd));
        }
        ATRACE_NAME("ClientCompositionCacheMiss");
        mClientCompositionRequestCache->add(tex->getBuffer()->getId(), clientCompositionDisplay,