22 #import <UIKit/UIKit.h>
23 #import <OpenGLES/EAGL.h>
24 #import <OpenGLES/ES1/gl.h>
25 #import <OpenGLES/ES1/glext.h>
42 GLuint viewRenderbuffer, viewFramebuffer;
51 int animationInterval;
52 void (*animationCallback)(
void*);
53 void *animationCallbackParam;
56 @property (nonatomic, retain, readonly) EAGLContext *
context;
59 - (
void)setCurrentContext;
61 - (
id)initWithFrame:(CGRect)frame
63 retainBacking:(
BOOL)retained
68 depthBits:(
int)depthBits
69 stencilBits:(
int)stencilBits
70 majorVersion:(
int)majorVersion
71 shareGroup:(EAGLSharegroup*)shareGroup;
75 - (
void)setAnimationCallback:(
int)interval
76 callback:(
void (*)(
void*))callback
77 callbackParam:(
void*)callbackParam;
79 - (
void)startAnimation;
80 - (
void)stopAnimation;
82 - (
void)doLoop:(
id)sender;
GLvoid **typedef void(GLAPIENTRY *PFNGLGETVERTEXATTRIBDVPROC)(GLuint
typedef BOOL(WINAPI *PFNWGLSETSTEREOEMITTERSTATE3DLPROC)(HDC hDC