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
  • VertexAttributeTest.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    D3D11: Implement dirty bits for VertexArray11. · 7d8585b8
    Jamie Madill authored Mar 09, 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.
    
    BUG=angleproject:1327
    
    Change-Id: I7fb944d32ea7e6c78b9e478406bdb7e10a7fc05b
    Reviewed-on: https://chromium-review.googlesource.com/330173Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    7d8585b8
VertexAttributeTest.cpp 25.7 KB
EditWeb IDE
×

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