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

Commit cc0297c2 authored by Vishnu Nair's avatar Vishnu Nair
Browse files

Add enable backpressure layer flag

Test: presubmit
Bug: 176967609
Change-Id: I1875f1d4098154fac55d48e1f68babc3eed5a8ff
parent 83043c0c
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -416,6 +416,15 @@ public final class SurfaceControl implements Parcelable {
     */
    public static final int SECURE = 0x00000080;


    /**
     * Queue up BufferStateLayer buffers instead of dropping the oldest buffer when this flag is
     * set. This blocks the client until all the buffers have been presented. If the buffers
     * have presentation timestamps, then we may drop buffers.
     * @hide
     */
    public static final int ENABLE_BACKPRESSURE = 0x00000100;

    /**
     * Surface creation flag: Creates a surface where color components are interpreted
     * as "non pre-multiplied" by their alpha channel. Of course this flag is