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
  • VertexArray.h
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Re-re-land "D3D11: Implement dirty bits for VertexArray11."" · 52b09c2f
    Jamie Madill authored Apr 11, 2016
    Translated attributes are now stored in the VertexArray11 in a cache,
    and only updated when dirty bits change. Currently dynamic attributes
    must be re-translated every call, so these are stored in a list and
    processed repeatedly.
    
    This skips doing a lot of the VertexDataManager work for vertex
    attributes that don't change between draw calls.
    
    Current value attributes, which correspond to disabled attributes that
    the program will pulls vertex data from, are owned by the Context, so
    these need to be handled outside of the VertexArray11.
    
    Further changes will be necessary to reduce the redundant work we do in
    the InputLayoutCache. We shouldn't need to re-check the cache if
    nothing relevant changed.
    
    This give about a 23% performance improvement on the draw call
    benchmark on my machine.
    
    Re-land with a fix for the start vertex offset.
    
    Re-re-land with a fix for using XFB with deleted buffers.
    
    BUG=angleproject:1327
    
    Change-Id: I0fba49515375c149bbf54d933f8d1f747fbb8158
    Reviewed-on: https://chromium-review.googlesource.com/338003Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    52b09c2f
VertexArray.h 4.04 KB
EditWeb IDE
×

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