Skip to content

Commit

Permalink
Merge pull request #18 from keirthana/add-gl-async-swap-support
Browse files Browse the repository at this point in the history
Add GL sync swap support
  • Loading branch information
keirthana authored Jan 16, 2024
2 parents 5bd3268 + 44af71c commit 74079dd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ref/ams-configuration.tmpl.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,11 @@ To enable the Android container to use a custom Android ID, add the feature flag
* The `<android_id>` is a unique ID that represents the Android ID for the targeting application. It must be at least 16 characters in length.

Once set, this feature flag will be considered by all newly launched instances.

#### GL Async Swap Support

*since 1.19.0*

GL Async swap support is enabled by default for explicit signals of buffer swaps completion. To disable the GL async object feature, add the feature flag `emugl.disable_async_swap_support` upon application creation. Once the async swap support is disabled, Anbox Cloud will not use the host GL driver fence commands and file descriptors to synchronise the finished frames between the host and guest. Instead, it will fully rely on the host GPU driver to do so. The environment variable `ANBOX_ASYNC_SWAP_DISABLED_PACKAGES` that accepts a comma-separated list of package names can be used to prevent certain packages from using the async object.

Once set, this feature flag will be considered by all newly launched instances.

0 comments on commit 74079dd

Please sign in to comment.