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
  • RendererVk.h
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: fix glGetQueryObject not flushing · c4765aa7
    Shahbaz Youssefi authored Oct 12, 2018
    glGetQueryObject* requires forward progress in the queue regardless of
    whether we are waiting on the result or busy-looping over whether the
    results are available.  This commit calls flush() if the query has
    pending work.
    
    Additionally, this fixes a race condition where glGetQueryObject* may be
    accessing a query whose corresponding batch has been submitted but not
    yet executed.  In such a case, the GPU may not have already reset the
    query, so we have to wait on the fence of that batch to make sure the
    query results are reliably available.
    
    Bug: angleproject:2855
    Change-Id: I977909c6526c0778a13722a8b8b73e54ad0202f6
    Reviewed-on: https://chromium-review.googlesource.com/c/1279125
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    c4765aa7
RendererVk.h 10.8 KB
EditWeb IDE
×

Replace RendererVk.h

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.