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

Commit 4ade7bf4 authored by Robert Carr's avatar Robert Carr Committed by Rob Carr
Browse files

TransactionTracing: Set acquire fence on rebuild

When rebuilding the layer state, we have to set NO_FENCE
or things can crash.

Bug: 200284593
Change-Id: I5666cd6e083c996ba77f1e1c8a6acb2303850f52
parent de97b141
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -431,6 +431,7 @@ void TransactionProtoParser::fromProto(const proto::LayerState& proto, layer_sta
        layer.bufferData->frameNumber = bufferProto.frame_number();
        layer.bufferData->flags = Flags<BufferData::BufferDataChange>(bufferProto.flags());
        layer.bufferData->cachedBuffer.id = bufferProto.cached_buffer_id();
        layer.bufferData->acquireFence = Fence::NO_FENCE;
    }

    if (proto.what() & layer_state_t::eApiChanged) {