|
|
|
@ -131,6 +131,7 @@ class MAGNUM_EXPORT AbstractImage { |
|
|
|
BGR = GL_BGR, |
|
|
|
BGR = GL_BGR, |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES3 |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Floating-point BGRA. |
|
|
|
* Floating-point BGRA. |
|
|
|
* @requires_es_extension %Extension @es_extension{EXT,read_format_bgra} |
|
|
|
* @requires_es_extension %Extension @es_extension{EXT,read_format_bgra} |
|
|
|
@ -143,6 +144,7 @@ class MAGNUM_EXPORT AbstractImage { |
|
|
|
#else |
|
|
|
#else |
|
|
|
BGRA = GL_BGRA_EXT, |
|
|
|
BGRA = GL_BGRA_EXT, |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES2 |
|
|
|
#ifndef MAGNUM_TARGET_GLES2 |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
@ -230,6 +232,7 @@ class MAGNUM_EXPORT AbstractImage { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
DepthComponent = GL_DEPTH_COMPONENT, |
|
|
|
DepthComponent = GL_DEPTH_COMPONENT, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES3 |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Stencil index. For framebuffer reading only. |
|
|
|
* Stencil index. For framebuffer reading only. |
|
|
|
* @requires_es_extension %Extension @es_extension2{NV,read_stencil,GL_NV_read_depth_stencil} |
|
|
|
* @requires_es_extension %Extension @es_extension2{NV,read_stencil,GL_NV_read_depth_stencil} |
|
|
|
@ -240,6 +243,7 @@ class MAGNUM_EXPORT AbstractImage { |
|
|
|
#else |
|
|
|
#else |
|
|
|
StencilIndex = 0x1901, |
|
|
|
StencilIndex = 0x1901, |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Depth and stencil. |
|
|
|
* Depth and stencil. |
|
|
|
@ -369,6 +373,7 @@ class MAGNUM_EXPORT AbstractImage { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
UnsignedShort4444 = GL_UNSIGNED_SHORT_4_4_4_4, |
|
|
|
UnsignedShort4444 = GL_UNSIGNED_SHORT_4_4_4_4, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES3 |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* ABGR, unsigned short, each component 4bit. |
|
|
|
* ABGR, unsigned short, each component 4bit. |
|
|
|
* @requires_es_extension For framebuffer reading only, extension |
|
|
|
* @requires_es_extension For framebuffer reading only, extension |
|
|
|
@ -379,6 +384,7 @@ class MAGNUM_EXPORT AbstractImage { |
|
|
|
#else |
|
|
|
#else |
|
|
|
UnsignedShort4444Rev = GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT, |
|
|
|
UnsignedShort4444Rev = GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT, |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* RGBA, unsigned short, each RGB component 5bit, alpha component |
|
|
|
* RGBA, unsigned short, each RGB component 5bit, alpha component |
|
|
|
@ -387,6 +393,7 @@ class MAGNUM_EXPORT AbstractImage { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
UnsignedShort5551 = GL_UNSIGNED_SHORT_5_5_5_1, |
|
|
|
UnsignedShort5551 = GL_UNSIGNED_SHORT_5_5_5_1, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES3 |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* ABGR, unsigned short, each RGB component 5bit, alpha component |
|
|
|
* ABGR, unsigned short, each RGB component 5bit, alpha component |
|
|
|
* 1bit. |
|
|
|
* 1bit. |
|
|
|
@ -398,6 +405,7 @@ class MAGNUM_EXPORT AbstractImage { |
|
|
|
#else |
|
|
|
#else |
|
|
|
UnsignedShort1555Rev = GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT, |
|
|
|
UnsignedShort1555Rev = GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT, |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
|