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

Commit 20694611 authored by Matt Buckley's avatar Matt Buckley Committed by Android (Google) Code Review
Browse files

Merge "Add private ndk ref for GPU load hints" into main

parents d1a206b0 2de55088
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -53,6 +53,26 @@ enum SessionHint: int32_t {
     * CPU resources to what was used previously, and must wake up if inactive.
     */
    CPU_LOAD_RESUME = 3,

    /**
     * This hint indicates an increase in GPU workload intensity. It means that
     * this hint session needs extra GPU resources to meet the target duration.
     * This hint must be sent before reporting the actual duration to the session.
     */
    GPU_LOAD_UP = 5,

    /**
     * This hint indicates a decrease in GPU workload intensity. It means that
     * this hint session can reduce GPU resources and still meet the target duration.
     */
    GPU_LOAD_DOWN = 6,

    /*
     * This hint indicates an upcoming GPU workload that is completely changed and
     * unknown. It means that the hint session should reset GPU resources to a known
     * baseline to prepare for an arbitrary load, and must wake up if inactive.
     */
    GPU_LOAD_RESET = 7,
};

/**