29 #ifndef __EAGLSupport_H__
30 #define __EAGLSupport_H__
38 typedef UIWindow *NativeWindowType;
47 std::sort(c.begin(), c.end());
48 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);
69 const String& windowTitle);
72 unsigned int width,
unsigned int height,
76 size_t width,
size_t height);
79 EAGLESContext * createNewContext(CFDictionaryRef &glconfig, CAEAGLLayer *drawable)
const;
80 CFDictionaryRef getGLConfigFromContext(
EAGLESContext context);
81 CFDictionaryRef getGLConfigFromDrawable(CAEAGLLayer *drawable,
unsigned int *w,
unsigned int *h);
83 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)