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
  • tests
  • gl_tests
  • BufferDataTest.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Re-land "D3D11: Implement dirty bits for VertexArray11."" · 3477f3a6
    Jamie Madill authored Mar 29, 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.
    
    BUG=angleproject:1327
    
    Change-Id: Ic23e48fb18ed7f29c1999914a2f799ac04aa03e9
    Reviewed-on: https://chromium-review.googlesource.com/334225Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    3477f3a6
BufferDataTest.cpp 14.9 KB
EditWeb IDE
×

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