• Niels De Graef's avatar
    cogl: Add a notion of pixel format planes · 8e204e03
    Niels De Graef authored
    As we will start adding support for more pixel formats, we will need to
    define a notion of planes. This commit doesn't make any functional
    change, but starts adding the idea of pixel formats and how they (at
    this point only theoretically) can have multple planes.
    Since a lot of code in Mutter assumes we only get to deal with single
    plane pixel formats, this commit also adds assertions and if-checks to
    make sure we don't accidentally try something that doesn't make sense.
meta-wayland-buffer.c 18.1 KB