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);
52 EGLDisplay mGLDisplay;
53 NativeDisplayType mNativeDisplay;
55 bool mIsExternalDisplay;
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 EGLConfig* getConfigs(EGLint *nElements);
81 EGLBoolean getGLConfigAttrib(EGLConfig fbConfig, EGLint attribute, EGLint *value);
87 const String& windowTitle);
94 ::EGLConfig getGLConfigFromContext(::
EGLContext context);
95 ::EGLConfig getGLConfigFromDrawable(::EGLSurface drawable,
96 unsigned int *w,
unsigned int *h);
97 ::EGLConfig selectGLConfig (
const EGLint* minAttribs,
const EGLint *maxAttribs);
98 void switchMode(
void);
99 virtual void switchMode(
uint& width,
uint& height,
short& frequency) = 0;
Manages the target rendering window.
std::pair< ScreenSize, Rate > VideoMode
Implementation of GL ES 2.x as a rendering system.
vector< String >::type StringVector
std::pair< uint, uint > ScreenSize
std::vector< VideoMode > VideoModes
void removeDuplicates(C &c)