Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,697
    • Issues 2,697
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 908
    • Merge requests 908
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Merge requests
  • !1341

vulkan/wsi: update swapchain status on vkQueuePresent

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Lionel Landwerlin requested to merge llandwerlin/mesa:review/vulkan-wsi-present-status into master Jul 15, 2019
  • Overview 5
  • Commits 1
  • Pipelines 3
  • Changes 1

With the following chain of events :

   vkQueuePresent()
   <- Surface resize
   vkQueuePresent()

We should be able to report SUBOPTIMAL or OUT_OF_DATE on the second vkQueuePresent() call. Currently we only look at X11 events in the vkAcquireNextImage() path so we're not able to report this.

This change checks the queue of events and process any available ones to update the swapchain status.

Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111097 Cc: mesa-stable@lists.freedesktop.org

Edited Jul 15, 2019 by Lionel Landwerlin
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: review/vulkan-wsi-present-status