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
  • SurfaceVk.cpp
Find file
BlameHistoryPermalink
  • Tim Van Patten's avatar
    Vulkan: Free semaphores with other in flight resources · a8b81590
    Tim Van Patten authored Feb 15, 2019
    ANGLE calls WindowSurfaceVk::nextSwapchainImage() to prepare for
    the next frame, which allocates an image (and other resources,
    like semaphore). However, it's possible for
    egl::Display::destroySurface() to be called before the next
    submitFrame(), which prevents the image from being returned back
    to the swapchain.
    
    This fix refactors swapImpl() to separate out the present work, which
    can be called as part of destroy() to return the allocated resources.
    
    dEQP-EGL.functional.query_context.get_current_context.*
    dEQP-EGL.functional.query_context.get_current_display.*
    dEQP-EGL.functional.query_context.get_current_surface.r*
    dEQP-EGL.functional.query_context.query_context.*
    
    Bug: angleproject:3057
    Change-Id: Ia943f2530e4f27d1a10ee907e810f0bbdb3bfa9a
    Reviewed-on: https://chromium-review.googlesource.com/c/1474601Reviewed-by: 's avatarIan Elliott <ianelliott@google.com>
    Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    a8b81590
SurfaceVk.cpp 39 KB
EditWeb IDE
×

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