Skip to content

Handle planes with legacy format list

ardera requested to merge ardera/libliftoff:master into master

Save the legacy format list into liftoff_plane in liftoff_plane_create. In plane_check_layer_fb, reject implicit-modifier fbs early if their format is not listed in the legacy format list.

For now, explicit modifier fbs are not rejected early if no IN_FORMATS property is present. I think in theory, they should be rejected too. In @emersion's very helpful drmdb at least it's specified that no IN_FORMATS means no explicit modifiers supported. (Though the tests would also need to be modified to always specify an IN_FORMATS then)

Merge request reports

Loading