diff options
author | Bruno BELANYI <ambroisie@google.com> | 2024-04-18 14:22:22 +0000 |
---|---|---|
committer | Angle LUCI CQ <angle-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2024-04-18 15:48:03 +0000 |
commit | 7523c5dfd8cb44063e05adfd9eb76866c397d073 (patch) | |
tree | 537d52df6073dada34f22c9b0d709ecde3bee699 | |
parent | 5f532b75c296286ebf4eb404096cd5f9e533a890 (diff) | |
download | angle-7523c5dfd8cb44063e05adfd9eb76866c397d073.tar.gz |
Make 'ANGLE_CAPTURE_OUT_DIR' doc clearer
The `chmod` issue was something I experienced when trying to record an
application recently.
And making it explicit that `ANGLE_CAPTURE_OUT_DIR` (and its sibling
`debug.angle.capture.out_dir`) support absolute path would probably have
avoided that issue in the first place.
Bug: angleproject:1944
Change-Id: Ia853be244a6884f5b77c01cc67b561cc2cb45443
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5465701
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Commit-Queue: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Roman Lavrov <romanl@google.com>
-rw-r--r-- | doc/CaptureAndReplay.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/CaptureAndReplay.md b/doc/CaptureAndReplay.md index 5ee070562a..b171f1d7be 100644 --- a/doc/CaptureAndReplay.md +++ b/doc/CaptureAndReplay.md @@ -38,7 +38,8 @@ Some simple environment variables control frame capture: * `ANGLE_CAPTURE_COMPRESSION`: * Set to `0` to disable capture compression. Default is `1`. * `ANGLE_CAPTURE_OUT_DIR=<path>`: - * Can specify an alternate replay output directory. + * Can specify an alternate replay output directory. This can either be an + absolute path, or relative to CWD. * Example: `ANGLE_CAPTURE_OUT_DIR=samples/capture_replay`. Default is the CWD. * `ANGLE_CAPTURE_FRAME_START=<n>`: * Uses mid-execution capture to write "Setup" functions that starts a Context at frame `n`. @@ -137,6 +138,7 @@ as the GLES driver for your application. Then create an output directory that it can write to: ``` $ adb shell mkdir -p /sdcard/Android/data/$PACKAGE_NAME/angle_capture + $ adb shell chmod 777 /sdcard/Android/data/$PACKAGE_NAME/angle_capture ``` 2. Set properties to use for environment variable |