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

Commit f0acb0de authored by Hongguang Chen's avatar Hongguang Chen Committed by Android (Google) Code Review
Browse files

Merge "Fix bootanimation not display as expected." into main

parents e4143678 d376d81c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -55,8 +55,8 @@ FramebufferSurface::FramebufferSurface(HWComposer& hwc, PhysicalDisplayId displa
                                       const ui::Size& size, const ui::Size& maxSize)
      : ConsumerBase(producer, consumer),
        mDisplayId(displayId),
        mLimitedSize(limitSize(size)),
        mMaxSize(maxSize),
        mLimitedSize(limitSize(size)),
        mCurrentBufferSlot(-1),
        mCurrentBuffer(),
        mCurrentFence(Fence::NO_FENCE),
+2 −2
Original line number Diff line number Diff line
@@ -76,12 +76,12 @@ private:

    const PhysicalDisplayId mDisplayId;

    const ui::Size mLimitedSize;

    // Framebuffer size has a dimension limitation in pixels based on the graphics capabilities of
    // the device.
    const ui::Size mMaxSize;

    const ui::Size mLimitedSize;

    // mCurrentBufferIndex is the slot index of the current buffer or
    // INVALID_BUFFER_SLOT to indicate that either there is no current buffer
    // or the buffer is not associated with a slot.