30 #ifndef __EGLSupport_H__
31 #define __EGLSupport_H__
42 std::sort(c.begin(), c.end());
43 typename C::iterator p = std::unique(c.begin(), c.end());
50 void refreshConfig(
void);
74 String validateConfig(
void);
75 void setConfigOption(
const String &name,
const String &value);
76 virtual String getDisplayName (
void);
77 EGLDisplay getGLDisplay(
void);
78 void setGLDisplay(EGLDisplay val);
79 EGLConfig* chooseGLConfig(
const EGLint *attribList, EGLint *nElements);
80 EGLBoolean getGLConfigAttrib(EGLConfig fbConfig, EGLint attribute, EGLint *value);
86 const String& windowTitle);
93 ::EGLConfig getGLConfigFromContext(::
EGLContext context);
94 ::EGLConfig getGLConfigFromDrawable(::EGLSurface drawable,
95 unsigned int *w,
unsigned int *h);
96 ::EGLConfig selectGLConfig (
const EGLint* minAttribs,
const EGLint *maxAttribs);
97 void switchMode(
void);
98 virtual void switchMode(
uint& width,
uint& height,
short& frequency) = 0;
100 size_t width,
size_t height) = 0;
Manages the target rendering window.
std::pair< ScreenSize, Rate > VideoMode
NativeDisplayType mNativeDisplay
StringVector mSampleLevels
PixelComponentType
Pixel component format.
vector< String >::type StringVector
std::pair< uint, uint > ScreenSize
Implementation of GL as a rendering system.
std::vector< VideoMode > VideoModes
void removeDuplicates(C &c)