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
    Capture/Replay: Track buffer contents by ID · 84323449
    Cody Northrop authored Mar 30, 2020
    This CL updates how we restore buffer data after the client has
    unmapped it.  We do this because we have no visibility into
    whether the buffer has been changed while mapped.
    
    Tracking a buffer map/unmap pairing by target as we have been is
    insufficient as apps can bind multiple buffers in succession before
    rebinding and unmapping selectively.
    
    To avoid this, we change our buffer data resource tracking to use
    the buffer ID instead of target.
    
    Also, since the app can map multiple buffers, we need to track the
    active buffer during MapBufferRange so we can use it during replay
    to restore from the appropriate handle.  This is a deferred
    operation, so we store it as a new member of the ParamBuffer to
    preserve the information.
    
    Test: Temple Run capture and replay
    Bug: b:152512564
    Bug: angleproject:3662
    Change-Id: I1d3f594b496e5675e814b82acb4a238f845e26d6
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2128328
    Commit-Queue: Cody Northrop <cnorthrop@google.com>
    Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
    84323449
FrameCapture.h 14.9 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.