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>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| img | Loading commit data... | |
| 64BitSafety.md | Loading commit data... | |
| AddingExtensions.md | Loading commit data... | |
| BranchingAndRolling.md | Loading commit data... | |
| BufferImplementation.md | Loading commit data... | |
| BuildingAngleForChromiumDevelopment.md | Loading commit data... | |
| CaptureAndReplay.md | Loading commit data... | |
| ChoosingANGLEBranch.md | Loading commit data... | |
| CodeReviewProcess.md | Loading commit data... | |
| CodingStandard.md | Loading commit data... | |
| CompilingTranslatorWithEmscripten.md | Loading commit data... | |
| ContributingCode.md | Loading commit data... | |
| DebuggingTips.md | Loading commit data... | |
| DevSetup.md | Loading commit data... | |
| DevSetupAndroid.md | Loading commit data... | |
| DirtyBits.md | Loading commit data... | |
| DynamicShaderCompilation.md | Loading commit data... | |
| ExtensionSupport.md | Loading commit data... | |
| ExternalBenchmarks.md | Loading commit data... | |
| MANGLE.md | Loading commit data... | |
| Orientation.md | Loading commit data... | |
| ResourceLimits.md | Loading commit data... | |
| SourceAccess.md | Loading commit data... | |
| Starter-Projects.md | Loading commit data... | |
| Update20120704.md | Loading commit data... | |
| Update20130618.md | Loading commit data... | |
| Update20131120.md | Loading commit data... | |
| Update20140325.md | Loading commit data... | |
| Update20150105.md | Loading commit data... | |
| VTF.md | Loading commit data... | |
| WritingShaderASTTransformations.md | Loading commit data... | |
| dEQP-Charts.md | Loading commit data... | |
| dEQP.md | Loading commit data... |