diff options
| author | 2025-01-15 12:55:43 -0800 | |
|---|---|---|
| committer | 2025-01-15 12:55:43 -0800 | |
| commit | e71581080b69c1a56435968d0c68e6a76dca02ab (patch) | |
| tree | 9013e8b4dcbff62d4fb085a86ed5e2febfeeb377 /libs/gui/SurfaceControl.cpp | |
| parent | cbfd32d56185720a2adad22a21ef1d193f22bd7e (diff) | |
| parent | 9c0a86bfe0b9cee1b4bbf6e65c5fe3e26921acc4 (diff) | |
Merge "Remove obsolete BLASTBufferQueue constructor" into main
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
| -rw-r--r-- | libs/gui/SurfaceControl.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/gui/SurfaceControl.cpp b/libs/gui/SurfaceControl.cpp index f126c0be2f..b735418d4b 100644 --- a/libs/gui/SurfaceControl.cpp +++ b/libs/gui/SurfaceControl.cpp @@ -141,7 +141,8 @@ sp<Surface> SurfaceControl::generateSurfaceLocked()                                   ISurfaceComposerClient::eOpaque);      mBbqChild = mClient->createSurface(String8::format("[BBQ] %s", mName.c_str()), 0, 0, mFormat,                                         flags, mHandle, {}, &ignore); -    mBbq = sp<BLASTBufferQueue>::make("[BBQ]" + mName, mBbqChild, mWidth, mHeight, mFormat); +    mBbq = sp<BLASTBufferQueue>::make("[BBQ] " + mName, /* updateDestinationFrame */ true); +    mBbq->update(mBbqChild, mWidth, mHeight, mFormat);      // This surface is always consumed by SurfaceFlinger, so the      // producerControlledByApp value doesn't matter; using false.  |