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
  • capture
  • FrameCapture.cpp
Find file
BlameHistoryPermalink
  • Gert Wollny's avatar
    Capture/Replay: Emit InitializeReplay() late · dba2e136
    Gert Wollny authored May 13, 2021
    Only emit InitializeReplay() after all captured frames have been run,
    so that the readBufferSize and the maxClientArraySize are really
    sufficiently large for all frames.
    
    To achieve this a layer of indirection is added, that is because
    InitializeReplay() has to be called from SetupFrame() which is still
    emitted with the first frame, a new function InitReplay() is added.
    The call to this  function is emitted with the first frame, buts its
    body is emitted after the last frame has been captured.
    
    Bug: angleproject:5965
    Change-Id: Ic38791b4c02989594ec87d1ba3f031fd81471314
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2940841Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com>
    Commit-Queue: Cody Northrop <cnorthrop@google.com>
    dba2e136
FrameCapture.cpp 215 KB
EditWeb IDE
×

Replace FrameCapture.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.