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
  • perf_tests
  • CompilerPerf.cpp
Find file
BlameHistoryPermalink
  • Tobin Ehlis's avatar
    Vulkan: Adding custom pool allocator · 05459e06
    Tobin Ehlis authored Jan 17, 2019
    Copied pool allocator used by compiler to common and hooking it up as
    custom allocator for CommandPools. Modified it to support reallocation.
    
    RendererVk now has a private poolAllocator and VkAllocationCallbacks
    struct. The allocation callbacks are initialized to static functions
    in RendererVk::initializeDevice() and then passed to CommandPool init()
    and destroy() functions.
    
    Using the pool allocator saves Command Pool/Buffer clean-up time which
    was showing us as a bottleneck is some cases.
    
    Bug: angleproject:2951
    Change-Id: I81aa8a7ec60397676fa722d6435029db27947ef4
    Reviewed-on: https://chromium-review.googlesource.com/c/1409867
    Commit-Queue: Tobin Ehlis <tobine@google.com>
    Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    05459e06
CompilerPerf.cpp 9.78 KB
EditWeb IDE
×

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