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 126
    • Merge requests 126
  • 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
  • !2415

wayland/buffer: Only query Wayland EGL buffer if display bound

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jonas Ådahl requested to merge jadahl/mutter:wip/fix-dmabuf-without-bind-wayland-egl into main May 16, 2022
  • Overview 4
  • Commits 1
  • Pipelines 6
  • Changes 7

It's not allowed to call eglQueryWaylandBuffer() if the call to eglBindWaylandDisplay() fail, and will result in an assert being hit in mesa if called.

Avoid that by keeping track whether we succeeded to bind, and only attempt to realize a legacy EGL wl_buffer if binding succeeded.


This avoids an assert in mesa.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wip/fix-dmabuf-without-bind-wayland-egl