From 44af71cc943fbc68e176a69fd70ce2fead0e233a Mon Sep 17 00:00:00 2001 From: Keirthana T S Date: Tue, 16 Jan 2024 10:35:39 +0530 Subject: [PATCH] Add GL sync swap support --- ref/ams-configuration.tmpl.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ref/ams-configuration.tmpl.md b/ref/ams-configuration.tmpl.md index 804e69d3..c274d98b 100644 --- a/ref/ams-configuration.tmpl.md +++ b/ref/ams-configuration.tmpl.md @@ -87,3 +87,11 @@ To enable the Android container to use a custom Android ID, add the feature flag * The `` 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.