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
  • TracePerfTest.cpp
Find file
BlameHistoryPermalink
  • Charlie Lao's avatar
    Vulkan: minimize-gpu-work: Skip synchronization for glMapBufferRange · 939dc8d9
    Charlie Lao authored Apr 21, 2021
    glMapBufferRange call requires CPU and GPU synchronization. Different
    drivers implement this differently. Some may choose to keep multiple
    copies of data to reduce the synchronization overhead while others may
    choose to wait for GPU access to finish to save memory. While this
    behavior is important, it should be looked under the scope of overall
    game performance and we can write a standalone test for this. When
    --minimize-gpu-work is specified, we mainly care about CPU overhead of
    driver logic of state tracking. For this purpose, we should get this out
    of picture in order to expose the true picture of what we intended to
    see. This CL always adds GL_MAP_UNSYNCHRONIZED_BIT to the access bit to
    avoid driver to do synchronization or make COW.
    
    Bug: b/184766477
    Change-Id: I36228a4ed9913e26aa9ad4e8446fb42ee0182c18
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2847101Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Charlie Lao <cclao@google.com>
    939dc8d9
TracePerfTest.cpp 54.9 KB
EditWeb IDE
×

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