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

Commit 9c3cb1a9 authored by chaviw's avatar chaviw
Browse files

Merge releaseBufferEndpoint in LayerState

If T1 has a buffer update and gets merged into T2, where T2 modified the
same SC, we need to ensure releaseBufferEndpoint is also merged.

Test: split, pip
Fixes: 196198502
Change-Id: I836d32f4c439235a91a4c933a1b477813f6726a2
parent 9ea0a767
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -463,6 +463,7 @@ void layer_state_t::merge(const layer_state_t& other) {
    if (other.what & eBufferChanged) {
        what |= eBufferChanged;
        buffer = other.buffer;
        releaseBufferEndpoint = other.releaseBufferEndpoint;
    }
    if (other.what & eAcquireFenceChanged) {
        what |= eAcquireFenceChanged;