Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE: OboeTester: Add game mode for testing dynamic workload activity #2137

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robertwu1
Copy link
Collaborator

Note that GameMode and GameState are different.
GameMode is the actual performance mode of the game (STANDARD, PERFORMANCE, BATTERY).
GameState takes in at least 2 parameters, isLoading and Mode (GAMEPLAY_INTERRUPTIBLE, GAMEPLAY_UNINTERRUPTIBLE, CONTENT), and is the app specified state and used for system optimization.

GameManager allows apps to set GameState and users to set the GameMode. To set the GameMode, you must switch the game mode manually with the Game Dashboard outside of the game.

It seems like GameMode is an API that allows apps to handle each of the 3 modes (STANDARD, PERFORMANCE, BATTERY) differently.

If audio apps were to use the game mode API, they can consider changing different buffer sizes depending on the mode.

@robertwu1 robertwu1 requested a review from philburk January 15, 2025 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant