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
  • Context.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: Fix cleanup race condition on Context destroy · 905ee082
    Shahbaz Youssefi authored Oct 26, 2018
    In Context::onDestroy(), e7b3fe21 had
    moved surface deletion first which down the line caused
    RendererVk::finish() to be called.
    
    bf7b95db however made surface deletion
    unnecessary, which means finish was never called.
    
    This commit adds an explicit finish in Context::onDestroy().  In truth,
    the wait is only necessary until all command buffers submitted for this
    particular context have finished.  This optimization is deferred to a
    possible future work.
    
    Bug: angleproject:2811
    Change-Id: I56e6c88d3b4a6ec73f70d80d7775a0c85be651ea
    Reviewed-on: https://chromium-review.googlesource.com/c/1302838
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    905ee082
Context.cpp 279 KB
EditWeb IDE
×

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