#include
<eglplus/config.hpp>
typedef AttributeList<ConfigAttrib, ...> ConfigAttribs; typedef FinishedAttributeList<ConfigAttrib, ...> FinishedConfigAttribs;
config
is a wrapper for a single egl configuration.
class Config { public: EGLint GetAttrib(ConfigAttrib attrib) const; EGLint ConfigId(void) const; EGLint Id(void) const; EGLint BufferSize(void) const; EGLint RedSize(void) const; EGLint GreenSize(void) const; EGLint BlueSize(void) const; EGLint LuminanceSize(void) const; EGLint AlphaSize(void) const; EGLint DepthSize(void) const; EGLint StencilSize(void) const; EGLint MaxPbufferWidth(void) const; EGLint MaxPbufferHeight(void) const; EGLint MaxPbufferPixels(void) const;
Returns the value of a specified attribute. See |
|
Returns the unique configuration identifier. See |
|
Returns the total component bits of the color buffer. See |
|
Returns the number of bits of the red color component. See |
|
Returns the number of bits of the green color component. See |
|
Returns the number of bits of the blue color component. See |
|
Returns the number of bits of the luminance component. See |
|
Returns the number of bits of the alpha component. See |
|
Returns the number of bits of the depth buffer. See |
|
Returns the number of bits of the stencil buffer. See |
|
Returns the maximum width of Pbuffers in pixels. See |
|
Returns the maximum height of Pbuffers in pixels. See |
|
Returns the maximum size (number of pixels) of Pbuffers. See |
EGLint MinSwapInterval(void) const; EGLint MaxSwapInterval(void) const; Boolean NativeRenderable(void) const; ConfigCaveat ConfigCaveat(void) const; ConfigCaveat Caveat(void) const; ColorBufferType ColorBufferType(void) const; TransparentType TransparentType(void) const; Bitfield<RenderableTypeBit> RenderableTypes(void) const; bool HasRenderableType(RenderableTypeBit type) const; Bitfield<SurfaceTypeBit> SurfaceTypes(void) const; bool HasSurfaceType(SurfaceTypeBit type) const; Bitfield<RenderableTypeBit> Conformant(void) const; bool IsConformantTo(RenderableTypeBit type) const; }; ::EGLConfig GetEGLHandle(const Config& config) noexcept;
Returns the minimum swap interval. See |
|
Returns the maximum swap interval. See |
|
Returns true if native rendering API can render to surface. See |
|
Returns the caveat for this config. See |
|
Returns the color buffer type. See |
|
Returns the transparency type. See |
|
Returns the renderable type bits. See |
|
Returns true if a specified renderable type is supported. |
|
Returns the surface type bits. See |
|
Returns true if a specified surface type is supported. |
|
Returns the conformant bits for this config. See |
|
Returns true if the config is conformant to a renderable type. |
Configs
is a class that provides access to all configurations
of a Display.
class Configs { public: Configs(const Display& display); Configs( const Display& display, const FinishedConfigAttribs& attribs ); Range<Config> All(void) const; bool Empty(void) const; Config First(void) const; };
Gets the configurations for the specified display. |
|
Gets configurations for the specified display matching the specified attribute values. |
|
Returns a range of all supported configurations. |
|
Returns true if there are no matching configs. |
|
Returns the first config in this set of configurations if it is not empty. |