mpv/video/out/placebo
Philip Langdale e2976e662d video/out/gpu: Add a `storable` flag to ra_format
While `ra` supports the concept of a texture as a storage
destination, it does not support the concept of a texture format
being usable for a storage texture. This can lead to us attempting
to create a texture from an incompatible format, with undefined
results.

So, let's introduce an explicit format flag for storage and use
it. In `ra_pl` we can simply reflect the `storable` flag. For
GL and D3D, we'll need to write some new code to do the compatibility
checks. I'm not going to do it here because it's not a regression;
we were already implicitly assuming all formats were storable.

Fixes #6657
2019-07-08 00:59:28 +02:00
..
ra_pl.c video/out/gpu: Add a `storable` flag to ra_format 2019-07-08 00:59:28 +02:00
ra_pl.h vo/gpu: ra_pl: Add helper to get pl_fmt from ra_format 2019-04-21 23:55:22 +03:00
utils.c
utils.h