Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • wlroots wlroots
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 314
    • Issues 314
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 103
    • Merge requests 103
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wlroots
  • wlrootswlroots
  • Merge requests
  • !3333

Merged
Created Nov 06, 2021 by M. Stoeckl@mstoecklContributor

output: Add function to set preferred render format

  • Overview 16
  • Commits 4
  • Pipelines 7
  • Changes 7

This is an alternative to !3162 (closed) in implementing #1378 (closed), where the new API is a wlr_output_set_render_format function which allows one to set a single format for the output; as opposed to !3162 (closed) 's wlr_output_set_render_format_preference_order function where one can provide a preference ordered list of formats.

I'm still not sure whether this is better than !3162 (closed) , as this shifts some of the complexity in selecting formats outside of wlroots. Edit: I now prefer this to !3162 (closed) .

For a matching Sway implementation, see swaywm/sway!6475 corresponding to branch https://github.com/mstoeckl/sway/commits/bit-depth-setting ,

Edited Nov 12, 2021 by M. Stoeckl
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: rbd-one-with-backup