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
  • Tobin Ehlis's avatar
    Avoid flush/invalidate of host-coherent memory · f5aad063
    Tobin Ehlis authored Sep 19, 2018
    For DynamicBuffer avoid calling vkFlushMappedMemoryRanges() or
    vkInvalidateMappedMemoryRanges() if the underlying memory is host-
    coherent. These calls are not required for host-coherent memory and
    may negatively impact performance.
    
    When currently allocating HOST_VISIBLE memory it's possible to also get
    HOST_COHERENT memory even though it's not explicitly requested. Because
    of this, the change updates the memory allocaiton interfaces through
    the stack to pass back the actual allocated memory properties so that
    it can be checked to see if it's host-coherent.
    
    Bug: angleproject:2804
    Change-Id: Ife95c4b98115b16d16c087dd72dba7d9661fdb46
    Reviewed-on: https://chromium-review.googlesource.com/1234276
    Commit-Queue: Tobin Ehlis <tobine@google.com>
    Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
    f5aad063
BufferVk.cpp 10.1 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.