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());
63 String validateConfig(
void);
64 virtual String getDisplayName(
void);
65 CFDictionaryRef chooseGLConfig(
const GLint *attribList, GLint *nElements);
66 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(CFDictionaryRef &glconfig, 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.
void removeDuplicates(C &c)