Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M Monado
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 67
    • Issues 67
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 42
    • Merge requests 42
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Monado
  • Monado
  • Merge requests
  • !141

WIP: Implement WINDOW_DIRECT_WAYLAND

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Drew DeVault requested to merge ddevault/monado:acquire-wl-display into master Oct 18, 2019
  • Overview 1
  • Commits 1
  • Pipelines 3
  • Changes 9

This depends on an as-of-yet nonstandardized (1) Wayland protocol and (2) Vulkan extension.

The Wayland protocol is being discussed on wayland-devel:

https://lists.freedesktop.org/archives/wayland-devel/2019-October/040940.html

An implementation is available for wlroots and sway.

The Vulkan extension is being discussed here:

https://github.com/KhronosGroup/Vulkan-Docs/pull/1001

A Mesa implementation for radv is available here. Implementing it for other drivers should be trivial if you want to test it on some other Mesa Vulkan driver; the bulk of the changes are in shared WSI code.

Open questions:

  • How much of this can we/should we share with WINDOW_DIRECT_RANDR? That file is already abstracted between DIRECT_RANDR and DIRECT_NVIDA, but both use X so the file is ill-prepared to be further abstracted for Wayland. Two functions between direct_randr/direct_nvidia and direct_wayland are 1:1 identical, and a third has a lot of similar code and may be abstractable. Perhaps code sharing is the right compromise?
  • VLAs?
Edited May 05, 2021 by Jakob Bornecrantz
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: acquire-wl-display