Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mutter mutter
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1.2k
    • Issues 1.2k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and 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
  • GNOMEGNOME
  • muttermutter
  • Merge requests
  • !2386

wayland/dma-buf: Only advertise supported formats

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Robert Mader requested to merge rmader/mutter:issue2238 into main Apr 25, 2022
  • Overview 17
  • Commits 2
  • Pipelines 10
  • Changes 1

Analogous to how we use eglQueryDmaBufModifiersEXT() to query supported modifiers, use eglQueryDmaBufFormatsEXT() to ensure we only advertise formats supported by both the compositor and the driver.

If there is no overlap, don't advertise zwp_linux_dmabuf_v1 at all.

Closes #2238 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: issue2238