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
  • common
  • FastVector_unittest.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Optimize resource tracking in CommandBufferHelper. · 5e5b7537
    Jamie Madill authored Aug 10, 2020
    Introduces a FastUnorderedMap class that uses FastVector. This type
    uses static storage for up to a small fixed number of elements and
    uses dynamic storage for anything larger.
    
    Local testing shows this almost fully solves the regression from
    using unordered_map. It's still slightly slower than using no
    tracking (<5%).
    
    Very degenerate cases which track dozens or more buffers will still
    have significant overhead. For almost all applications that use only
    a few buffers per RenderPass this will be very fast.
    
    Test: angle_perftests, *vulkan_null_index_buffer_changed_ushort
    Bug: angleproject:4950
    Bug: angleproject:4429
    Change-Id: I39edeaaa159124167f1ea23ad2e6eac5e9220d0b
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2348108Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
    Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    5e5b7537
FastVector_unittest.cpp 5.73 KB
EditWeb IDE
×

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