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
  • renderer
  • metal
  • mtl_command_buffer.h
Find file
BlameHistoryPermalink
  • Le Hoang Quyen's avatar
    Metal: deferred render command encoder creation. · 113c5e29
    Le Hoang Quyen authored May 11, 2020
    MTLRenderCommandEncoder creation will be deferred until a render pass
    ends.
    Commands will be stored into a back-end owned buffer during render pass.
    At the end of the render pass, those commands will be re-encoded into an
    actual MTLRenderCommandEncoder.
    
    Benefits:
    - Useful for future implementation of occlusion query buffer where it
      could be allocated right before the end of a render pass to be big
      enough to store all queries within the render pass.
    - It's possible to change load option (deferred clear) as long as there
      is no draw call issued yet. This is not implemented yet.
    - Possibility of commands' re-ordering.
    
    Bug: angleproject:2634
    Change-Id: I1348716aa882c0540d9120bf175d8dac13fb58bd
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2193196
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarJonah Ryan-Davis <jonahr@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    113c5e29
mtl_command_buffer.h 20.3 KB
EditWeb IDE
×

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