EGLplus (0.52.0) a C++ wrapper for EGL

eglplus::Config Class Reference

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::SurfaceTypeBitSurfaceTypes (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...
 

Detailed Description

A wrapper for EGL configuration.

Member Function Documentation

EGLint eglplus::Config::AlphaSize ( void  ) const

Returns the number of bits of the alpha component.

Related EGL symbols:
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.

Related EGL symbols:
eglGetConfigAttrib EGL_BLUE_SIZE

References eglplus::BlueSize, and GetAttrib().

EGLint eglplus::Config::BufferSize ( void  ) const

Return the total component bits of the color buffer.

Related EGL symbols:
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()

Related EGL symbols:
eglGetConfigAttrib EGL_CONFIG_CAVEAT

References ConfigCaveat().

eglplus::ColorBufferType eglplus::Config::ColorBufferType ( void  ) const

Returns the color buffer type.

Related EGL symbols:
eglGetConfigAttrib EGL_COLOR_BUFFER_TYPE

References eglplus::ColorBufferType, and GetAttrib().

eglplus::ConfigCaveat eglplus::Config::ConfigCaveat ( void  ) const

Returns the caveat for this config.

Related EGL symbols:
eglGetConfigAttrib EGL_CONFIG_CAVEAT

References eglplus::ConfigCaveat, and GetAttrib().

Referenced by Caveat().

EGLint eglplus::Config::ConfigId ( void  ) const

Get the unique configuration identifier.

Related EGL symbols:
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.

Related EGL symbols:
eglGetConfigAttrib EGL_CONFORMANT

References eglplus::Conformant, and GetAttrib().

EGLint eglplus::Config::DepthSize ( void  ) const

Returns the number of bits of the depth buffer.

Related EGL symbols:
eglGetConfigAttrib EGL_DEPTH_SIZE

References eglplus::DepthSize, and GetAttrib().

EGLint eglplus::Config::GreenSize ( void  ) const

Returns the number of bits of the green color component.

Related EGL symbols:
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.

Related EGL symbols:
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.

Related EGL symbols:
eglGetConfigAttrib EGL_SURFACE_TYPE

References GetAttrib(), and eglplus::SurfaceType.

EGLint eglplus::Config::Id ( void  ) const

Get the unique configuration identifier.

Synonym for ConfigId()

Related EGL symbols:
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.

Related EGL symbols:
eglGetConfigAttrib EGL_CONFORMANT

References eglplus::Conformant, and GetAttrib().

EGLint eglplus::Config::LuminanceSize ( void  ) const

Returns the number of bits of the luminance component.

Related EGL symbols:
eglGetConfigAttrib EGL_LUMINANCE_SIZE

References GetAttrib(), and eglplus::LuminanceSize.

EGLint eglplus::Config::MaxPbufferHeight ( void  ) const

Returns the maximum height of Pbuffers in pixels.

Related EGL symbols:
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.

Related EGL symbols:
eglGetConfigAttrib EGL_MAX_PBUFFER_PIXELS

References GetAttrib(), and eglplus::MaxPbufferPixels.

EGLint eglplus::Config::MaxPbufferWidth ( void  ) const

Returns the maximum width of Pbuffers in pixels.

Related EGL symbols:
eglGetConfigAttrib EGL_MAX_PBUFFER_WIDTH

References GetAttrib(), and eglplus::MaxPbufferWidth.

EGLint eglplus::Config::MaxSwapInterval ( void  ) const

Returns the maximum swap interval.

Related EGL symbols:
eglGetConfigAttrib EGL_MAX_SWAP_INTERVAL

References GetAttrib(), and eglplus::MaxSwapInterval.

EGLint eglplus::Config::MinSwapInterval ( void  ) const

Returns the minimum swap interval.

Related EGL symbols:
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.

Related EGL symbols:
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.

Related EGL symbols:
eglGetConfigAttrib EGL_RED_SIZE

References GetAttrib(), and eglplus::RedSize.

Bitfield<eglplus::RenderableTypeBit> eglplus::Config::RenderableTypes ( void  ) const

Returns the renderable type bits.

Related EGL symbols:
eglGetConfigAttrib EGL_RENDERABLE_TYPE

References GetAttrib(), and eglplus::RenderableType.

EGLint eglplus::Config::StencilSize ( void  ) const

Returns the number of bits of the stencil buffer.

Related EGL symbols:
eglGetConfigAttrib EGL_STENCIL_SIZE

References GetAttrib(), and eglplus::StencilSize.

Bitfield<eglplus::SurfaceTypeBit> eglplus::Config::SurfaceTypes ( void  ) const

Returns the surface type bits.

Related EGL symbols:
eglGetConfigAttrib EGL_SURFACE_TYPE

References GetAttrib(), and eglplus::SurfaceType.

eglplus::TransparentType eglplus::Config::TransparentType ( void  ) const

Returns the transparency type.

Related EGL symbols:
eglGetConfigAttrib EGL_TRANSPARENT_TYPE

References GetAttrib(), and eglplus::TransparentType.


The documentation for this class was generated from the following file:
  • /home/chochlik/devel/oglplus/include/eglplus/configs.hpp

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).