From ec2c956acbe68177850218dd53076aa5b6802aac Mon Sep 17 00:00:00 2001 From: Mis012 Date: Sat, 16 Mar 2024 17:52:10 +0100 Subject: [PATCH] doc: update Envs.md (clarification and removal of no longer existing env) --- doc/Envs.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/Envs.md b/doc/Envs.md index 4241c410..b22bfdc6 100644 --- a/doc/Envs.md +++ b/doc/Envs.md @@ -1,10 +1,9 @@ The following environment variables are recognized by the main executable: `JDWP_LISTEN=` - if set, art will listen for a jdb connection at `` -`RUN_FROM_BUILDDIR=` - if set, will search for `libtranslation_layer.so` in current working directory +`RUN_FROM_BUILDDIR=` - if set, will search for `api-impl.jar` and `libtranslation_layer.so` in current working directory (may need `LD_LIBRARY_PATH=.` as well for `libandroid.so.0`) `ANDROID_APP_DATA_DIR=` - if set, overrides the default path of `~/.local/android_translation_layer` for storing app data -`ATL_DISABLE_WINDOW_DECORATIONS=` - if set, window decorations will be disabled; this is useful for saving screen space on phone screens, as well as working around issues with input tracking for GLSurfaceView +`ATL_DISABLE_WINDOW_DECORATIONS=` - if set, window decorations will be disabled; +this is useful for saving screen space on phone screens, as well as working around the fact that we currently don't account for the titlebar when passing screen size to apps `ATL_UGLY_ENABLE_LOCATION=` - if set, apps will be able to get location data using the relevant android APIs. (TODO: use bubblewrap) `UGLY_HACK_FOR_VR` - if set, EGL will use XWayland display on Wayland. This means the app won't be able to draw to it's window, but it will be able to use pbuffers which are not available on wayland. -`HAX_AUDIOTRACK_PCM_DEVICE` - NOTE: android.media.AudioTrack is currently re-stubbed since the implementation was not ideal and caused crashes. We should probably use libOpenSLES so we only have one place -where we deal with native audio.