9 #import <OpenGLES/EAGL.h> 10 #import <OpenGLES/ES2/gl.h> 11 #import <UIKit/UIKit.h> 21 GLint framebufferWidth;
22 GLint framebufferHeight;
24 GLuint defaultFramebuffer, colorRenderbuffer, depthRenderbuffer;
34 NSConditionLock* animationThreadLock;
35 NSThread* animationThread;
36 UIScreen* __weak currentScreen;
38 BOOL framebufferResizeRequested;
40 @property (readonly, nonatomic, getter=isAnimating) BOOL animating;
41 @property (readonly, nonatomic, getter=isXBMCAlive) BOOL xbmcAlive;
42 @property (readonly, nonatomic, getter=isReadyToRun) BOOL readyToRun;
43 @property (readonly, nonatomic, getter=isPause) BOOL pause;
44 @property(weak, readonly, getter=getCurrentScreen) UIScreen* currentScreen;
45 @property (readonly, getter=getCurrentEAGLContext) EAGLContext *context;
46 @property BOOL framebufferResizeRequested;
48 - (id)initWithFrame:(CGRect)frame withScreen:(UIScreen *)screen;
49 - (void) pauseAnimation;
50 - (void) resumeAnimation;
51 - (void) startAnimation;
52 - (void) stopAnimation;
53 - (void) setFramebuffer;
54 - (bool) presentFramebuffer;
55 - (void) setScreen:(UIScreen *)screen withFrameBufferResize:(BOOL)resize;
56 - (CGFloat) getScreenScale:(UIScreen *)screen;
Definition: IOSEAGLView.h:16