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
  • vulkan
  • vk_mem_alloc_wrapper.h
Find file
BlameHistoryPermalink
  • Tim Van Patten's avatar
    Vulkan: Support dumping VMA stats string · 1e435d07
    Tim Van Patten authored Oct 14, 2020
    This CL adds support for dumping the VMA stats string, which can be
    given to VmaDumpVis.py to visualize the allocations that the VMA has
    performed.
    
    To enable dumping the string, set:
    RendererVk.cpp
      rx::kOutputVmaStatsString = true
    
    Copy the desired JSON output into a text file, and pass that to
    VmaDumpVis.py:
    python3 \
      third_party/vulkan_memory_allocator/tools/VmaDumpVis/VmaDumpVis.py \
      -o stats.png stats.txt
    
    The legend for the visualization is available at:
    https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/tree/master/tools/VmaDumpVis
    
    Bug: angleproject:2162
    Test: Manual verification
    Change-Id: Ic8c1002805dd57e594df724bcf1cdbc1d1599a3e
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2472525Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCharlie Lao <cclao@google.com>
    Commit-Queue: Tim Van Patten <timvp@google.com>
    1e435d07
vk_mem_alloc_wrapper.h 2.68 KB
EditWeb IDE
×

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