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
  • d3d
  • d3d9
  • VertexArray9.h
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: More Vertex Array optimizations. · c759b8b4
    Jamie Madill authored Jan 03, 2019
    Inlines a number of Vulkan vertex array methods.
    
    Also changes the way vertex buffers are bound. Note that Vulkan doesn't
    support NULL buffer bindings. Thus we create an emulated NULL buffer
    to work around the problem of having gaps in the bound vertex buffers.
    This allows us to use a single bind call for ranges of vertex buffers
    even when there are gaps.
    
    Also changes how vertex array dirty bits are reset. Instead of calling
    memset to clear the affected buffers we pass a mutable pointer to the
    Vertex Array sync state. This allows us to only reset the dirty bits
    that we sync. This saves on the memory clearing time.
    
    Improves perf by about 10% in the Vulkan VBO state change test.
    
    Bug: angleproject:3014
    Change-Id: Ib7b742dff7897fc891606a652ea0b64255a24c86
    Reviewed-on: https://chromium-review.googlesource.com/c/1390360
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    c759b8b4
VertexArray9.h 1.95 KB
EditWeb IDE
×

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