mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-13 08:22:16 -04:00
render/pixel_format: drop wlr_pixel_format_info.opaque_substitute
Move this away from struct wlr_pixel_format_info. The next commit will generate the pixel_format_info table from kdfs, computing a compatible opaque format needs to be done separately from retrieving pixel format metadata (and is not yet supported).
This commit is contained in:
parent
2d95d8d292
commit
34ffeaa4ef
2 changed files with 28 additions and 22 deletions
|
|
@ -18,11 +18,6 @@
|
|||
struct wlr_pixel_format_info {
|
||||
uint32_t drm_format;
|
||||
|
||||
/* Equivalent of the format if it has an alpha channel,
|
||||
* DRM_FORMAT_INVALID (0) if NA
|
||||
*/
|
||||
uint32_t opaque_substitute;
|
||||
|
||||
/* Bytes per block (including padding) */
|
||||
uint32_t bytes_per_block;
|
||||
/* Size of a block in pixels (zero for 1×1) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue