A wrapper for EGL configuration. More...
#include </home/chochlik/devel/oglplus/include/eglplus/configs.hpp>
Public Member Functions | |
EGLint | GetAttrib (ConfigAttrib attrib) const |
Get the value of a specified attribute. More... | |
EGLint | ConfigId (void) const |
Get the unique configuration identifier. More... | |
EGLint | Id (void) const |
Get the unique configuration identifier. More... | |
EGLint | BufferSize (void) const |
Return the total component bits of the color buffer. More... | |
EGLint | RedSize (void) const |
Returns the number of bits of the red color component. More... | |
EGLint | GreenSize (void) const |
Returns the number of bits of the green color component. More... | |
EGLint | BlueSize (void) const |
Returns the number of bits of the blue color component. More... | |
EGLint | LuminanceSize (void) const |
Returns the number of bits of the luminance component. More... | |
EGLint | AlphaSize (void) const |
Returns the number of bits of the alpha component. More... | |
EGLint | DepthSize (void) const |
Returns the number of bits of the depth buffer. More... | |
EGLint | StencilSize (void) const |
Returns the number of bits of the stencil buffer. More... | |
EGLint | MaxPbufferWidth (void) const |
Returns the maximum width of Pbuffers in pixels. More... | |
EGLint | MaxPbufferHeight (void) const |
Returns the maximum height of Pbuffers in pixels. More... | |
EGLint | MaxPbufferPixels (void) const |
Returns the maximum size (number of pixels) of Pbuffers. More... | |
EGLint | MinSwapInterval (void) const |
Returns the minimum swap interval. More... | |
EGLint | MaxSwapInterval (void) const |
Returns the maximum swap interval. More... | |
EGLint | NativeRenderable (void) const |
Returns true if native rendering API can render to surface. More... | |
eglplus::ConfigCaveat | ConfigCaveat (void) const |
Returns the caveat for this config. More... | |
eglplus::ConfigCaveat | Caveat (void) const |
Returns the caveat for this config. More... | |
eglplus::ColorBufferType | ColorBufferType (void) const |
Returns the color buffer type. More... | |
eglplus::TransparentType | TransparentType (void) const |
Returns the transparency type. More... | |
Bitfield < eglplus::RenderableTypeBit > | RenderableTypes (void) const |
Returns the renderable type bits. More... | |
bool | HasRenderableType (eglplus::RenderableTypeBit type) const |
Returns true if a specified renderable type is supported. More... | |
Bitfield< eglplus::SurfaceTypeBit > | SurfaceTypes (void) const |
Returns the surface type bits. More... | |
bool | HasSurfaceType (eglplus::SurfaceTypeBit type) const |
Returns true if a specified surface type is supported. More... | |
Bitfield < eglplus::RenderableTypeBit > | Conformant (void) const |
Returns the conformant bits for this config. More... | |
bool | IsConformantTo (eglplus::RenderableTypeBit type) const |
Returns true if the config is conformant to a renderable type. More... | |
A wrapper for EGL configuration.
EGLint eglplus::Config::AlphaSize | ( | void | ) | const |
Returns the number of bits of the alpha component.
eglGetConfigAttrib
EGL_ALPHA_SIZE
References eglplus::AlphaSize, and GetAttrib().
EGLint eglplus::Config::BlueSize | ( | void | ) | const |
Returns the number of bits of the blue color component.
eglGetConfigAttrib
EGL_BLUE_SIZE
References eglplus::BlueSize, and GetAttrib().
EGLint eglplus::Config::BufferSize | ( | void | ) | const |
Return the total component bits of the color buffer.
eglGetConfigAttrib
EGL_BUFFER_SIZE
References eglplus::BufferSize, and GetAttrib().
eglplus::ConfigCaveat eglplus::Config::Caveat | ( | void | ) | const |
Returns the caveat for this config.
Synonym for ConfigCaveat()
eglGetConfigAttrib
EGL_CONFIG_CAVEAT
References ConfigCaveat().
eglplus::ColorBufferType eglplus::Config::ColorBufferType | ( | void | ) | const |
Returns the color buffer type.
eglGetConfigAttrib
EGL_COLOR_BUFFER_TYPE
References eglplus::ColorBufferType, and GetAttrib().
eglplus::ConfigCaveat eglplus::Config::ConfigCaveat | ( | void | ) | const |
Returns the caveat for this config.
eglGetConfigAttrib
EGL_CONFIG_CAVEAT
References eglplus::ConfigCaveat, and GetAttrib().
Referenced by Caveat().
EGLint eglplus::Config::ConfigId | ( | void | ) | const |
Get the unique configuration identifier.
eglGetConfigAttrib
EGL_CONFIG_ID
References eglplus::ConfigId, and GetAttrib().
Referenced by Id().
Bitfield<eglplus::RenderableTypeBit> eglplus::Config::Conformant | ( | void | ) | const |
Returns the conformant bits for this config.
eglGetConfigAttrib
EGL_CONFORMANT
References eglplus::Conformant, and GetAttrib().
EGLint eglplus::Config::DepthSize | ( | void | ) | const |
Returns the number of bits of the depth buffer.
eglGetConfigAttrib
EGL_DEPTH_SIZE
References eglplus::DepthSize, and GetAttrib().
EGLint eglplus::Config::GetAttrib | ( | ConfigAttrib | attrib | ) | const |
Get the value of a specified attribute.
eglGetConfigAttrib
Referenced by AlphaSize(), BlueSize(), BufferSize(), ColorBufferType(), ConfigCaveat(), ConfigId(), Conformant(), DepthSize(), GreenSize(), HasRenderableType(), HasSurfaceType(), IsConformantTo(), LuminanceSize(), MaxPbufferHeight(), MaxPbufferPixels(), MaxPbufferWidth(), MaxSwapInterval(), MinSwapInterval(), NativeRenderable(), RedSize(), RenderableTypes(), StencilSize(), SurfaceTypes(), and TransparentType().
EGLint eglplus::Config::GreenSize | ( | void | ) | const |
Returns the number of bits of the green color component.
eglGetConfigAttrib
EGL_GREEN_SIZE
References GetAttrib(), and eglplus::GreenSize.
bool eglplus::Config::HasRenderableType | ( | eglplus::RenderableTypeBit | type | ) | const |
Returns true if a specified renderable type is supported.
eglGetConfigAttrib
EGL_RENDERABLE_TYPE
References GetAttrib(), and eglplus::RenderableType.
bool eglplus::Config::HasSurfaceType | ( | eglplus::SurfaceTypeBit | type | ) | const |
Returns true if a specified surface type is supported.
eglGetConfigAttrib
EGL_SURFACE_TYPE
References GetAttrib(), and eglplus::SurfaceType.
EGLint eglplus::Config::Id | ( | void | ) | const |
Get the unique configuration identifier.
Synonym for ConfigId()
eglGetConfigAttrib
EGL_CONFIG_ID
References ConfigId().
bool eglplus::Config::IsConformantTo | ( | eglplus::RenderableTypeBit | type | ) | const |
Returns true if the config is conformant to a renderable type.
eglGetConfigAttrib
EGL_CONFORMANT
References eglplus::Conformant, and GetAttrib().
EGLint eglplus::Config::LuminanceSize | ( | void | ) | const |
Returns the number of bits of the luminance component.
eglGetConfigAttrib
EGL_LUMINANCE_SIZE
References GetAttrib(), and eglplus::LuminanceSize.
EGLint eglplus::Config::MaxPbufferHeight | ( | void | ) | const |
Returns the maximum height of Pbuffers in pixels.
eglGetConfigAttrib
EGL_MAX_PBUFFER_HEIGHT
References GetAttrib(), and eglplus::MaxPbufferHeight.
EGLint eglplus::Config::MaxPbufferPixels | ( | void | ) | const |
Returns the maximum size (number of pixels) of Pbuffers.
eglGetConfigAttrib
EGL_MAX_PBUFFER_PIXELS
References GetAttrib(), and eglplus::MaxPbufferPixels.
EGLint eglplus::Config::MaxPbufferWidth | ( | void | ) | const |
Returns the maximum width of Pbuffers in pixels.
eglGetConfigAttrib
EGL_MAX_PBUFFER_WIDTH
References GetAttrib(), and eglplus::MaxPbufferWidth.
EGLint eglplus::Config::MaxSwapInterval | ( | void | ) | const |
Returns the maximum swap interval.
eglGetConfigAttrib
EGL_MAX_SWAP_INTERVAL
References GetAttrib(), and eglplus::MaxSwapInterval.
EGLint eglplus::Config::MinSwapInterval | ( | void | ) | const |
Returns the minimum swap interval.
eglGetConfigAttrib
EGL_MIN_SWAP_INTERVAL
References GetAttrib(), and eglplus::MinSwapInterval.
EGLint eglplus::Config::NativeRenderable | ( | void | ) | const |
Returns true if native rendering API can render to surface.
eglGetConfigAttrib
EGL_NATIVE_RENDERABLE
References GetAttrib(), and eglplus::NativeRenderable.
EGLint eglplus::Config::RedSize | ( | void | ) | const |
Returns the number of bits of the red color component.
eglGetConfigAttrib
EGL_RED_SIZE
References GetAttrib(), and eglplus::RedSize.
Bitfield<eglplus::RenderableTypeBit> eglplus::Config::RenderableTypes | ( | void | ) | const |
Returns the renderable type bits.
eglGetConfigAttrib
EGL_RENDERABLE_TYPE
References GetAttrib(), and eglplus::RenderableType.
EGLint eglplus::Config::StencilSize | ( | void | ) | const |
Returns the number of bits of the stencil buffer.
eglGetConfigAttrib
EGL_STENCIL_SIZE
References GetAttrib(), and eglplus::StencilSize.
Bitfield<eglplus::SurfaceTypeBit> eglplus::Config::SurfaceTypes | ( | void | ) | const |
Returns the surface type bits.
eglGetConfigAttrib
EGL_SURFACE_TYPE
References GetAttrib(), and eglplus::SurfaceType.
eglplus::TransparentType eglplus::Config::TransparentType | ( | void | ) | const |
Returns the transparency type.
eglGetConfigAttrib
EGL_TRANSPARENT_TYPE
References GetAttrib(), and eglplus::TransparentType.