diff options
| author | 2022-08-01 18:24:58 +0000 | |
|---|---|---|
| committer | 2022-08-01 18:24:58 +0000 | |
| commit | 6a434a54ee15de0f35fc3fdd2ee862214353bceb (patch) | |
| tree | b196b19ab1e56236a77f4314a8b10e6487b8bf14 | |
| parent | 576b4683118d8262776df1b591d309c1744bd7a1 (diff) | |
| parent | 614343ae2ca622b8e83d1983da06d71ffd4d4727 (diff) | |
CE: Pass the fence with the cached client composition buffer am: 3a49f0a4c5 am: 5e01f67053 am: 614343ae2c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/19466663
Change-Id: Ibb1666e4c3ff86cbc8155291d1d71c20fe6235b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | services/surfaceflinger/CompositionEngine/src/Output.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/surfaceflinger/CompositionEngine/src/Output.cpp b/services/surfaceflinger/CompositionEngine/src/Output.cpp index aea6798662..72922bb4ee 100644 --- a/services/surfaceflinger/CompositionEngine/src/Output.cpp +++ b/services/surfaceflinger/CompositionEngine/src/Output.cpp @@ -1288,7 +1288,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, |