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

Commit 6399d457 authored by Jiwen Cai's avatar Jiwen Cai Committed by Android (Google) Code Review
Browse files

Merge "Add NATIVE_WINDOW_CONSUMER_IS_PROTECTED enum" into oc-dev

parents d512ac99 faa4c188
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -334,6 +334,12 @@ enum {
     * present info, 0 if it won't.
     */
    NATIVE_WINDOW_FRAME_TIMESTAMPS_SUPPORTS_PRESENT = 18,

    /*
     * The consumer end is capable of handling protected buffers, i.e. buffer
     * with GRALLOC_USAGE_PROTECTED usage bits on.
     */
    NATIVE_WINDOW_CONSUMER_IS_PROTECTED = 19,
};

/* Valid operations for the (*perform)() hook.