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

Commit 7da6fa7a authored by Andy Yu's avatar Andy Yu Committed by Android (Google) Code Review
Browse files

Merge "Add GRAPHICS_PIPELINE session mode" into main

parents bbff3aed 2be5ae89
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -35,4 +35,5 @@ package android.hardware.power;
@Backing(type="int") @VintfStability
enum SessionMode {
  POWER_EFFICIENCY,
  GRAPHICS_PIPELINE,
}
+7 −0
Original line number Diff line number Diff line
@@ -25,4 +25,11 @@ enum SessionMode {
     * and can be safely scheduled to prefer power efficiency.
     */
    POWER_EFFICIENCY,

    /**
     * This mode indicates that the threads associated with this hint session
     * are part of the graphics pipeline, implying that they are on a critical path
     * which will be called of higher priority in terms of CPU resources and scheduling.
     */
    GRAPHICS_PIPELINE,
}