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

Commit b4802413 authored by Eino-Ville Talvala's avatar Eino-Ville Talvala Committed by Android (Google) Code Review
Browse files

Merge "Window: Add query for consumer usage bits."

parents ddff6230 f88a5b4f
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -230,7 +230,13 @@ enum {
     * Boolean that indicates whether the consumer is running more than
     * one buffer behind the producer.
     */
    NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND = 9
    NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND = 9,

    /*
     * The consumer gralloc usage bits currently set by the consumer.
     * The values are defined in hardware/libhardware/include/gralloc.h.
     */
    NATIVE_WINDOW_CONSUMER_USAGE_BITS = 10
};

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