22 #ifndef BACKENDS_GRAPHICS_IOS_IOS_GRAPHICS_H 23 #define BACKENDS_GRAPHICS_IOS_IOS_GRAPHICS_H 25 #include "common/scummsys.h" 26 #include <OpenGLES/ES2/gl.h> 28 #include "backends/graphics/opengl/opengl-graphics.h" 34 virtual void initSurface() = 0;
35 virtual void deinitSurface() = 0;
41 virtual void notifyResize(
const int width,
const int height) = 0;
51 int screenWidth, screenHeight;
80 void initSurface()
override;
81 void deinitSurface()
override;
83 void notifyResize(
const int width,
const int height)
override;
91 float getHiDPIScreenFactor()
const override;
96 bool loadVideoMode(uint requestedWidth, uint requestedHeight,
const Graphics::PixelFormat &format)
override;
97 void showOverlay(
bool inGUI)
override;
98 void hideOverlay()
override;
100 void refreshScreen()
override;
Definition: ios-graphics.h:30
Definition: ios-graphics.h:74
virtual State getState() const =0
Definition: ios-graphics.h:50
Definition: opengl-graphics.h:57
virtual bool setState(const State &state)=0
void setSystemMousePosition(const int x, const int y) override
Definition: ios-graphics.h:94
virtual void notifyResize(const int width, const int height)=0