angle/doc
Cody Northrop a7cbb3f06f Capture/Replay: Allow starting capture at an unknown frame
This CL adds a new way to set the start frame of a capture.
It adds a new environment variable called ANGLE_CAPTURE_TRIGGER
that, when set, will be used instead of frame start and end.

By setting ANGLE_CAPTURE_TRIGGER to a non-zero value, ANGLE will
capture that many frames when the value changes. For example,
on Android, we can set it with:

  adb shell setprop debug.angle.capture.trigger 20

When we reach the target content, set the value back to zero:

  adb shell setprop debug.angle.capture.trigger 0

and ANGLE will start capturing 20 frames.

Currently only hooked up for Android, but should be possible to
support on other platforms.

Test: Capture application frames using trigger
Bug: angleproject:4949
Change-Id: I469ef5c48feb78c85b8cda2fefd5df59e495bbe2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2347858
Commit-Queue: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Manh Nguyen <nguyenmh@google.com>
2020-08-11 22:24:58 +00:00
..
img Update CaptureAndReplay.md and Python script with links 2020-07-27 15:17:02 +00:00
64BitSafety.md
AddingExtensions.md Revise documentation on adding EGL extensions. 2020-07-15 20:54:25 +00:00
BranchingAndRolling.md
BufferImplementation.md
BuildingAngleForChromiumDevelopment.md
CaptureAndReplay.md Capture/Replay: Allow starting capture at an unknown frame 2020-08-11 22:24:58 +00:00
ChoosingANGLEBranch.md doc: Chromium branch autorollers 2020-06-04 21:42:02 +00:00
CodeReviewProcess.md
CodingStandard.md Update style guide for reference on container object 2020-06-25 18:14:43 +00:00
CompilingTranslatorWithEmscripten.md
ContributingCode.md Update OWNERS information. 2020-03-27 19:58:54 +00:00
DebuggingTips.md Vulkan: Use volk to load vk* func ptrs 2019-12-16 20:08:39 +00:00
DevSetup.md D3D: Make possible to build angle without D3D11 2020-07-22 15:01:05 +00:00
DevSetupAndroid.md docs: Update ANGLE for Android documentation 2020-05-27 23:02:18 +00:00
DirtyBits.md Vulkan: Split Vulkan docs from README.md into doc/ 2019-08-30 16:40:57 +00:00
DynamicShaderCompilation.md
ExtensionSupport.md
ExternalBenchmarks.md
MANGLE.md
Orientation.md
ResourceLimits.md
SourceAccess.md
Starter-Projects.md
Update20120704.md
Update20130618.md
Update20131120.md
Update20140325.md
Update20150105.md
VTF.md
WritingShaderASTTransformations.md Don't build symbol table for GLSL built-ins if on Android 2019-08-23 16:43:26 +00:00
dEQP-Charts.md Update dEQP charts. 2019-07-26 18:03:11 +00:00
dEQP.md docs: Document how to use ANGLE on Android 2020-03-09 16:38:36 +00:00