X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpixelformat.h;h=4da1a1517ae60b45b85aea8d41b7452744326f19;hb=946266e823c07025f115b5e4f5523b496dcb393e;hp=01f626c43882bc192b00e83051b9c7c723fcf07c;hpb=5a93cc603eef43617a10b76bc9c19a3272ac1d49;p=libs%2Fgl.git diff --git a/source/pixelformat.h b/source/pixelformat.h index 01f626c4..4da1a151 100644 --- a/source/pixelformat.h +++ b/source/pixelformat.h @@ -54,7 +54,10 @@ PixelFormat pixelformat_from_graphics(Graphics::PixelFormat); PixelFormat storage_pixelformat_from_graphics(Graphics::PixelFormat); PixelFormat get_base_pixelformat(PixelFormat); +PixelFormat get_srgb_pixelformat(PixelFormat); unsigned get_component_count(PixelFormat); +unsigned get_component_size(PixelFormat); +unsigned get_pixel_size(PixelFormat); void require_pixelformat(PixelFormat);