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
  • BufferVk.cpp
Find file
BlameHistoryPermalink
  • Charlie Lao's avatar
    Vulkan: MapBufferRange should avoid wait if INVALIDATE_BUFFER is set · 0c5a55a5
    Charlie Lao authored Dec 17, 2020
    If glMapBufferRange is called with GL_MAP_INVALIDATE_BUFFER_BIT bit set,
    caller indicates that it don't care about the previous content. If the
    buffer is busy, instead of wait for GPU to finish and then map the
    buffer, we should just allocate a new memory and return it.
    
    brawl_stars is hitting this case. With this CL, the frame time is
    cutting to half on the pixel device.
    
    Bug: b/175905404
    Change-Id: If1220f07ebf53dd28fe6a4732eaba84e2e57598e
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2597784Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    Commit-Queue: Charlie Lao <cclao@google.com>
    0c5a55a5
BufferVk.cpp 29.4 KB
EditWeb IDE
×

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