28 #include <GLES2/gl2.h>
32 #define GL_FRAMEBUFFER 0x8D40
33 #define GL_COLOR_ATTACHMENT0 0x8CE0
34 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
35 #define GL_STREAM_DRAW 0x88E0
36 #define GL_STATIC_DRAW 0x88E4
37 #define GL_DYNAMIC_DRAW 0x88E8
38 #define GL_FRAGMENT_SHADER 0x8B30
39 #define GL_VERTEX_SHADER 0x8B31
40 #define GL_COMPILE_STATUS 0x8B81
41 #define GL_INFO_LOG_LENGTH 0x8B84
42 #define GL_LINK_STATUS 0x8B82
47 inline void glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) { }
48 inline void glBindFramebuffer (GLenum target, GLuint framebuffer) { }
49 inline void glDeleteFramebuffers (GLsizei n,
const GLuint* framebuffers) { }
50 inline void glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { }
51 inline void glGenFramebuffers (GLsizei n, GLuint* framebuffers) { }
52 inline void glGenerateMipmap (GLenum target) { }
53 inline GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target) {
return 0; }
54 inline GLuint glCreateShader (GLenum type) {
return 0; }
55 inline void glDeleteShader (GLuint shader) { }
56 inline void glCompileShader (GLuint shader) { }
57 inline void glAttachShader (GLuint program, GLuint shader) { }
58 inline void glDetachShader (GLuint program, GLuint shader) { }
59 inline void glShaderSource (GLuint shader, GLsizei count,
const GLchar**
string,
const GLint* length) { }
60 inline void glGetShaderiv (GLuint shader, GLenum pname, GLint* params) { }
61 inline void glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog) { }
62 inline void glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision) { }
63 inline void glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source) { }
64 inline GLuint glCreateProgram (
void) {
return 0; }
65 inline void glDeleteProgram (GLuint program) { }
66 inline void glUseProgram (GLuint program) { }
67 inline void glValidateProgram (GLuint program) { }
68 inline void glLinkProgram (GLuint program) { }
69 inline void glGetProgramiv (GLuint program, GLenum pname, GLint* params) { }
70 inline void glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog) { }
71 inline void glBindAttribLocation (GLuint program, GLuint index,
const GLchar* name) { }
72 inline int glGetAttribLocation (GLuint program,
const GLchar* name) {
return 0; }
73 inline int glGetUniformLocation (GLuint program,
const GLchar* name) {
return 0; }
74 inline void glUniform1f (GLint location, GLfloat x) { }
75 inline void glUniform1fv (GLint location, GLsizei count,
const GLfloat* v) { }
76 inline void glUniform1i (GLint location, GLint x) { }
77 inline void glUniform1iv (GLint location, GLsizei count,
const GLint* v) { }
78 inline void glUniform2f (GLint location, GLfloat x, GLfloat y) { }
79 inline void glUniform2fv (GLint location, GLsizei count,
const GLfloat* v) { }
80 inline void glUniform2i (GLint location, GLint x, GLint y) { }
81 inline void glUniform2iv (GLint location, GLsizei count,
const GLint* v) { }
82 inline void glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat
z) { }
83 inline void glUniform3fv (GLint location, GLsizei count,
const GLfloat* v) { }
84 inline void glUniform3i (GLint location, GLint x, GLint y, GLint
z) { }
85 inline void glUniform3iv (GLint location, GLsizei count,
const GLint* v) { }
86 inline void glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat
z, GLfloat w) { }
87 inline void glUniform4fv (GLint location, GLsizei count,
const GLfloat* v) { }
88 inline void glUniform4i (GLint location, GLint x, GLint y, GLint
z, GLint w) { }
89 inline void glUniform4iv (GLint location, GLsizei count,
const GLint* v) { }
90 inline void glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose,
const GLfloat* value) { }
91 inline void glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose,
const GLfloat* value) { }
92 inline void glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose,
const GLfloat* value) { }
93 inline void glVertexAttrib1f (GLuint indx, GLfloat x) { }
94 inline void glVertexAttrib1fv (GLuint indx,
const GLfloat* values) { }
95 inline void glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y) { }
96 inline void glVertexAttrib2fv (GLuint indx,
const GLfloat* values) { }
97 inline void glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat
z) { }
98 inline void glVertexAttrib3fv (GLuint indx,
const GLfloat* values) { }
99 inline void glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat
z, GLfloat w) { }
100 inline void glVertexAttrib4fv (GLuint indx,
const GLfloat* values) { }
101 inline void glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride,
const GLvoid* ptr) { }
102 inline void glEnableVertexAttribArray (GLuint index) { }
103 inline void glDisableVertexAttribArray (GLuint index) { }