EGLplus (0.52.0) a C++ wrapper for EGL

eglplus Namespace Reference

All definitions of EGLplus are nested in the eglplus namespace. More...

Classes

class  Config
 A wrapper for EGL configuration. More...
 
class  Configs
 A provides access to all configurations of a Display. More...
 
class  Context
 Wrapper around EGLContext. More...
 
class  Display
 Wrapper around EGLDisplay. More...
 
class  EGLInitializer
 Initializes and terminates the EGL library. More...
 
class  Surface
 Wrapper for EGLSurfaces. More...
 

Typedefs

typedef AttributeList
< ConfigAttrib,
ConfigValueTypeToConfigAttrib,
AttributeListTraits > 
ConfigAttribs
 Attribute list for configuration attributes.
 
typedef FinishedAttributeList
< ConfigAttrib,
AttributeListTraits > 
FinishedConfigAttribs
 Finished list of configuration attribute values.
 
typedef AttributeList
< ContextAttrib,
ContextValueTypeToContextAttrib,
AttributeListTraits > 
ContextAttribs
 Attribute list for context attributes.
 
typedef FinishedAttributeList
< ContextAttrib,
AttributeListTraits > 
FinishedContextAttribs
 Finished list of context attribute values.
 
typedef EGLInitializer LibEGL
 Alternate name for EGLInitializer.
 
typedef ::std::basic_string< char > String
 String class.
 
typedef ::oglplus::StrCRefTpl
< char > 
StrCRef
 String const reference wrapper.
 
typedef AttributeList
< SurfaceAttrib,
SurfaceValueTypeToSurfaceAttrib,
AttributeListTraits > 
SurfaceAttribs
 Attribute list for surface attributes.
 
typedef FinishedAttributeList
< SurfaceAttrib,
AttributeListTraits > 
FinishedSurfaceAttribs
 Finished list of surface attribute values.
 

Enumerations

enum  ColorBufferType : EGLenum {
  ColorBufferType::RGBBuffer,
  ColorBufferType::LuminanceBuffer
}
 EGL color_buffer_type enumeration. More...
 
enum  ConfigAttrib : EGLenum {
  ConfigAttrib::BufferSize,
  ConfigAttrib::RedSize,
  ConfigAttrib::GreenSize,
  ConfigAttrib::BlueSize,
  ConfigAttrib::LuminanceSize,
  ConfigAttrib::AlphaSize,
  ConfigAttrib::AlphaMaskSize,
  ConfigAttrib::BindToTextureRGB,
  ConfigAttrib::BindToTextureRGBA,
  ConfigAttrib::ColorBufferType,
  ConfigAttrib::ConfigCaveat,
  ConfigAttrib::ConfigId,
  ConfigAttrib::Conformant,
  ConfigAttrib::DepthSize,
  ConfigAttrib::Level,
  ConfigAttrib::MaxPbufferWidth,
  ConfigAttrib::MaxPbufferHeight,
  ConfigAttrib::MaxPbufferPixels,
  ConfigAttrib::MaxSwapInterval,
  ConfigAttrib::MinSwapInterval,
  ConfigAttrib::NativeRenderable,
  ConfigAttrib::NativeVisualId,
  ConfigAttrib::NativeVisualType,
  ConfigAttrib::RenderableType,
  ConfigAttrib::SampleBuffers,
  ConfigAttrib::Samples,
  ConfigAttrib::StencilSize,
  ConfigAttrib::SurfaceType,
  ConfigAttrib::TransparentType,
  ConfigAttrib::TransparentRedValue,
  ConfigAttrib::TransparentGreenValue,
  ConfigAttrib::TransparentBlueValue
}
 EGL configuration attribute enumeration. More...
 
enum  ConfigCaveat : EGLenum {
  ConfigCaveat::None,
  ConfigCaveat::SlowConfig,
  ConfigCaveat::NonConformantConfig
}
 EGL config caveat enumeration. More...
 
enum  ContextAttrib : EGLenum { ,
  ContextAttrib::MajorVersion,
  ContextAttrib::MinorVersion,
  ContextAttrib::Flags,
  ContextAttrib::OpenGLProfileMask,
  ContextAttrib::OpenGLResetNotificationStrategy
}
 EGL context attribute enumeration. More...
 
enum  ContextFlag : EGLenum {
  ContextFlag::OpenGLDebug,
  ContextFlag::OpenGLForwardCompatible,
  ContextFlag::OpenGLRobustAccess
}
 EGL context flags enumeration. More...
 
enum  GLColorspace : EGLenum {
  GLColorspace::sRGB,
  GLColorspace::Linear
}
 OpenGL colorspace enumeration. More...
 
enum  MultisampleResolve : EGLenum {
  MultisampleResolve::Default,
  MultisampleResolve::Box
}
 Multisample resolve enumeration. More...
 
enum  OpenGLProfileBit : EGLenum {
  OpenGLProfileBit::Core,
  OpenGLProfileBit::Compatibility
}
 EGL OpenGL profile mask bits enumeration. More...
 
enum  OpenGLResetNotificationStrategy : EGLenum {
  OpenGLResetNotificationStrategy::NoResetNotification,
  OpenGLResetNotificationStrategy::LoseContextOnReset
}
 EGL OpenGL reset notification strategy enumeration. More...
 
enum  RenderBuffer : EGLenum {
  RenderBuffer::SingleBuffer,
  RenderBuffer::BackBuffer
}
 EGL render buffer enumeration. More...
 
enum  RenderableTypeBit : EGLenum {
  RenderableTypeBit::OpenGL,
  RenderableTypeBit::OpenGL_ES,
  RenderableTypeBit::OpenGL_ES2,
  RenderableTypeBit::OpenGL_ES3,
  RenderableTypeBit::OpenVG
}
 EGL renderable type bits enumeration. More...
 
enum  RenderingAPI : EGLenum {
  RenderingAPI::OpenGL,
  RenderingAPI::OpenGL_ES,
  RenderingAPI::OpenVG,
  RenderingAPI::None
}
 Rendering API enumeration. More...
 
enum  StringQuery : EGLenum { ,
  StringQuery::ClientAPIs,
  StringQuery::Extensions,
  StringQuery::Vendor,
  StringQuery::Version
}
 EGL string query enumeration. More...
 
enum  SurfaceAttrib : EGLenum {
  SurfaceAttrib::Width,
  SurfaceAttrib::Height,
  SurfaceAttrib::ConfigId,
  SurfaceAttrib::VGAlphaFormat,
  SurfaceAttrib::VGColorspace,
  SurfaceAttrib::GLColorspace,
  SurfaceAttrib::HorizontalResolution,
  SurfaceAttrib::VerticalResolution,
  SurfaceAttrib::LargestPbuffer,
  SurfaceAttrib::MipmapTexture,
  SurfaceAttrib::MipmapLevel,
  SurfaceAttrib::MultisampleResolve,
  SurfaceAttrib::PixelAspectRatio,
  SurfaceAttrib::RenderBuffer,
  SurfaceAttrib::SwapBehavior,
  SurfaceAttrib::TextureFormat,
  SurfaceAttrib::TextureTarget
}
 EGL surface attribute enumeration. More...
 
enum  SurfaceTypeBit : EGLenum {
  SurfaceTypeBit::Window,
  SurfaceTypeBit::Pixmap,
  SurfaceTypeBit::Pbuffer,
  SurfaceTypeBit::MultisampleResolveBox,
  SurfaceTypeBit::SwapBehaviorPreserved,
  SurfaceTypeBit::VGColorspaceLinear,
  SurfaceTypeBit::VGAlphaFormatPre
}
 EGL surface type bits enumeration. More...
 
enum  SwapBehavior : EGLenum {
  SwapBehavior::BufferPreserved,
  SwapBehavior::BufferDestroyed
}
 EGL buffer swap behavior enumeration. More...
 
enum  TextureFormat : EGLenum {
  TextureFormat::RGB,
  TextureFormat::RGBA,
  TextureFormat::NoTexture
}
 EGL texture format enumeration. More...
 
enum  TextureTarget : EGLenum { ,
  TextureTarget::NoTexture,
  TextureTarget::Texture2D
}
 EGL texture target enumeration. More...
 
enum  TransparentType : EGLenum {
  TransparentType::None,
  TransparentType::TransparentRGB
}
 EGL transparent type enumeration. More...
 
enum  VGAlphaFormat : EGLenum {
  VGAlphaFormat::Pre,
  VGAlphaFormat::NonPre
}
 OpenVG alpha format enumeration. More...
 
enum  VGColorspace : EGLenum {
  VGColorspace::sRGB,
  VGColorspace::Linear
}
 OpenVG colorspace enumeration. More...
 

Functions

bool BindAPI (RenderingAPI api)
 Bind the specified rendering API. More...
 
RenderingAPI QueryAPI (void)
 Query the currently bound rendering API. More...
 

Detailed Description

All definitions of EGLplus are nested in the eglplus namespace.

Enumeration Type Documentation

enum eglplus::ColorBufferType : EGLenum
strong

EGL color_buffer_type enumeration.

Enumerator
RGBBuffer 

RGB_BUFFER.

LuminanceBuffer 

LUMINANCE_BUFFER.

enum eglplus::ConfigAttrib : EGLenum
strong

EGL configuration attribute enumeration.

Enumerator
BufferSize 

BUFFER_SIZE.

RedSize 

RED_SIZE.

GreenSize 

GREEN_SIZE.

BlueSize 

BLUE_SIZE.

LuminanceSize 

LUMINANCE_SIZE.

AlphaSize 

ALPHA_SIZE.

AlphaMaskSize 

ALPHA_MASK_SIZE.

BindToTextureRGB 

BIND_TO_TEXTURE_RGB.

BindToTextureRGBA 

BIND_TO_TEXTURE_RGBA.

ColorBufferType 

COLOR_BUFFER_TYPE.

ConfigCaveat 

CONFIG_CAVEAT.

ConfigId 

CONFIG_ID.

Conformant 

CONFORMANT.

DepthSize 

DEPTH_SIZE.

Level 

LEVEL.

MaxPbufferWidth 

MAX_PBUFFER_WIDTH.

MaxPbufferHeight 

MAX_PBUFFER_HEIGHT.

MaxPbufferPixels 

MAX_PBUFFER_PIXELS.

MaxSwapInterval 

MAX_SWAP_INTERVAL.

MinSwapInterval 

MIN_SWAP_INTERVAL.

NativeRenderable 

NATIVE_RENDERABLE.

NativeVisualId 

NATIVE_VISUAL_ID.

NativeVisualType 

NATIVE_VISUAL_TYPE.

RenderableType 

RENDERABLE_TYPE.

SampleBuffers 

SAMPLE_BUFFERS.

Samples 

SAMPLES.

StencilSize 

STENCIL_SIZE.

SurfaceType 

SURFACE_TYPE.

TransparentType 

TRANSPARENT_TYPE.

TransparentRedValue 

TRANSPARENT_RED_VALUE.

TransparentGreenValue 

TRANSPARENT_GREEN_VALUE.

TransparentBlueValue 

TRANSPARENT_BLUE_VALUE.

enum eglplus::ConfigCaveat : EGLenum
strong

EGL config caveat enumeration.

Enumerator
None 

NONE.

SlowConfig 

SLOW_CONFIG.

NonConformantConfig 

NON_CONFORMANT_CONFIG.

enum eglplus::ContextAttrib : EGLenum
strong

EGL context attribute enumeration.

Enumerator
Frequency 
Refresh 
Sync 
MonoSources 
StereoSources 
Frequency 
Refresh 
Sync 
MonoSources 
StereoSources 
MajorVersion 

CONTEXT_MAJOR_VERSION.

MinorVersion 

CONTEXT_MINOR_VERSION.

Flags 

CONTEXT_FLAGS.

OpenGLProfileMask 

CONTEXT_OPENGL_PROFILE_MASK.

OpenGLResetNotificationStrategy 

CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY.

enum eglplus::ContextFlag : EGLenum
strong

EGL context flags enumeration.

Enumerator
OpenGLDebug 

CONTEXT_OPENGL_DEBUG_BIT.

OpenGLForwardCompatible 

CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT.

OpenGLRobustAccess 

CONTEXT_OPENGL_ROBUST_ACCESS_BIT.

enum eglplus::GLColorspace : EGLenum
strong

OpenGL colorspace enumeration.

Enumerator
sRGB 

GL_COLORSPACE_sRGB.

Linear 

GL_COLORSPACE_LINEAR.

enum eglplus::MultisampleResolve : EGLenum
strong

Multisample resolve enumeration.

Enumerator
Default 

MULTISAMPLE_RESOLVE_DEFAULT.

Box 

MULTISAMPLE_RESOLVE_BOX.

enum eglplus::OpenGLProfileBit : EGLenum
strong

EGL OpenGL profile mask bits enumeration.

Enumerator
Core 

CONTEXT_OPENGL_CORE_PROFILE_BIT.

Compatibility 

CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT.

EGL OpenGL reset notification strategy enumeration.

Enumerator
NoResetNotification 

NO_RESET_NOTIFICATION.

LoseContextOnReset 

LOSE_CONTEXT_ON_RESET.

enum eglplus::RenderableTypeBit : EGLenum
strong

EGL renderable type bits enumeration.

Enumerator
OpenGL 

OPENGL_BIT.

OpenGL_ES 

OPENGL_ES_BIT.

OpenGL_ES2 

OPENGL_ES2_BIT.

OpenGL_ES3 

OPENGL_ES3_BIT.

OpenVG 

OPENVG_BIT.

enum eglplus::RenderBuffer : EGLenum
strong

EGL render buffer enumeration.

Enumerator
SingleBuffer 

SINGLE_BUFFER.

BackBuffer 

BACK_BUFFER.

enum eglplus::RenderingAPI : EGLenum
strong

Rendering API enumeration.

Enumerator
OpenGL 

OPENGL_API.

OpenGL_ES 

OPENGL_ES_API.

OpenVG 

OPENVG_API.

None 

NONE.

enum eglplus::StringQuery : EGLenum
strong

EGL string query enumeration.

Enumerator
Renderer 
Vendor 
Version 
ShadingLanguageVersion 
Renderer 
Vendor 
Version 
ShadingLanguageVersion 
Renderer 
Vendor 
Version 
ShadingLanguageVersion 
ClientAPIs 

CLIENT_APIS.

Extensions 

EXTENSIONS.

Vendor 

VENDOR.

Version 

VERSION.

enum eglplus::SurfaceAttrib : EGLenum
strong

EGL surface attribute enumeration.

Enumerator
Width 

WIDTH.

Height 

HEIGHT.

ConfigId 

CONFIG_ID.

VGAlphaFormat 

VG_ALPHA_FORMAT.

VGColorspace 

VG_COLORSPACE.

GLColorspace 

GL_COLORSPACE.

HorizontalResolution 

HORIZONTAL_RESOLUTION.

VerticalResolution 

VERTICAL_RESOLUTION.

LargestPbuffer 

LARGEST_PBUFFER.

MipmapTexture 

MIPMAP_TEXTURE.

MipmapLevel 

MIPMAP_LEVEL.

MultisampleResolve 

MULTISAMPLE_RESOLVE.

PixelAspectRatio 

PIXEL_ASPECT_RATIO.

RenderBuffer 

RENDER_BUFFER.

SwapBehavior 

SWAP_BEHAVIOR.

TextureFormat 

TEXTURE_FORMAT.

TextureTarget 

TEXTURE_TARGET.

enum eglplus::SurfaceTypeBit : EGLenum
strong

EGL surface type bits enumeration.

Enumerator
Window 

WINDOW_BIT.

Pixmap 

PIXMAP_BIT.

Pbuffer 

PBUFFER_BIT.

MultisampleResolveBox 

MULTISAMPLE_RESOLVE_BOX_BIT.

SwapBehaviorPreserved 

SWAP_BEHAVIOR_PRESERVED_BIT.

VGColorspaceLinear 

VG_COLORSPACE_LINEAR_BIT.

VGAlphaFormatPre 

VG_ALPHA_FORMAT_PRE_BIT.

enum eglplus::SwapBehavior : EGLenum
strong

EGL buffer swap behavior enumeration.

Enumerator
BufferPreserved 

BUFFER_PRESERVED.

BufferDestroyed 

BUFFER_DESTROYED.

enum eglplus::TextureFormat : EGLenum
strong

EGL texture format enumeration.

Enumerator
RGB 

TEXTURE_RGB.

RGBA 

TEXTURE_RGBA.

NoTexture 

NO_TEXTURE.

enum eglplus::TextureTarget : EGLenum
strong

EGL texture target enumeration.

Enumerator
_1D 
_2D 
_3D 
_1DArray 
_2DArray 
Rectangle 
Buffer 
CubeMap 
CubeMapArray 
_2DMultisample 
_2DMultisampleArray 
CubeMapPositiveX 
CubeMapNegativeX 
CubeMapPositiveY 
CubeMapNegativeY 
CubeMapPositiveZ 
CubeMapNegativeZ 
_1D 
_2D 
_3D 
_1DArray 
_2DArray 
Rectangle 
Buffer 
CubeMap 
CubeMapArray 
_2DMultisample 
_2DMultisampleArray 
CubeMapPositiveX 
CubeMapNegativeX 
CubeMapPositiveY 
CubeMapNegativeY 
CubeMapPositiveZ 
CubeMapNegativeZ 
_1D 
_2D 
_3D 
_1DArray 
_2DArray 
Rectangle 
Buffer 
CubeMap 
CubeMapArray 
_2DMultisample 
_2DMultisampleArray 
CubeMapPositiveX 
CubeMapNegativeX 
CubeMapPositiveY 
CubeMapNegativeY 
CubeMapPositiveZ 
CubeMapNegativeZ 
NoTexture 

NO_TEXTURE.

Texture2D 

TEXTURE_2D.

enum eglplus::TransparentType : EGLenum
strong

EGL transparent type enumeration.

Enumerator
None 

NONE.

TransparentRGB 

TRANSPARENT_RGB.

enum eglplus::VGAlphaFormat : EGLenum
strong

OpenVG alpha format enumeration.

Enumerator
Pre 

VG_ALPHA_FORMAT_PRE.

NonPre 

VG_ALPHA_FORMAT_NONPRE.

enum eglplus::VGColorspace : EGLenum
strong

OpenVG colorspace enumeration.

Enumerator
sRGB 

VG_COLORSPACE_sRGB.

Linear 

VG_COLORSPACE_LINEAR.

Function Documentation

bool eglplus::BindAPI ( RenderingAPI  api)

Bind the specified rendering API.

Related EGL symbols:
eglBindAPI
RenderingAPI eglplus::QueryAPI ( void  )

Query the currently bound rendering API.

Related EGL symbols:
eglQueryAPI

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).