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.cpp
Find file
BlameHistoryPermalink
  • David Reveman's avatar
    Vulkan: Use 4 MB as preferredLargeHeapBlockSize for allocator. · 9a19a996
    David Reveman authored Aug 26, 2020
    This reduces preferredLargeHeapBlockSize from the default
    value of 256 MB to 4 MB, which reduces the initial block
    size from 32 MB to 512 KB.
    
    4 MB is the same size as used by Chromium and Skia. It seems
    to be a good compromise of not wasting unused allocated space
    and not making too many small allocations.
    
    This change is limited to non-Qualcomm GPUs as a number of
    tests are failing on Qualcomm after this change and the
    initial investigation indicates a potential driver bug. See
    http://anglebug.com/4995 for more details.
    
    Bug: chromium:1122718
    Bug: fuchsia:58959
    Change-Id: Ifdaf863ef38e72098a04ee57dec46ee71cab6ac3
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2376891Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Commit-Queue: David Reveman <reveman@chromium.org>
    9a19a996
vk_mem_alloc_wrapper.cpp 6.42 KB
EditWeb IDE
×

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