[PATCH v2 0/5] MR131: wined3d: Introduce wined3d_device_check_format_support().

Henri Verbeet hverbeet at gmail.com
Tue Jun 7 09:17:11 CDT 2022

On Mon, 6 Jun 2022 at 21:32, Zebediah Figura <zfigura at codeweavers.com> wrote:
> Henri, do you have any thoughts on the matter?

The direction I had planned to go in was pretty much what you
suggested in an earlier mail: returning the set of supported format
flags/capabilities like d3d11 does, instead of querying for a
particular combination. On a certain level, that wouldn't be that
different from wined3d_device_check_format_support() introduced by
this series, but I'd start from wined3d_check_device_format(), and
gradually convert it to the new model, instead of introducing a
parallel API like this. (I.e., one of the first steps would be
returning the WINED3DUSAGE_QUERY_* flags as an output variable instead
of as part of the "usage" variable.) As you say, that's largely
orthogonal to adding additional caps that can be queried.

More information about the wine-devel mailing list