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
  • src
  • libANGLE
  • FrameCapture.h
Find file
BlameHistoryPermalink
  • Cody Northrop's avatar
    Add flag to label captures · 1d77542f
    Cody Northrop authored Dec 03, 2019
    Add an optional parameter (ANGLE_CAPTURE_LABEL) to
    ANGLE frame capture that tags files and functions
    uniquely, allowing multiple frame captures to be
    replayed by a test harness.
    
    Example:
    
      ANGLE_CAPTURE_LABEL=foo
    
    Results in filenames like this:
    
      foo_capture_context1.cpp
      foo_capture_context1.h
      foo_capture_context1_files.txt
      foo_capture_context1_frame000.angledata
      foo_capture_context1_frame000.cpp
      foo_capture_context1_frame001.angledata
      foo_capture_context1_frame001.cpp
      ...
    
    Functions wrapped in namespaces like this:
    
      namespace foo
      {
          void ReplayContext1Frame0();
          void ReplayContext1Frame1();
      }
    
    For use like this:
    
      foo::SetupContext1Replay();
      for (...)
      {
          foo::ReplayContext1Frame(i);
      }
    
    Bug: angleproject:3630
    Change-Id: Ibe27dc4d40a36606ee40678a9e4d43b5a4baf976
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1949603
    Commit-Queue: Cody Northrop <cnorthrop@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    1d77542f
FrameCapture.h 11 KB
EditWeb IDE
×

Replace FrameCapture.h

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.