diff options
| author | 2021-01-22 16:06:49 -0800 | |
|---|---|---|
| committer | 2021-01-22 16:07:14 -0800 | |
| commit | 2e2fbda28a5a42bed03fd8bafb4617d5e0edeec8 (patch) | |
| tree | 2aa4ecc7d2102bdcff7762b66d98cb735f9488b6 | |
| parent | 2fc978ff528a7c3843524e4e4feea424bc680ffe (diff) | |
Wait for buffers to be latched in ChildLayerTest
Fixes: 176596429
Test: atest SurfaceFlinger_test:ChildLayerTest --rerun-until-failure 100
Change-Id: I3dd3258c6e1f3669cf71df6cbe39a537f336c6a5
| -rw-r--r-- | services/surfaceflinger/tests/LayerUpdate_test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/tests/LayerUpdate_test.cpp b/services/surfaceflinger/tests/LayerUpdate_test.cpp index 29473f20a4..6c56d209d4 100644 --- a/services/surfaceflinger/tests/LayerUpdate_test.cpp +++ b/services/surfaceflinger/tests/LayerUpdate_test.cpp @@ -299,6 +299,7 @@ protected: mChild = createSurface(mClient, "Child surface", 10, 15, PIXEL_FORMAT_RGBA_8888, 0, mFGSurfaceControl.get()); TransactionUtils::fillSurfaceRGBA8(mChild, 200, 200, 200); + waitForPostedBuffers(); { SCOPED_TRACE("before anything"); |