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

Commit 2de55088 authored by Xiang Wang's avatar Xiang Wang
Browse files

Add private ndk ref for GPU load hints

Bug: 284324521
Test: n/a
Change-Id: Ied2a6fd43ecf23482f52cbb60e2e982ef5b833d7
parent 36571639
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,
};

/**