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

Commit 614343ae 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 am: 5e01f670

parents b878ded4 5e01f670
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1243,7 +1243,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,