29 #ifndef __EAGLSupport_H__
30 #define __EAGLSupport_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,
77 size_t width,
size_t height);
80 bool portraitIsSupported(
void);
81 bool interfaceOrientationIsSupported(NSString *orientation);
83 EAGLESContext * createNewContext(CFDictionaryRef &glconfig, CAEAGLLayer *drawable, EAGLSharegroup *group)
const;
84 CFDictionaryRef getGLConfigFromContext(
EAGLESContext context);
85 CFDictionaryRef getGLConfigFromDrawable(CAEAGLLayer *drawable,
unsigned int *w,
unsigned int *h);
87 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)
PixelComponentType
Pixel component format.
Implementation of GL as a rendering system.
void removeDuplicates(C &c)