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

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

Merge "[layertracegenerator] avoid allocating unnecessary buffers" into...

Merge "[layertracegenerator] avoid allocating unnecessary buffers" into udc-dev am: fa823a93 am: 5e6c8350

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/22118579



Change-Id: I05efdafe7445f01b868cd85c2e01b5253778f396
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 86a33096 5e6c8350
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -27,9 +27,7 @@
namespace android::surfaceflinger {

class FakeExternalTexture : public renderengine::ExternalTexture {
    const sp<GraphicBuffer> mEmptyBuffer =
            sp<GraphicBuffer>::make(1u, 1u, PIXEL_FORMAT_RGBA_8888,
                                    GRALLOC_USAGE_SW_WRITE_OFTEN | GRALLOC_USAGE_SW_READ_OFTEN);
    const sp<GraphicBuffer> mEmptyBuffer = nullptr;
    uint32_t mWidth;
    uint32_t mHeight;
    uint64_t mId;