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

Commit efa19c2c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "blast: adding a buffer doesn't make the frame dirty"

parents 336d3323 0a3a2b53
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -198,7 +198,6 @@ bool BufferStateLayer::setBuffer(const sp<GraphicBuffer>& buffer) {
        mReleasePreviousBuffer = true;
    }

    mCurrentState.sequence++;
    mCurrentState.buffer = buffer;
    mCurrentState.modified = true;
    setTransactionFlags(eTransactionNeeded);
@@ -217,7 +216,6 @@ bool BufferStateLayer::setAcquireFence(const sp<Fence>& fence) {

bool BufferStateLayer::setDataspace(ui::Dataspace dataspace) {
    if (mCurrentState.dataspace == dataspace) return false;
    mCurrentState.sequence++;
    mCurrentState.dataspace = dataspace;
    mCurrentState.modified = true;
    setTransactionFlags(eTransactionNeeded);