24 #ifndef RENDER_MOBILEOPENGLGRAPHICS_H
25 #define RENDER_MOBILEOPENGLGRAPHICS_H
27 #if defined(USE_OPENGL) && !defined(__native_client__) && !defined(__SWITCH__)
31 #include "render/graphics.h"
37 #include <GLES/glext.h>
38 #include <GLES2/gl2.h>
41 #define GL_GLEXT_PROTOTYPES 1
44 PRAGMA48(GCC diagnostic ignored
"-Wshadow")
47 PRAGMA45(GCC diagnostic ignored
"-Wredundant-decls")
48 #include <SDL_opengl.h>
51 #if defined(__APPLE__)
52 #include <OpenGL/glext.h>
53 #elif !defined(__native_client__)
55 PRAGMA45(GCC diagnostic ignored
"-Wredundant-decls")
61 class OpenGLGraphicsVertexes;
114 #ifdef DEBUG_BIND_TEXTURE
115 std::string mOldTexture;
116 unsigned mOldTextureId;
GLshort * mShortVertArray
GLfloat * mFloatTexArrayCached
void drawLineArrays(const int size) A_INLINE
void drawTriangleArrayfs(const GLshort *const shortVertArray, const GLfloat *const floatTexArray, const int size) A_INLINE
void drawTriangleArrayfsCached(const int size) A_INLINE
GLshort * mShortVertArrayCached
#define RENDER_GRAPHICSDEF_HPP
#define A_DELETE_COPY(func)
PRAGMA45(GCC diagnostic push) PRAGMA45(GCC diagnostic ignored "-Wredundant-decls") PRAGMA45(GCC diagnostic pop) PRAGMA45(GCC diagnostic push) PRAGMA45(GCC diagnostic ignored "-Wredundant-decls") PRAGMA45(GCC diagnostic pop) class OpenGLGraphicsVertexes
#define RENDER_OPENGLGRAPHICSDEF1_HPP
#define RENDER_OPENGLGRAPHICSDEF_HPP
#define RENDER_OPENGLGRAPHICSDEFADVANCED_HPP