X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpixelformat.h;h=c232da1e5876f838cd6db34b9ad496adfb3ae113;hb=055f553b1a75f44e72f3c2b5a1c98c1e1e8f3f30;hp=43330f07dcfe1249f66794913eb577abd68a4e3a;hpb=9cf5d10abe5bdff0708c41544f6e8b15aca5151f;p=libs%2Fgl.git diff --git a/source/pixelformat.h b/source/pixelformat.h index 43330f07..c232da1e 100644 --- a/source/pixelformat.h +++ b/source/pixelformat.h @@ -4,6 +4,8 @@ #include #include #include "gl.h" +#include +#include namespace Msp { namespace GL { @@ -40,8 +42,10 @@ enum PixelFormat void operator>>(const LexicalConverter &, PixelFormat &); PixelFormat pixelformat_from_graphics(Graphics::PixelFormat); +PixelFormat storage_pixelformat_from_graphics(Graphics::PixelFormat); PixelFormat get_base_pixelformat(PixelFormat); +unsigned get_component_count(PixelFormat); void require_pixelformat(PixelFormat);