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
  • BufferSubData.cpp
Find file
BlameHistoryPermalink
  • Mohan Maiya's avatar
    Vulkan: Acquire a new BufferHelper from the pool based on a threshold · cf8422c2
    Mohan Maiya authored May 19, 2020
    We acquire a new BufferHelper from the pool when the app updates the
    data of the entire buffer. In scenarios where the app updates say, 60%
    of the buffer it would still be benificial to acquire a new buffer and
    copy over the remaining 40% of data from the old buffer to the new one.
    This reduces the transfer workload from 60% to 40% of buffer size.
    Currently the threshold is set to 50% of buffer size.
    
    Bug: angleproject:4380
    Change-Id: I12576c585230e771d4c1a4352fab93dd3db2ecef
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2204655
    Commit-Queue: Mohan Maiya <m.maiya@samsung.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    cf8422c2
BufferSubData.cpp 10.3 KB
EditWeb IDE
×

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