24 #ifndef RENDER_NORMALOPENGLGRAPHICS_H
25 #define RENDER_NORMALOPENGLGRAPHICS_H
28 #if !defined(ANDROID) && !defined(__native_client__) && !defined(__SWITCH__)
32 #include "render/graphics.h"
38 #include <GLES/glext.h>
39 #include <GLES2/gl2.h>
42 #define GL_GLEXT_PROTOTYPES 1
45 PRAGMA48(GCC diagnostic ignored
"-Wshadow")
48 PRAGMA45(GCC diagnostic ignored
"-Wredundant-decls")
49 #include <SDL_opengl.h>
52 #if defined(__APPLE__)
53 #include <OpenGL/glext.h>
54 #elif !defined(__native_client__)
56 PRAGMA45(GCC diagnostic ignored
"-Wredundant-decls")
62 class OpenGLGraphicsVertexes;
87 const GLint *
restrict const intTexArray,
108 #ifdef DEBUG_BIND_TEXTURE
110 {
return mLastBinds; }
130 #ifdef DEBUG_BIND_TEXTURE
131 std::string mOldTexture;
132 unsigned int mOldTextureId;
133 static unsigned int mBinds;
134 static unsigned int mLastBinds;
void drawLineArrayi(const int size) A_INLINE
GLint * mIntVertArrayCached
void drawQuadArrayfi(const int size) A_INLINE
void drawLineArrayf(const int size) A_INLINE
void drawQuadArrayfiCached(const int size) A_INLINE
void drawQuadArrayii(const int size) A_INLINE
void drawQuadArrayiiCached(const int size) A_INLINE
GLfloat * mFloatTexArrayCached
GLint * mIntTexArrayCached
#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