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

Commit fa823a93 authored by Vishnu Nair's avatar Vishnu Nair Committed by Android (Google) Code Review
Browse files

Merge "[layertracegenerator] avoid allocating unnecessary buffers" into udc-dev

parents 939387c1 32ebda4d
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;