-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm, launcher: Allow passing parameters at platform setup time
Add a new --platform-params/-O command line option and have its value passed down to cog_platform_setup() to allow passing an arbitrary string to the platform module initialization. While at it, allow setting both the rotation and renderer properties of CogDrmPlatform this way, which is in particular important for the renderer property because it is construct-only and there is no suitable mechanism to set construct-only properties for CogPlatform subclasses at the moment.
- Loading branch information
Showing
2 changed files
with
65 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters