29 #ifndef __EAGL2Support_H__
30 #define __EAGL2Support_H__
39 typedef UIWindow *NativeWindowType;
48 std::sort(c.begin(), c.end());
49 typename C::iterator p = std::unique(c.begin(), c.end());
62 String validateConfig(
void);
63 virtual String getDisplayName(
void);
64 CFDictionaryRef chooseGLConfig(
const GLint *attribList, GLint *nElements);
65 GLint getGLConfigAttrib(CFDictionaryRef fbConfig, GLint attribute, GLint *value);
70 const String& windowTitle);
73 unsigned int width,
unsigned int height,
78 bool portraitIsSupported(
void);
79 bool interfaceOrientationIsSupported(NSString *orientation);
81 EAGLES2Context * createNewContext(CAEAGLLayer *drawable, EAGLSharegroup *group)
const;
83 CFDictionaryRef getGLConfigFromDrawable(CAEAGLLayer *drawable,
unsigned int *w,
unsigned int *h);
85 CFDictionaryRef selectGLConfig(
const int* minAttribs,
const int *maxAttribs);
Manages the target rendering window.
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
Implementation of GL ES 2.x as a rendering system.
float getCurrentOSVersion(void)
void removeDuplicates(C &c)