Files
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 <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Manh Nguyen <[email protected]>
2020-08-11 22:24:58 +00:00
..
2016-12-13 04:43:32 +00:00
2020-03-27 19:58:54 +00:00
2019-07-26 18:03:11 +00:00
2017-11-29 21:34:00 +00:00
2019-01-23 15:31:55 +00:00
2017-11-29 21:34:00 +00:00
2017-11-29 21:34:00 +00:00
2017-11-29 21:34:00 +00:00
2016-12-13 04:43:32 +00:00