Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mutter mutter
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,105
    • Issues 1,105
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 129
    • Merge requests 129
  • 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
  • !2191

Draft: Wayland: Add support for YUV formats

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Robert Mader requested to merge rmader/mutter:meta-multi-texture into main Jan 01, 2022
  • Overview 35
  • Commits 7
  • Pipelines 42
  • Changes 25

Motivation

Supporting YUV formats allows applications to offload YUV->RGBA conversions to the compositor. This alone is not a big win, however the compositor in turn may be able to offload the conversion to the display hardware. This can improve performance and reduce energy consumption substantially, especially on mobile or embedded devices.

Supporting this feature also makes Mutter a more attractive development platform for people working on software for e.g. embedded devices - this is partly my personal motivation.

Status

This MR allows to correctly display the output of weston-simple-dmabuf-v4l and of some WIP test clients. Single-plane packed YUYV, two-planeNV12 and triple-plane YUV420 formats should work.

Hardware offloading may or may not work. !2660 may help with testing.

This MR is a rebase of https://gitlab.gnome.org/GNOME/mutter/-/tree/wip/nielsdg/meta-multi-texture-wip by @nielsdg. The incomplete support for shm-buffers and EGLimage have been removed again, only DMABUF will be supported for now.


Closes #1366

Edited Nov 11, 2022 by Robert Mader
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: meta-multi-texture