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

Commit 33aee5c9 authored by Rob Carr's avatar Rob Carr Committed by Automerger Merge Worker
Browse files

Merge "SurfaceControl: Ensure unused fields are zeroed" into tm-dev am: 4b012920

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

Change-Id: I45bbcfb74cecabdb1bf45f89dfbd467e1e1e8f67
parents 3787e6b0 4b012920
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -70,6 +70,7 @@ SurfaceControl::SurfaceControl(const sp<SurfaceControl>& other) {
    mLayerId = other->mLayerId;
    mWidth = other->mWidth;
    mHeight = other->mHeight;
    mFormat = other->mFormat;
    mCreateFlags = other->mCreateFlags;
}

+6 −6
Original line number Diff line number Diff line
@@ -121,12 +121,12 @@ private:
    mutable sp<Surface>         mSurfaceData;
    mutable sp<BLASTBufferQueue> mBbq;
    mutable sp<SurfaceControl> mBbqChild;
    int32_t mLayerId;
    uint32_t mTransformHint;
    uint32_t mWidth;
    uint32_t mHeight;
    PixelFormat mFormat;
    uint32_t mCreateFlags;
    int32_t mLayerId = 0;
    uint32_t mTransformHint = 0;
    uint32_t mWidth = 0;
    uint32_t mHeight = 0;
    PixelFormat mFormat = PIXEL_FORMAT_NONE;
    uint32_t mCreateFlags = 0;
    uint64_t mFallbackFrameNumber = 100;
};