Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Conversation

@emersion
Copy link
Member

@emersion emersion commented Feb 16, 2021

Replace everything with DRM fourcc formats and use it as the only source of truth for format definitions.

Closes: #2738


Breaking change:

  • wlr_renderer_read_pixels now takes a DRM format code instead of an enum wl_shm_format
  • wlr_renderer_get_shm_texture_formats now returns DRM format codes instead of an enum wl_shm_format
  • wlr_renderer_read_pixels now takes a DRM format code instead of an enum wl_shm_format
  • wlr_output_preferred_read_format now returns a DRM format code instead of an enum wl_shm_format

@emersion emersion added the breaking Breaking change in public API label Feb 16, 2021
@emersion emersion merged commit cf5b09e into swaywm:master Feb 23, 2021
@emersion emersion deleted the canonical-drm-format branch February 23, 2021 15:09
emersion added a commit to swaywm/sway that referenced this pull request Feb 23, 2021
@emersion emersion mentioned this pull request Mar 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

breaking Breaking change in public API

Development

Successfully merging this pull request may close these issues.

Stop using wl_shm_format

1 participant