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
  • Surface.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Capture/Replay: Add frame capture to cpp files. · 612b7417
    Jamie Madill authored Jul 05, 2019
    Capture is implemented mostly via code auto-generation. The capture
    requires a bit of custom logic for each captured pointer parameter. We
    handle this by using auto-generation to lay out the base template for
    each GL call and then custom logic that uses ANGLE's internals to
    know how much data to capture at which point. Client array pointers are
    captured before each draw call.
    
    Currently only GLES capture is supported. We write out cpp files and
    an optional data file accompanying each cpp. For small data chunks we
    inline them in the cpp files. For bigger chunks like texture data we
    pack them into the data file.
    
    Mid-execution capture is not yet supported. Configuring the capture is
    currently only available by modifying the cpp sources. Both of these
    features will be implemented in the future.
    
    Bug: angleproject:3611
    Change-Id: If6d5dac2f7bf363129d42ea9198162aef0d3a4ec
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1671904
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarJonah Ryan-Davis <jonahr@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    612b7417
Surface.cpp 15.2 KB
EditWeb IDE
×

Replace Surface.cpp

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.