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.h
Find file
BlameHistoryPermalink
  • Mohan Maiya's avatar
    Vulkan: Add FastIntegerSet and FastIntegerMap class · f9a062c9
    Mohan Maiya authored Aug 16, 2020
    Add FastIntegerSet container to enable fast contains operation
    for a set of integer keys. The class uses a BitSet vector to
    achieve performance.
    
    Add FastIntegerMap container to improve buffer serial
    tracking performance. FastIntegerMap uses FastIntegerSet container
    to track buffer serial keys. It also provides an ensureCapacity
    method to reserve space, for the expected buffer count, upfront.
    
    CommandBufferHelper::mUsedBuffers and ContextVk::descriptorSetCache
    are now FastIntegerMap
    CommandBufferHelper::mRenderPassUsedImages is now a FastIntegerSet
    
    Based on a CL by Jamie
    
    Bug: angleproject:4950
    Test: angle_unittests.exe --gtest_filter=FastInteger*
    Change-Id: Ib58be20143f588baab99acadac796f2435f72d54
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2369466Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Mohan Maiya <m.maiya@samsung.com>
    f9a062c9
FastVector.h 16.6 KB
EditWeb IDE
×

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