Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • doc
  • CaptureAndReplay.md
Find file
BlameHistoryPermalink
  • Cody Northrop's avatar
    Capture/Replay: Allow starting capture at an unknown frame · a7cbb3f0
    Cody Northrop authored Aug 10, 2020
    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: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarManh Nguyen <nguyenmh@google.com>
    a7cbb3f0
CaptureAndReplay.md 8.63 KB
EditWeb IDE
×

Replace CaptureAndReplay.md

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.