22 #ifndef BACKENDS_PLATFORM_IOS7_IOS7_VIDEO_H 23 #define BACKENDS_PLATFORM_IOS7_IOS7_VIDEO_H 25 #include <UIKit/UIKit.h> 26 #include <Foundation/Foundation.h> 27 #include <QuartzCore/QuartzCore.h> 29 #include <OpenGLES/EAGL.h> 30 #include <OpenGLES/ES2/gl.h> 31 #include <OpenGLES/ES2/glext.h> 33 #include "backends/platform/ios7/ios7_keyboard.h" 34 #include "backends/platform/ios7/ios7_common.h" 35 #include "backends/platform/ios7/ios7_game_controller.h" 37 #include "common/list.h" 44 uint getSizeNextPOT(uint size);
52 UIInterfaceOrientation _currentOrientation;
54 UIBackgroundTaskIdentifier _backgroundSaveStateTask;
56 EAGLContext *_mainContext;
57 EAGLContext *_openGLContext;
58 GLuint _viewRenderbuffer;
60 GLint _renderBufferWidth;
61 GLint _renderBufferHeight;
64 @property (nonatomic, assign) BOOL isInGame;
65 @property (nonatomic, assign) UIInterfaceOrientationMask supportedScreenOrientations;
67 - (id)initWithFrame:(
struct CGRect)frame;
69 - (uint)createOpenGLContext;
70 - (void)destroyOpenGLContext;
71 - (void)refreshScreen;
72 - (int)getScreenWidth;
73 - (int)getScreenHeight;
78 - (void)interfaceOrientationChanged:(UIInterfaceOrientation)orientation;
79 - (void)updateTouchMode;
80 - (BOOL)isiOSAppOnMac;
85 - (BOOL)isKeyboardShown;
87 - (void)handleMainMenuKey;
89 - (void)applicationSuspend;
90 - (void)applicationResume;
92 - (void)saveApplicationState;
93 - (void)clearApplicationState;
94 - (void)restoreApplicationState;
96 - (void) beginBackgroundSaveStateTask;
97 - (void) endBackgroundSaveStateTask;
102 - (bool)isGamepadControllerSupported;
103 - (void)virtualController:(
bool)connect;
Definition: ios7_common.h:89
Definition: ios7_video.h:46
Definition: ios7_video.h:39