Please undo class PixelFormat. It took a lot of effort [1] to de-duplicate pixel format types.
Also, the functions will at some stage likely be replaced by macros (LP: #1236254) so simple functions are a better stepping-stone.
[1] https://code.launchpad.net/~vanvugt/mir/one-PixelFormat-type/+merge/196852
« Back to merge proposal
Please undo class PixelFormat. It took a lot of effort [1] to de-duplicate pixel format types.
Also, the functions will at some stage likely be replaced by macros (LP: #1236254) so simple functions are a better stepping-stone.
[1] https:/ /code.launchpad .net/~vanvugt/ mir/one- PixelFormat- type/+merge/ 196852