Import goldfish HAL sources from devices/generic/goldfish
We import all code here so we can customize and keep in sync with what we do on the host side more easily.
This commit is contained in:
parent
ddea17253c
commit
23392b9732
196 changed files with 62159 additions and 0 deletions
20
android/opengl/system/GLESv2_enc/Android.mk
Normal file
20
android/opengl/system/GLESv2_enc/Android.mk
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
### GLESv2_enc Encoder ###########################################
|
||||
$(call emugl-begin-shared-library,libGLESv2_enc)
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
GL2EncoderUtils.cpp \
|
||||
GL2Encoder.cpp \
|
||||
gl2_client_context.cpp \
|
||||
gl2_enc.cpp \
|
||||
gl2_entry.cpp
|
||||
|
||||
LOCAL_CFLAGS += -DLOG_TAG=\"emuglGLESv2_enc\"
|
||||
|
||||
$(call emugl-export,C_INCLUDES,$(LOCAL_PATH))
|
||||
$(call emugl-import,libOpenglCodecCommon)
|
||||
|
||||
$(call emugl-end-module)
|
||||
|
||||
|
||||
1488
android/opengl/system/GLESv2_enc/GL2Encoder.cpp
Executable file
1488
android/opengl/system/GLESv2_enc/GL2Encoder.cpp
Executable file
File diff suppressed because it is too large
Load diff
251
android/opengl/system/GLESv2_enc/GL2Encoder.h
Normal file
251
android/opengl/system/GLESv2_enc/GL2Encoder.h
Normal file
|
|
@ -0,0 +1,251 @@
|
|||
/*
|
||||
* Copyright (C) 2011 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
#ifndef _GL2_ENCODER_H_
|
||||
#define _GL2_ENCODER_H_
|
||||
|
||||
#include "gl2_enc.h"
|
||||
#include "GLClientState.h"
|
||||
#include "GLSharedGroup.h"
|
||||
#include "FixedBuffer.h"
|
||||
|
||||
class GL2Encoder : public gl2_encoder_context_t {
|
||||
public:
|
||||
GL2Encoder(IOStream *stream, ChecksumCalculator* protocol);
|
||||
virtual ~GL2Encoder();
|
||||
void setClientState(GLClientState *state) {
|
||||
m_state = state;
|
||||
}
|
||||
void setSharedGroup(GLSharedGroupPtr shared){ m_shared = shared; }
|
||||
const GLClientState *state() { return m_state; }
|
||||
const GLSharedGroupPtr shared() { return m_shared; }
|
||||
void flush() { m_stream->flush(); }
|
||||
|
||||
void setInitialized(){ m_initialized = true; };
|
||||
bool isInitialized(){ return m_initialized; };
|
||||
|
||||
virtual void setError(GLenum error){ m_error = error; };
|
||||
virtual GLenum getError() { return m_error; };
|
||||
|
||||
void override2DTextureTarget(GLenum target);
|
||||
void restore2DTextureTarget();
|
||||
|
||||
private:
|
||||
|
||||
bool m_initialized;
|
||||
GLClientState *m_state;
|
||||
GLSharedGroupPtr m_shared;
|
||||
GLenum m_error;
|
||||
|
||||
GLint *m_compressedTextureFormats;
|
||||
GLint m_num_compressedTextureFormats;
|
||||
GLint *getCompressedTextureFormats();
|
||||
|
||||
GLint m_max_cubeMapTextureSize;
|
||||
GLint m_max_renderBufferSize;
|
||||
GLint m_max_textureSize;
|
||||
FixedBuffer m_fixedBuffer;
|
||||
|
||||
void sendVertexAttributes(GLint first, GLsizei count);
|
||||
bool updateHostTexture2DBinding(GLenum texUnit, GLenum newTarget);
|
||||
void checkValidUniformParam(void * self, GLsizei count, GLboolean transpose);
|
||||
void getHostLocation(void *self, GLint location, GLint *hostLoc);
|
||||
|
||||
|
||||
glGetError_client_proc_t m_glGetError_enc;
|
||||
static GLenum s_glGetError(void * self);
|
||||
|
||||
glFlush_client_proc_t m_glFlush_enc;
|
||||
static void s_glFlush(void * self);
|
||||
|
||||
glPixelStorei_client_proc_t m_glPixelStorei_enc;
|
||||
static void s_glPixelStorei(void *self, GLenum param, GLint value);
|
||||
|
||||
glGetString_client_proc_t m_glGetString_enc;
|
||||
static const GLubyte * s_glGetString(void *self, GLenum name);
|
||||
|
||||
glBindBuffer_client_proc_t m_glBindBuffer_enc;
|
||||
static void s_glBindBuffer(void *self, GLenum target, GLuint id);
|
||||
|
||||
|
||||
glBufferData_client_proc_t m_glBufferData_enc;
|
||||
static void s_glBufferData(void *self, GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage);
|
||||
glBufferSubData_client_proc_t m_glBufferSubData_enc;
|
||||
static void s_glBufferSubData(void *self, GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data);
|
||||
glDeleteBuffers_client_proc_t m_glDeleteBuffers_enc;
|
||||
static void s_glDeleteBuffers(void *self, GLsizei n, const GLuint * buffers);
|
||||
|
||||
glDrawArrays_client_proc_t m_glDrawArrays_enc;
|
||||
static void s_glDrawArrays(void *self, GLenum mode, GLint first, GLsizei count);
|
||||
|
||||
glDrawElements_client_proc_t m_glDrawElements_enc;
|
||||
static void s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices);
|
||||
|
||||
|
||||
glGetIntegerv_client_proc_t m_glGetIntegerv_enc;
|
||||
static void s_glGetIntegerv(void *self, GLenum pname, GLint *ptr);
|
||||
|
||||
glGetFloatv_client_proc_t m_glGetFloatv_enc;
|
||||
static void s_glGetFloatv(void *self, GLenum pname, GLfloat *ptr);
|
||||
|
||||
glGetBooleanv_client_proc_t m_glGetBooleanv_enc;
|
||||
static void s_glGetBooleanv(void *self, GLenum pname, GLboolean *ptr);
|
||||
|
||||
glVertexAttribPointer_client_proc_t m_glVertexAttribPointer_enc;
|
||||
static void s_glVertexAttribPointer(void *self, GLuint indx, GLint size, GLenum type,
|
||||
GLboolean normalized, GLsizei stride, const GLvoid * ptr);
|
||||
|
||||
glEnableVertexAttribArray_client_proc_t m_glEnableVertexAttribArray_enc;
|
||||
static void s_glEnableVertexAttribArray(void *self, GLuint index);
|
||||
|
||||
glDisableVertexAttribArray_client_proc_t m_glDisableVertexAttribArray_enc;
|
||||
static void s_glDisableVertexAttribArray(void *self, GLuint index);
|
||||
|
||||
glGetVertexAttribiv_client_proc_t m_glGetVertexAttribiv_enc;
|
||||
static void s_glGetVertexAttribiv(void *self, GLuint index, GLenum pname, GLint *params);
|
||||
|
||||
glGetVertexAttribfv_client_proc_t m_glGetVertexAttribfv_enc;
|
||||
static void s_glGetVertexAttribfv(void *self, GLuint index, GLenum pname, GLfloat *params);
|
||||
|
||||
glGetVertexAttribPointerv_client_proc_t m_glGetVertexAttribPointerv_enc;
|
||||
static void s_glGetVertexAttribPointerv(void *self, GLuint index, GLenum pname, GLvoid **pointer);
|
||||
|
||||
static void s_glShaderBinary(void *self, GLsizei n, const GLuint *shaders, GLenum binaryformat, const void* binary, GLsizei length);
|
||||
|
||||
static void s_glShaderSource(void *self, GLuint shader, GLsizei count, const GLchar * const *string, const GLint *length);
|
||||
|
||||
static void s_glFinish(void *self);
|
||||
|
||||
glLinkProgram_client_proc_t m_glLinkProgram_enc;
|
||||
static void s_glLinkProgram(void *self, GLuint program);
|
||||
|
||||
glDeleteProgram_client_proc_t m_glDeleteProgram_enc;
|
||||
static void s_glDeleteProgram(void * self, GLuint program);
|
||||
|
||||
glGetUniformiv_client_proc_t m_glGetUniformiv_enc;
|
||||
static void s_glGetUniformiv(void *self, GLuint program, GLint location , GLint *params);
|
||||
|
||||
glGetUniformfv_client_proc_t m_glGetUniformfv_enc;
|
||||
static void s_glGetUniformfv(void *self, GLuint program, GLint location , GLfloat *params);
|
||||
|
||||
glCreateProgram_client_proc_t m_glCreateProgram_enc;
|
||||
static GLuint s_glCreateProgram(void *self);
|
||||
|
||||
glCreateShader_client_proc_t m_glCreateShader_enc;
|
||||
static GLuint s_glCreateShader(void *self, GLenum shaderType);
|
||||
|
||||
glDeleteShader_client_proc_t m_glDeleteShader_enc;
|
||||
static void s_glDeleteShader(void *self, GLuint shader);
|
||||
|
||||
glAttachShader_client_proc_t m_glAttachShader_enc;
|
||||
static void s_glAttachShader(void *self, GLuint program, GLuint shader);
|
||||
|
||||
glDetachShader_client_proc_t m_glDetachShader_enc;
|
||||
static void s_glDetachShader(void *self, GLuint program, GLuint shader);
|
||||
|
||||
glGetAttachedShaders_client_proc_t m_glGetAttachedShaders_enc;
|
||||
static void s_glGetAttachedShaders(void *self, GLuint program, GLsizei maxCount,
|
||||
GLsizei* count, GLuint* shaders);
|
||||
|
||||
glGetShaderSource_client_proc_t m_glGetShaderSource_enc;
|
||||
static void s_glGetShaderSource(void *self, GLuint shader, GLsizei bufsize,
|
||||
GLsizei* length, GLchar* source);
|
||||
|
||||
glGetShaderInfoLog_client_proc_t m_glGetShaderInfoLog_enc;
|
||||
static void s_glGetShaderInfoLog(void *self,GLuint shader,
|
||||
GLsizei bufsize, GLsizei* length, GLchar* infolog);
|
||||
|
||||
glGetProgramInfoLog_client_proc_t m_glGetProgramInfoLog_enc;
|
||||
static void s_glGetProgramInfoLog(void *self,GLuint program,
|
||||
GLsizei bufsize, GLsizei* length, GLchar* infolog);
|
||||
|
||||
glGetUniformLocation_client_proc_t m_glGetUniformLocation_enc;
|
||||
static int s_glGetUniformLocation(void *self, GLuint program, const GLchar *name);
|
||||
glUseProgram_client_proc_t m_glUseProgram_enc;
|
||||
|
||||
glUniform1f_client_proc_t m_glUniform1f_enc;
|
||||
glUniform1fv_client_proc_t m_glUniform1fv_enc;
|
||||
glUniform1i_client_proc_t m_glUniform1i_enc;
|
||||
glUniform1iv_client_proc_t m_glUniform1iv_enc;
|
||||
glUniform2f_client_proc_t m_glUniform2f_enc;
|
||||
glUniform2fv_client_proc_t m_glUniform2fv_enc;
|
||||
glUniform2i_client_proc_t m_glUniform2i_enc;
|
||||
glUniform2iv_client_proc_t m_glUniform2iv_enc;
|
||||
glUniform3f_client_proc_t m_glUniform3f_enc;
|
||||
glUniform3fv_client_proc_t m_glUniform3fv_enc;
|
||||
glUniform3i_client_proc_t m_glUniform3i_enc;
|
||||
glUniform3iv_client_proc_t m_glUniform3iv_enc;
|
||||
glUniform4f_client_proc_t m_glUniform4f_enc;
|
||||
glUniform4fv_client_proc_t m_glUniform4fv_enc;
|
||||
glUniform4i_client_proc_t m_glUniform4i_enc;
|
||||
glUniform4iv_client_proc_t m_glUniform4iv_enc;
|
||||
glUniformMatrix2fv_client_proc_t m_glUniformMatrix2fv_enc;
|
||||
glUniformMatrix3fv_client_proc_t m_glUniformMatrix3fv_enc;
|
||||
glUniformMatrix4fv_client_proc_t m_glUniformMatrix4fv_enc;
|
||||
|
||||
static void s_glUseProgram(void *self, GLuint program);
|
||||
static void s_glUniform1f(void *self , GLint location, GLfloat x);
|
||||
static void s_glUniform1fv(void *self , GLint location, GLsizei count, const GLfloat* v);
|
||||
static void s_glUniform1i(void *self , GLint location, GLint x);
|
||||
static void s_glUniform1iv(void *self , GLint location, GLsizei count, const GLint* v);
|
||||
static void s_glUniform2f(void *self , GLint location, GLfloat x, GLfloat y);
|
||||
static void s_glUniform2fv(void *self , GLint location, GLsizei count, const GLfloat* v);
|
||||
static void s_glUniform2i(void *self , GLint location, GLint x, GLint y);
|
||||
static void s_glUniform2iv(void *self , GLint location, GLsizei count, const GLint* v);
|
||||
static void s_glUniform3f(void *self , GLint location, GLfloat x, GLfloat y, GLfloat z);
|
||||
static void s_glUniform3fv(void *self , GLint location, GLsizei count, const GLfloat* v);
|
||||
static void s_glUniform3i(void *self , GLint location, GLint x, GLint y, GLint z);
|
||||
static void s_glUniform3iv(void *self , GLint location, GLsizei count, const GLint* v);
|
||||
static void s_glUniform4f(void *self , GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
|
||||
static void s_glUniform4fv(void *self , GLint location, GLsizei count, const GLfloat* v);
|
||||
static void s_glUniform4i(void *self , GLint location, GLint x, GLint y, GLint z, GLint w);
|
||||
static void s_glUniform4iv(void *self , GLint location, GLsizei count, const GLint* v);
|
||||
static void s_glUniformMatrix2fv(void *self , GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
|
||||
static void s_glUniformMatrix3fv(void *self , GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
|
||||
static void s_glUniformMatrix4fv(void *self , GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
|
||||
|
||||
glActiveTexture_client_proc_t m_glActiveTexture_enc;
|
||||
glBindTexture_client_proc_t m_glBindTexture_enc;
|
||||
glDeleteTextures_client_proc_t m_glDeleteTextures_enc;
|
||||
glGetTexParameterfv_client_proc_t m_glGetTexParameterfv_enc;
|
||||
glGetTexParameteriv_client_proc_t m_glGetTexParameteriv_enc;
|
||||
glTexParameterf_client_proc_t m_glTexParameterf_enc;
|
||||
glTexParameterfv_client_proc_t m_glTexParameterfv_enc;
|
||||
glTexParameteri_client_proc_t m_glTexParameteri_enc;
|
||||
glTexParameteriv_client_proc_t m_glTexParameteriv_enc;
|
||||
glTexImage2D_client_proc_t m_glTexImage2D_enc;
|
||||
glTexSubImage2D_client_proc_t m_glTexSubImage2D_enc;
|
||||
|
||||
static void s_glActiveTexture(void* self, GLenum texture);
|
||||
static void s_glBindTexture(void* self, GLenum target, GLuint texture);
|
||||
static void s_glDeleteTextures(void* self, GLsizei n, const GLuint* textures);
|
||||
static void s_glGetTexParameterfv(void* self, GLenum target, GLenum pname, GLfloat* params);
|
||||
static void s_glGetTexParameteriv(void* self, GLenum target, GLenum pname, GLint* params);
|
||||
static void s_glTexParameterf(void* self, GLenum target, GLenum pname, GLfloat param);
|
||||
static void s_glTexParameterfv(void* self, GLenum target, GLenum pname, const GLfloat* params);
|
||||
static void s_glTexParameteri(void* self, GLenum target, GLenum pname, GLint param);
|
||||
static void s_glTexParameteriv(void* self, GLenum target, GLenum pname, const GLint* params);
|
||||
static void s_glTexImage2D(void* self, GLenum target, GLint level, GLint internalformat,
|
||||
GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type,
|
||||
const GLvoid* pixels);
|
||||
static void s_glTexSubImage2D(void* self, GLenum target, GLint level, GLint xoffset,
|
||||
GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type,
|
||||
const GLvoid* pixels);
|
||||
|
||||
public:
|
||||
glEGLImageTargetTexture2DOES_client_proc_t m_glEGLImageTargetTexture2DOES_enc;
|
||||
|
||||
};
|
||||
#endif
|
||||
43
android/opengl/system/GLESv2_enc/GL2EncoderUtils.cpp
Normal file
43
android/opengl/system/GLESv2_enc/GL2EncoderUtils.cpp
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
* Copyright (C) 2011 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "GL2Encoder.h"
|
||||
#include <assert.h>
|
||||
|
||||
namespace glesv2_enc {
|
||||
|
||||
size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pack)
|
||||
{
|
||||
GL2Encoder *ctx = (GL2Encoder *)self;
|
||||
assert (ctx->state() != NULL);
|
||||
return ctx->state()->pixelDataSize(width, height, format, type, pack);
|
||||
}
|
||||
|
||||
size_t pixelDataSize3D(void *self, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, int pack)
|
||||
{
|
||||
size_t layerSize = pixelDataSize(self, width, height, format, type, pack);
|
||||
return layerSize * depth;
|
||||
}
|
||||
|
||||
GLenum uniformType(void * self, GLuint program, GLint location)
|
||||
{
|
||||
GL2Encoder * ctx = (GL2Encoder *) self;
|
||||
assert (ctx->shared() != NULL);
|
||||
return ctx->shared()->getProgramUniformType(program, location);
|
||||
}
|
||||
|
||||
} // namespace glesv2_enc
|
||||
27
android/opengl/system/GLESv2_enc/GL2EncoderUtils.h
Normal file
27
android/opengl/system/GLESv2_enc/GL2EncoderUtils.h
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* Copyright (C) 2011 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
#ifndef GL2_ENCODER_UTILS_H
|
||||
#define GL2_ENCODER_UTILS_H
|
||||
|
||||
namespace glesv2_enc {
|
||||
|
||||
size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pack);
|
||||
size_t pixelDataSize3D(void *self, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, int pack);
|
||||
GLenum uniformType(void * self, GLuint program, GLint location);
|
||||
|
||||
} // namespace glesv2_enc
|
||||
|
||||
#endif
|
||||
223
android/opengl/system/GLESv2_enc/gl2_client_context.cpp
Normal file
223
android/opengl/system/GLESv2_enc/gl2_client_context.cpp
Normal file
|
|
@ -0,0 +1,223 @@
|
|||
// Generated Code - DO NOT EDIT !!
|
||||
// generated by 'emugen'
|
||||
|
||||
|
||||
#include <string.h>
|
||||
#include "gl2_client_context.h"
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int gl2_client_context_t::initDispatchByName(void *(*getProc)(const char *, void *userData), void *userData)
|
||||
{
|
||||
glActiveTexture = (glActiveTexture_client_proc_t) getProc("glActiveTexture", userData);
|
||||
glAttachShader = (glAttachShader_client_proc_t) getProc("glAttachShader", userData);
|
||||
glBindAttribLocation = (glBindAttribLocation_client_proc_t) getProc("glBindAttribLocation", userData);
|
||||
glBindBuffer = (glBindBuffer_client_proc_t) getProc("glBindBuffer", userData);
|
||||
glBindFramebuffer = (glBindFramebuffer_client_proc_t) getProc("glBindFramebuffer", userData);
|
||||
glBindRenderbuffer = (glBindRenderbuffer_client_proc_t) getProc("glBindRenderbuffer", userData);
|
||||
glBindTexture = (glBindTexture_client_proc_t) getProc("glBindTexture", userData);
|
||||
glBlendColor = (glBlendColor_client_proc_t) getProc("glBlendColor", userData);
|
||||
glBlendEquation = (glBlendEquation_client_proc_t) getProc("glBlendEquation", userData);
|
||||
glBlendEquationSeparate = (glBlendEquationSeparate_client_proc_t) getProc("glBlendEquationSeparate", userData);
|
||||
glBlendFunc = (glBlendFunc_client_proc_t) getProc("glBlendFunc", userData);
|
||||
glBlendFuncSeparate = (glBlendFuncSeparate_client_proc_t) getProc("glBlendFuncSeparate", userData);
|
||||
glBufferData = (glBufferData_client_proc_t) getProc("glBufferData", userData);
|
||||
glBufferSubData = (glBufferSubData_client_proc_t) getProc("glBufferSubData", userData);
|
||||
glCheckFramebufferStatus = (glCheckFramebufferStatus_client_proc_t) getProc("glCheckFramebufferStatus", userData);
|
||||
glClear = (glClear_client_proc_t) getProc("glClear", userData);
|
||||
glClearColor = (glClearColor_client_proc_t) getProc("glClearColor", userData);
|
||||
glClearDepthf = (glClearDepthf_client_proc_t) getProc("glClearDepthf", userData);
|
||||
glClearStencil = (glClearStencil_client_proc_t) getProc("glClearStencil", userData);
|
||||
glColorMask = (glColorMask_client_proc_t) getProc("glColorMask", userData);
|
||||
glCompileShader = (glCompileShader_client_proc_t) getProc("glCompileShader", userData);
|
||||
glCompressedTexImage2D = (glCompressedTexImage2D_client_proc_t) getProc("glCompressedTexImage2D", userData);
|
||||
glCompressedTexSubImage2D = (glCompressedTexSubImage2D_client_proc_t) getProc("glCompressedTexSubImage2D", userData);
|
||||
glCopyTexImage2D = (glCopyTexImage2D_client_proc_t) getProc("glCopyTexImage2D", userData);
|
||||
glCopyTexSubImage2D = (glCopyTexSubImage2D_client_proc_t) getProc("glCopyTexSubImage2D", userData);
|
||||
glCreateProgram = (glCreateProgram_client_proc_t) getProc("glCreateProgram", userData);
|
||||
glCreateShader = (glCreateShader_client_proc_t) getProc("glCreateShader", userData);
|
||||
glCullFace = (glCullFace_client_proc_t) getProc("glCullFace", userData);
|
||||
glDeleteBuffers = (glDeleteBuffers_client_proc_t) getProc("glDeleteBuffers", userData);
|
||||
glDeleteFramebuffers = (glDeleteFramebuffers_client_proc_t) getProc("glDeleteFramebuffers", userData);
|
||||
glDeleteProgram = (glDeleteProgram_client_proc_t) getProc("glDeleteProgram", userData);
|
||||
glDeleteRenderbuffers = (glDeleteRenderbuffers_client_proc_t) getProc("glDeleteRenderbuffers", userData);
|
||||
glDeleteShader = (glDeleteShader_client_proc_t) getProc("glDeleteShader", userData);
|
||||
glDeleteTextures = (glDeleteTextures_client_proc_t) getProc("glDeleteTextures", userData);
|
||||
glDepthFunc = (glDepthFunc_client_proc_t) getProc("glDepthFunc", userData);
|
||||
glDepthMask = (glDepthMask_client_proc_t) getProc("glDepthMask", userData);
|
||||
glDepthRangef = (glDepthRangef_client_proc_t) getProc("glDepthRangef", userData);
|
||||
glDetachShader = (glDetachShader_client_proc_t) getProc("glDetachShader", userData);
|
||||
glDisable = (glDisable_client_proc_t) getProc("glDisable", userData);
|
||||
glDisableVertexAttribArray = (glDisableVertexAttribArray_client_proc_t) getProc("glDisableVertexAttribArray", userData);
|
||||
glDrawArrays = (glDrawArrays_client_proc_t) getProc("glDrawArrays", userData);
|
||||
glDrawElements = (glDrawElements_client_proc_t) getProc("glDrawElements", userData);
|
||||
glEnable = (glEnable_client_proc_t) getProc("glEnable", userData);
|
||||
glEnableVertexAttribArray = (glEnableVertexAttribArray_client_proc_t) getProc("glEnableVertexAttribArray", userData);
|
||||
glFinish = (glFinish_client_proc_t) getProc("glFinish", userData);
|
||||
glFlush = (glFlush_client_proc_t) getProc("glFlush", userData);
|
||||
glFramebufferRenderbuffer = (glFramebufferRenderbuffer_client_proc_t) getProc("glFramebufferRenderbuffer", userData);
|
||||
glFramebufferTexture2D = (glFramebufferTexture2D_client_proc_t) getProc("glFramebufferTexture2D", userData);
|
||||
glFrontFace = (glFrontFace_client_proc_t) getProc("glFrontFace", userData);
|
||||
glGenBuffers = (glGenBuffers_client_proc_t) getProc("glGenBuffers", userData);
|
||||
glGenerateMipmap = (glGenerateMipmap_client_proc_t) getProc("glGenerateMipmap", userData);
|
||||
glGenFramebuffers = (glGenFramebuffers_client_proc_t) getProc("glGenFramebuffers", userData);
|
||||
glGenRenderbuffers = (glGenRenderbuffers_client_proc_t) getProc("glGenRenderbuffers", userData);
|
||||
glGenTextures = (glGenTextures_client_proc_t) getProc("glGenTextures", userData);
|
||||
glGetActiveAttrib = (glGetActiveAttrib_client_proc_t) getProc("glGetActiveAttrib", userData);
|
||||
glGetActiveUniform = (glGetActiveUniform_client_proc_t) getProc("glGetActiveUniform", userData);
|
||||
glGetAttachedShaders = (glGetAttachedShaders_client_proc_t) getProc("glGetAttachedShaders", userData);
|
||||
glGetAttribLocation = (glGetAttribLocation_client_proc_t) getProc("glGetAttribLocation", userData);
|
||||
glGetBooleanv = (glGetBooleanv_client_proc_t) getProc("glGetBooleanv", userData);
|
||||
glGetBufferParameteriv = (glGetBufferParameteriv_client_proc_t) getProc("glGetBufferParameteriv", userData);
|
||||
glGetError = (glGetError_client_proc_t) getProc("glGetError", userData);
|
||||
glGetFloatv = (glGetFloatv_client_proc_t) getProc("glGetFloatv", userData);
|
||||
glGetFramebufferAttachmentParameteriv = (glGetFramebufferAttachmentParameteriv_client_proc_t) getProc("glGetFramebufferAttachmentParameteriv", userData);
|
||||
glGetIntegerv = (glGetIntegerv_client_proc_t) getProc("glGetIntegerv", userData);
|
||||
glGetProgramiv = (glGetProgramiv_client_proc_t) getProc("glGetProgramiv", userData);
|
||||
glGetProgramInfoLog = (glGetProgramInfoLog_client_proc_t) getProc("glGetProgramInfoLog", userData);
|
||||
glGetRenderbufferParameteriv = (glGetRenderbufferParameteriv_client_proc_t) getProc("glGetRenderbufferParameteriv", userData);
|
||||
glGetShaderiv = (glGetShaderiv_client_proc_t) getProc("glGetShaderiv", userData);
|
||||
glGetShaderInfoLog = (glGetShaderInfoLog_client_proc_t) getProc("glGetShaderInfoLog", userData);
|
||||
glGetShaderPrecisionFormat = (glGetShaderPrecisionFormat_client_proc_t) getProc("glGetShaderPrecisionFormat", userData);
|
||||
glGetShaderSource = (glGetShaderSource_client_proc_t) getProc("glGetShaderSource", userData);
|
||||
glGetString = (glGetString_client_proc_t) getProc("glGetString", userData);
|
||||
glGetTexParameterfv = (glGetTexParameterfv_client_proc_t) getProc("glGetTexParameterfv", userData);
|
||||
glGetTexParameteriv = (glGetTexParameteriv_client_proc_t) getProc("glGetTexParameteriv", userData);
|
||||
glGetUniformfv = (glGetUniformfv_client_proc_t) getProc("glGetUniformfv", userData);
|
||||
glGetUniformiv = (glGetUniformiv_client_proc_t) getProc("glGetUniformiv", userData);
|
||||
glGetUniformLocation = (glGetUniformLocation_client_proc_t) getProc("glGetUniformLocation", userData);
|
||||
glGetVertexAttribfv = (glGetVertexAttribfv_client_proc_t) getProc("glGetVertexAttribfv", userData);
|
||||
glGetVertexAttribiv = (glGetVertexAttribiv_client_proc_t) getProc("glGetVertexAttribiv", userData);
|
||||
glGetVertexAttribPointerv = (glGetVertexAttribPointerv_client_proc_t) getProc("glGetVertexAttribPointerv", userData);
|
||||
glHint = (glHint_client_proc_t) getProc("glHint", userData);
|
||||
glIsBuffer = (glIsBuffer_client_proc_t) getProc("glIsBuffer", userData);
|
||||
glIsEnabled = (glIsEnabled_client_proc_t) getProc("glIsEnabled", userData);
|
||||
glIsFramebuffer = (glIsFramebuffer_client_proc_t) getProc("glIsFramebuffer", userData);
|
||||
glIsProgram = (glIsProgram_client_proc_t) getProc("glIsProgram", userData);
|
||||
glIsRenderbuffer = (glIsRenderbuffer_client_proc_t) getProc("glIsRenderbuffer", userData);
|
||||
glIsShader = (glIsShader_client_proc_t) getProc("glIsShader", userData);
|
||||
glIsTexture = (glIsTexture_client_proc_t) getProc("glIsTexture", userData);
|
||||
glLineWidth = (glLineWidth_client_proc_t) getProc("glLineWidth", userData);
|
||||
glLinkProgram = (glLinkProgram_client_proc_t) getProc("glLinkProgram", userData);
|
||||
glPixelStorei = (glPixelStorei_client_proc_t) getProc("glPixelStorei", userData);
|
||||
glPolygonOffset = (glPolygonOffset_client_proc_t) getProc("glPolygonOffset", userData);
|
||||
glReadPixels = (glReadPixels_client_proc_t) getProc("glReadPixels", userData);
|
||||
glReleaseShaderCompiler = (glReleaseShaderCompiler_client_proc_t) getProc("glReleaseShaderCompiler", userData);
|
||||
glRenderbufferStorage = (glRenderbufferStorage_client_proc_t) getProc("glRenderbufferStorage", userData);
|
||||
glSampleCoverage = (glSampleCoverage_client_proc_t) getProc("glSampleCoverage", userData);
|
||||
glScissor = (glScissor_client_proc_t) getProc("glScissor", userData);
|
||||
glShaderBinary = (glShaderBinary_client_proc_t) getProc("glShaderBinary", userData);
|
||||
glShaderSource = (glShaderSource_client_proc_t) getProc("glShaderSource", userData);
|
||||
glStencilFunc = (glStencilFunc_client_proc_t) getProc("glStencilFunc", userData);
|
||||
glStencilFuncSeparate = (glStencilFuncSeparate_client_proc_t) getProc("glStencilFuncSeparate", userData);
|
||||
glStencilMask = (glStencilMask_client_proc_t) getProc("glStencilMask", userData);
|
||||
glStencilMaskSeparate = (glStencilMaskSeparate_client_proc_t) getProc("glStencilMaskSeparate", userData);
|
||||
glStencilOp = (glStencilOp_client_proc_t) getProc("glStencilOp", userData);
|
||||
glStencilOpSeparate = (glStencilOpSeparate_client_proc_t) getProc("glStencilOpSeparate", userData);
|
||||
glTexImage2D = (glTexImage2D_client_proc_t) getProc("glTexImage2D", userData);
|
||||
glTexParameterf = (glTexParameterf_client_proc_t) getProc("glTexParameterf", userData);
|
||||
glTexParameterfv = (glTexParameterfv_client_proc_t) getProc("glTexParameterfv", userData);
|
||||
glTexParameteri = (glTexParameteri_client_proc_t) getProc("glTexParameteri", userData);
|
||||
glTexParameteriv = (glTexParameteriv_client_proc_t) getProc("glTexParameteriv", userData);
|
||||
glTexSubImage2D = (glTexSubImage2D_client_proc_t) getProc("glTexSubImage2D", userData);
|
||||
glUniform1f = (glUniform1f_client_proc_t) getProc("glUniform1f", userData);
|
||||
glUniform1fv = (glUniform1fv_client_proc_t) getProc("glUniform1fv", userData);
|
||||
glUniform1i = (glUniform1i_client_proc_t) getProc("glUniform1i", userData);
|
||||
glUniform1iv = (glUniform1iv_client_proc_t) getProc("glUniform1iv", userData);
|
||||
glUniform2f = (glUniform2f_client_proc_t) getProc("glUniform2f", userData);
|
||||
glUniform2fv = (glUniform2fv_client_proc_t) getProc("glUniform2fv", userData);
|
||||
glUniform2i = (glUniform2i_client_proc_t) getProc("glUniform2i", userData);
|
||||
glUniform2iv = (glUniform2iv_client_proc_t) getProc("glUniform2iv", userData);
|
||||
glUniform3f = (glUniform3f_client_proc_t) getProc("glUniform3f", userData);
|
||||
glUniform3fv = (glUniform3fv_client_proc_t) getProc("glUniform3fv", userData);
|
||||
glUniform3i = (glUniform3i_client_proc_t) getProc("glUniform3i", userData);
|
||||
glUniform3iv = (glUniform3iv_client_proc_t) getProc("glUniform3iv", userData);
|
||||
glUniform4f = (glUniform4f_client_proc_t) getProc("glUniform4f", userData);
|
||||
glUniform4fv = (glUniform4fv_client_proc_t) getProc("glUniform4fv", userData);
|
||||
glUniform4i = (glUniform4i_client_proc_t) getProc("glUniform4i", userData);
|
||||
glUniform4iv = (glUniform4iv_client_proc_t) getProc("glUniform4iv", userData);
|
||||
glUniformMatrix2fv = (glUniformMatrix2fv_client_proc_t) getProc("glUniformMatrix2fv", userData);
|
||||
glUniformMatrix3fv = (glUniformMatrix3fv_client_proc_t) getProc("glUniformMatrix3fv", userData);
|
||||
glUniformMatrix4fv = (glUniformMatrix4fv_client_proc_t) getProc("glUniformMatrix4fv", userData);
|
||||
glUseProgram = (glUseProgram_client_proc_t) getProc("glUseProgram", userData);
|
||||
glValidateProgram = (glValidateProgram_client_proc_t) getProc("glValidateProgram", userData);
|
||||
glVertexAttrib1f = (glVertexAttrib1f_client_proc_t) getProc("glVertexAttrib1f", userData);
|
||||
glVertexAttrib1fv = (glVertexAttrib1fv_client_proc_t) getProc("glVertexAttrib1fv", userData);
|
||||
glVertexAttrib2f = (glVertexAttrib2f_client_proc_t) getProc("glVertexAttrib2f", userData);
|
||||
glVertexAttrib2fv = (glVertexAttrib2fv_client_proc_t) getProc("glVertexAttrib2fv", userData);
|
||||
glVertexAttrib3f = (glVertexAttrib3f_client_proc_t) getProc("glVertexAttrib3f", userData);
|
||||
glVertexAttrib3fv = (glVertexAttrib3fv_client_proc_t) getProc("glVertexAttrib3fv", userData);
|
||||
glVertexAttrib4f = (glVertexAttrib4f_client_proc_t) getProc("glVertexAttrib4f", userData);
|
||||
glVertexAttrib4fv = (glVertexAttrib4fv_client_proc_t) getProc("glVertexAttrib4fv", userData);
|
||||
glVertexAttribPointer = (glVertexAttribPointer_client_proc_t) getProc("glVertexAttribPointer", userData);
|
||||
glViewport = (glViewport_client_proc_t) getProc("glViewport", userData);
|
||||
glEGLImageTargetTexture2DOES = (glEGLImageTargetTexture2DOES_client_proc_t) getProc("glEGLImageTargetTexture2DOES", userData);
|
||||
glEGLImageTargetRenderbufferStorageOES = (glEGLImageTargetRenderbufferStorageOES_client_proc_t) getProc("glEGLImageTargetRenderbufferStorageOES", userData);
|
||||
glGetProgramBinaryOES = (glGetProgramBinaryOES_client_proc_t) getProc("glGetProgramBinaryOES", userData);
|
||||
glProgramBinaryOES = (glProgramBinaryOES_client_proc_t) getProc("glProgramBinaryOES", userData);
|
||||
glMapBufferOES = (glMapBufferOES_client_proc_t) getProc("glMapBufferOES", userData);
|
||||
glUnmapBufferOES = (glUnmapBufferOES_client_proc_t) getProc("glUnmapBufferOES", userData);
|
||||
glTexImage3DOES = (glTexImage3DOES_client_proc_t) getProc("glTexImage3DOES", userData);
|
||||
glTexSubImage3DOES = (glTexSubImage3DOES_client_proc_t) getProc("glTexSubImage3DOES", userData);
|
||||
glCopyTexSubImage3DOES = (glCopyTexSubImage3DOES_client_proc_t) getProc("glCopyTexSubImage3DOES", userData);
|
||||
glCompressedTexImage3DOES = (glCompressedTexImage3DOES_client_proc_t) getProc("glCompressedTexImage3DOES", userData);
|
||||
glCompressedTexSubImage3DOES = (glCompressedTexSubImage3DOES_client_proc_t) getProc("glCompressedTexSubImage3DOES", userData);
|
||||
glFramebufferTexture3DOES = (glFramebufferTexture3DOES_client_proc_t) getProc("glFramebufferTexture3DOES", userData);
|
||||
glBindVertexArrayOES = (glBindVertexArrayOES_client_proc_t) getProc("glBindVertexArrayOES", userData);
|
||||
glDeleteVertexArraysOES = (glDeleteVertexArraysOES_client_proc_t) getProc("glDeleteVertexArraysOES", userData);
|
||||
glGenVertexArraysOES = (glGenVertexArraysOES_client_proc_t) getProc("glGenVertexArraysOES", userData);
|
||||
glIsVertexArrayOES = (glIsVertexArrayOES_client_proc_t) getProc("glIsVertexArrayOES", userData);
|
||||
glDiscardFramebufferEXT = (glDiscardFramebufferEXT_client_proc_t) getProc("glDiscardFramebufferEXT", userData);
|
||||
glMultiDrawArraysEXT = (glMultiDrawArraysEXT_client_proc_t) getProc("glMultiDrawArraysEXT", userData);
|
||||
glMultiDrawElementsEXT = (glMultiDrawElementsEXT_client_proc_t) getProc("glMultiDrawElementsEXT", userData);
|
||||
glGetPerfMonitorGroupsAMD = (glGetPerfMonitorGroupsAMD_client_proc_t) getProc("glGetPerfMonitorGroupsAMD", userData);
|
||||
glGetPerfMonitorCountersAMD = (glGetPerfMonitorCountersAMD_client_proc_t) getProc("glGetPerfMonitorCountersAMD", userData);
|
||||
glGetPerfMonitorGroupStringAMD = (glGetPerfMonitorGroupStringAMD_client_proc_t) getProc("glGetPerfMonitorGroupStringAMD", userData);
|
||||
glGetPerfMonitorCounterStringAMD = (glGetPerfMonitorCounterStringAMD_client_proc_t) getProc("glGetPerfMonitorCounterStringAMD", userData);
|
||||
glGetPerfMonitorCounterInfoAMD = (glGetPerfMonitorCounterInfoAMD_client_proc_t) getProc("glGetPerfMonitorCounterInfoAMD", userData);
|
||||
glGenPerfMonitorsAMD = (glGenPerfMonitorsAMD_client_proc_t) getProc("glGenPerfMonitorsAMD", userData);
|
||||
glDeletePerfMonitorsAMD = (glDeletePerfMonitorsAMD_client_proc_t) getProc("glDeletePerfMonitorsAMD", userData);
|
||||
glSelectPerfMonitorCountersAMD = (glSelectPerfMonitorCountersAMD_client_proc_t) getProc("glSelectPerfMonitorCountersAMD", userData);
|
||||
glBeginPerfMonitorAMD = (glBeginPerfMonitorAMD_client_proc_t) getProc("glBeginPerfMonitorAMD", userData);
|
||||
glEndPerfMonitorAMD = (glEndPerfMonitorAMD_client_proc_t) getProc("glEndPerfMonitorAMD", userData);
|
||||
glGetPerfMonitorCounterDataAMD = (glGetPerfMonitorCounterDataAMD_client_proc_t) getProc("glGetPerfMonitorCounterDataAMD", userData);
|
||||
glRenderbufferStorageMultisampleIMG = (glRenderbufferStorageMultisampleIMG_client_proc_t) getProc("glRenderbufferStorageMultisampleIMG", userData);
|
||||
glFramebufferTexture2DMultisampleIMG = (glFramebufferTexture2DMultisampleIMG_client_proc_t) getProc("glFramebufferTexture2DMultisampleIMG", userData);
|
||||
glDeleteFencesNV = (glDeleteFencesNV_client_proc_t) getProc("glDeleteFencesNV", userData);
|
||||
glGenFencesNV = (glGenFencesNV_client_proc_t) getProc("glGenFencesNV", userData);
|
||||
glIsFenceNV = (glIsFenceNV_client_proc_t) getProc("glIsFenceNV", userData);
|
||||
glTestFenceNV = (glTestFenceNV_client_proc_t) getProc("glTestFenceNV", userData);
|
||||
glGetFenceivNV = (glGetFenceivNV_client_proc_t) getProc("glGetFenceivNV", userData);
|
||||
glFinishFenceNV = (glFinishFenceNV_client_proc_t) getProc("glFinishFenceNV", userData);
|
||||
glSetFenceNV = (glSetFenceNV_client_proc_t) getProc("glSetFenceNV", userData);
|
||||
glCoverageMaskNV = (glCoverageMaskNV_client_proc_t) getProc("glCoverageMaskNV", userData);
|
||||
glCoverageOperationNV = (glCoverageOperationNV_client_proc_t) getProc("glCoverageOperationNV", userData);
|
||||
glGetDriverControlsQCOM = (glGetDriverControlsQCOM_client_proc_t) getProc("glGetDriverControlsQCOM", userData);
|
||||
glGetDriverControlStringQCOM = (glGetDriverControlStringQCOM_client_proc_t) getProc("glGetDriverControlStringQCOM", userData);
|
||||
glEnableDriverControlQCOM = (glEnableDriverControlQCOM_client_proc_t) getProc("glEnableDriverControlQCOM", userData);
|
||||
glDisableDriverControlQCOM = (glDisableDriverControlQCOM_client_proc_t) getProc("glDisableDriverControlQCOM", userData);
|
||||
glExtGetTexturesQCOM = (glExtGetTexturesQCOM_client_proc_t) getProc("glExtGetTexturesQCOM", userData);
|
||||
glExtGetBuffersQCOM = (glExtGetBuffersQCOM_client_proc_t) getProc("glExtGetBuffersQCOM", userData);
|
||||
glExtGetRenderbuffersQCOM = (glExtGetRenderbuffersQCOM_client_proc_t) getProc("glExtGetRenderbuffersQCOM", userData);
|
||||
glExtGetFramebuffersQCOM = (glExtGetFramebuffersQCOM_client_proc_t) getProc("glExtGetFramebuffersQCOM", userData);
|
||||
glExtGetTexLevelParameterivQCOM = (glExtGetTexLevelParameterivQCOM_client_proc_t) getProc("glExtGetTexLevelParameterivQCOM", userData);
|
||||
glExtTexObjectStateOverrideiQCOM = (glExtTexObjectStateOverrideiQCOM_client_proc_t) getProc("glExtTexObjectStateOverrideiQCOM", userData);
|
||||
glExtGetTexSubImageQCOM = (glExtGetTexSubImageQCOM_client_proc_t) getProc("glExtGetTexSubImageQCOM", userData);
|
||||
glExtGetBufferPointervQCOM = (glExtGetBufferPointervQCOM_client_proc_t) getProc("glExtGetBufferPointervQCOM", userData);
|
||||
glExtGetShadersQCOM = (glExtGetShadersQCOM_client_proc_t) getProc("glExtGetShadersQCOM", userData);
|
||||
glExtGetProgramsQCOM = (glExtGetProgramsQCOM_client_proc_t) getProc("glExtGetProgramsQCOM", userData);
|
||||
glExtIsProgramBinaryQCOM = (glExtIsProgramBinaryQCOM_client_proc_t) getProc("glExtIsProgramBinaryQCOM", userData);
|
||||
glExtGetProgramBinarySourceQCOM = (glExtGetProgramBinarySourceQCOM_client_proc_t) getProc("glExtGetProgramBinarySourceQCOM", userData);
|
||||
glStartTilingQCOM = (glStartTilingQCOM_client_proc_t) getProc("glStartTilingQCOM", userData);
|
||||
glEndTilingQCOM = (glEndTilingQCOM_client_proc_t) getProc("glEndTilingQCOM", userData);
|
||||
glVertexAttribPointerData = (glVertexAttribPointerData_client_proc_t) getProc("glVertexAttribPointerData", userData);
|
||||
glVertexAttribPointerOffset = (glVertexAttribPointerOffset_client_proc_t) getProc("glVertexAttribPointerOffset", userData);
|
||||
glDrawElementsOffset = (glDrawElementsOffset_client_proc_t) getProc("glDrawElementsOffset", userData);
|
||||
glDrawElementsData = (glDrawElementsData_client_proc_t) getProc("glDrawElementsData", userData);
|
||||
glGetCompressedTextureFormats = (glGetCompressedTextureFormats_client_proc_t) getProc("glGetCompressedTextureFormats", userData);
|
||||
glShaderString = (glShaderString_client_proc_t) getProc("glShaderString", userData);
|
||||
glFinishRoundTrip = (glFinishRoundTrip_client_proc_t) getProc("glFinishRoundTrip", userData);
|
||||
return 0;
|
||||
}
|
||||
|
||||
230
android/opengl/system/GLESv2_enc/gl2_client_context.h
Normal file
230
android/opengl/system/GLESv2_enc/gl2_client_context.h
Normal file
|
|
@ -0,0 +1,230 @@
|
|||
// Generated Code - DO NOT EDIT !!
|
||||
// generated by 'emugen'
|
||||
#ifndef __gl2_client_context_t_h
|
||||
#define __gl2_client_context_t_h
|
||||
|
||||
#include "gl2_client_proc.h"
|
||||
|
||||
#include "gl2_types.h"
|
||||
|
||||
|
||||
struct gl2_client_context_t {
|
||||
|
||||
glActiveTexture_client_proc_t glActiveTexture;
|
||||
glAttachShader_client_proc_t glAttachShader;
|
||||
glBindAttribLocation_client_proc_t glBindAttribLocation;
|
||||
glBindBuffer_client_proc_t glBindBuffer;
|
||||
glBindFramebuffer_client_proc_t glBindFramebuffer;
|
||||
glBindRenderbuffer_client_proc_t glBindRenderbuffer;
|
||||
glBindTexture_client_proc_t glBindTexture;
|
||||
glBlendColor_client_proc_t glBlendColor;
|
||||
glBlendEquation_client_proc_t glBlendEquation;
|
||||
glBlendEquationSeparate_client_proc_t glBlendEquationSeparate;
|
||||
glBlendFunc_client_proc_t glBlendFunc;
|
||||
glBlendFuncSeparate_client_proc_t glBlendFuncSeparate;
|
||||
glBufferData_client_proc_t glBufferData;
|
||||
glBufferSubData_client_proc_t glBufferSubData;
|
||||
glCheckFramebufferStatus_client_proc_t glCheckFramebufferStatus;
|
||||
glClear_client_proc_t glClear;
|
||||
glClearColor_client_proc_t glClearColor;
|
||||
glClearDepthf_client_proc_t glClearDepthf;
|
||||
glClearStencil_client_proc_t glClearStencil;
|
||||
glColorMask_client_proc_t glColorMask;
|
||||
glCompileShader_client_proc_t glCompileShader;
|
||||
glCompressedTexImage2D_client_proc_t glCompressedTexImage2D;
|
||||
glCompressedTexSubImage2D_client_proc_t glCompressedTexSubImage2D;
|
||||
glCopyTexImage2D_client_proc_t glCopyTexImage2D;
|
||||
glCopyTexSubImage2D_client_proc_t glCopyTexSubImage2D;
|
||||
glCreateProgram_client_proc_t glCreateProgram;
|
||||
glCreateShader_client_proc_t glCreateShader;
|
||||
glCullFace_client_proc_t glCullFace;
|
||||
glDeleteBuffers_client_proc_t glDeleteBuffers;
|
||||
glDeleteFramebuffers_client_proc_t glDeleteFramebuffers;
|
||||
glDeleteProgram_client_proc_t glDeleteProgram;
|
||||
glDeleteRenderbuffers_client_proc_t glDeleteRenderbuffers;
|
||||
glDeleteShader_client_proc_t glDeleteShader;
|
||||
glDeleteTextures_client_proc_t glDeleteTextures;
|
||||
glDepthFunc_client_proc_t glDepthFunc;
|
||||
glDepthMask_client_proc_t glDepthMask;
|
||||
glDepthRangef_client_proc_t glDepthRangef;
|
||||
glDetachShader_client_proc_t glDetachShader;
|
||||
glDisable_client_proc_t glDisable;
|
||||
glDisableVertexAttribArray_client_proc_t glDisableVertexAttribArray;
|
||||
glDrawArrays_client_proc_t glDrawArrays;
|
||||
glDrawElements_client_proc_t glDrawElements;
|
||||
glEnable_client_proc_t glEnable;
|
||||
glEnableVertexAttribArray_client_proc_t glEnableVertexAttribArray;
|
||||
glFinish_client_proc_t glFinish;
|
||||
glFlush_client_proc_t glFlush;
|
||||
glFramebufferRenderbuffer_client_proc_t glFramebufferRenderbuffer;
|
||||
glFramebufferTexture2D_client_proc_t glFramebufferTexture2D;
|
||||
glFrontFace_client_proc_t glFrontFace;
|
||||
glGenBuffers_client_proc_t glGenBuffers;
|
||||
glGenerateMipmap_client_proc_t glGenerateMipmap;
|
||||
glGenFramebuffers_client_proc_t glGenFramebuffers;
|
||||
glGenRenderbuffers_client_proc_t glGenRenderbuffers;
|
||||
glGenTextures_client_proc_t glGenTextures;
|
||||
glGetActiveAttrib_client_proc_t glGetActiveAttrib;
|
||||
glGetActiveUniform_client_proc_t glGetActiveUniform;
|
||||
glGetAttachedShaders_client_proc_t glGetAttachedShaders;
|
||||
glGetAttribLocation_client_proc_t glGetAttribLocation;
|
||||
glGetBooleanv_client_proc_t glGetBooleanv;
|
||||
glGetBufferParameteriv_client_proc_t glGetBufferParameteriv;
|
||||
glGetError_client_proc_t glGetError;
|
||||
glGetFloatv_client_proc_t glGetFloatv;
|
||||
glGetFramebufferAttachmentParameteriv_client_proc_t glGetFramebufferAttachmentParameteriv;
|
||||
glGetIntegerv_client_proc_t glGetIntegerv;
|
||||
glGetProgramiv_client_proc_t glGetProgramiv;
|
||||
glGetProgramInfoLog_client_proc_t glGetProgramInfoLog;
|
||||
glGetRenderbufferParameteriv_client_proc_t glGetRenderbufferParameteriv;
|
||||
glGetShaderiv_client_proc_t glGetShaderiv;
|
||||
glGetShaderInfoLog_client_proc_t glGetShaderInfoLog;
|
||||
glGetShaderPrecisionFormat_client_proc_t glGetShaderPrecisionFormat;
|
||||
glGetShaderSource_client_proc_t glGetShaderSource;
|
||||
glGetString_client_proc_t glGetString;
|
||||
glGetTexParameterfv_client_proc_t glGetTexParameterfv;
|
||||
glGetTexParameteriv_client_proc_t glGetTexParameteriv;
|
||||
glGetUniformfv_client_proc_t glGetUniformfv;
|
||||
glGetUniformiv_client_proc_t glGetUniformiv;
|
||||
glGetUniformLocation_client_proc_t glGetUniformLocation;
|
||||
glGetVertexAttribfv_client_proc_t glGetVertexAttribfv;
|
||||
glGetVertexAttribiv_client_proc_t glGetVertexAttribiv;
|
||||
glGetVertexAttribPointerv_client_proc_t glGetVertexAttribPointerv;
|
||||
glHint_client_proc_t glHint;
|
||||
glIsBuffer_client_proc_t glIsBuffer;
|
||||
glIsEnabled_client_proc_t glIsEnabled;
|
||||
glIsFramebuffer_client_proc_t glIsFramebuffer;
|
||||
glIsProgram_client_proc_t glIsProgram;
|
||||
glIsRenderbuffer_client_proc_t glIsRenderbuffer;
|
||||
glIsShader_client_proc_t glIsShader;
|
||||
glIsTexture_client_proc_t glIsTexture;
|
||||
glLineWidth_client_proc_t glLineWidth;
|
||||
glLinkProgram_client_proc_t glLinkProgram;
|
||||
glPixelStorei_client_proc_t glPixelStorei;
|
||||
glPolygonOffset_client_proc_t glPolygonOffset;
|
||||
glReadPixels_client_proc_t glReadPixels;
|
||||
glReleaseShaderCompiler_client_proc_t glReleaseShaderCompiler;
|
||||
glRenderbufferStorage_client_proc_t glRenderbufferStorage;
|
||||
glSampleCoverage_client_proc_t glSampleCoverage;
|
||||
glScissor_client_proc_t glScissor;
|
||||
glShaderBinary_client_proc_t glShaderBinary;
|
||||
glShaderSource_client_proc_t glShaderSource;
|
||||
glStencilFunc_client_proc_t glStencilFunc;
|
||||
glStencilFuncSeparate_client_proc_t glStencilFuncSeparate;
|
||||
glStencilMask_client_proc_t glStencilMask;
|
||||
glStencilMaskSeparate_client_proc_t glStencilMaskSeparate;
|
||||
glStencilOp_client_proc_t glStencilOp;
|
||||
glStencilOpSeparate_client_proc_t glStencilOpSeparate;
|
||||
glTexImage2D_client_proc_t glTexImage2D;
|
||||
glTexParameterf_client_proc_t glTexParameterf;
|
||||
glTexParameterfv_client_proc_t glTexParameterfv;
|
||||
glTexParameteri_client_proc_t glTexParameteri;
|
||||
glTexParameteriv_client_proc_t glTexParameteriv;
|
||||
glTexSubImage2D_client_proc_t glTexSubImage2D;
|
||||
glUniform1f_client_proc_t glUniform1f;
|
||||
glUniform1fv_client_proc_t glUniform1fv;
|
||||
glUniform1i_client_proc_t glUniform1i;
|
||||
glUniform1iv_client_proc_t glUniform1iv;
|
||||
glUniform2f_client_proc_t glUniform2f;
|
||||
glUniform2fv_client_proc_t glUniform2fv;
|
||||
glUniform2i_client_proc_t glUniform2i;
|
||||
glUniform2iv_client_proc_t glUniform2iv;
|
||||
glUniform3f_client_proc_t glUniform3f;
|
||||
glUniform3fv_client_proc_t glUniform3fv;
|
||||
glUniform3i_client_proc_t glUniform3i;
|
||||
glUniform3iv_client_proc_t glUniform3iv;
|
||||
glUniform4f_client_proc_t glUniform4f;
|
||||
glUniform4fv_client_proc_t glUniform4fv;
|
||||
glUniform4i_client_proc_t glUniform4i;
|
||||
glUniform4iv_client_proc_t glUniform4iv;
|
||||
glUniformMatrix2fv_client_proc_t glUniformMatrix2fv;
|
||||
glUniformMatrix3fv_client_proc_t glUniformMatrix3fv;
|
||||
glUniformMatrix4fv_client_proc_t glUniformMatrix4fv;
|
||||
glUseProgram_client_proc_t glUseProgram;
|
||||
glValidateProgram_client_proc_t glValidateProgram;
|
||||
glVertexAttrib1f_client_proc_t glVertexAttrib1f;
|
||||
glVertexAttrib1fv_client_proc_t glVertexAttrib1fv;
|
||||
glVertexAttrib2f_client_proc_t glVertexAttrib2f;
|
||||
glVertexAttrib2fv_client_proc_t glVertexAttrib2fv;
|
||||
glVertexAttrib3f_client_proc_t glVertexAttrib3f;
|
||||
glVertexAttrib3fv_client_proc_t glVertexAttrib3fv;
|
||||
glVertexAttrib4f_client_proc_t glVertexAttrib4f;
|
||||
glVertexAttrib4fv_client_proc_t glVertexAttrib4fv;
|
||||
glVertexAttribPointer_client_proc_t glVertexAttribPointer;
|
||||
glViewport_client_proc_t glViewport;
|
||||
glEGLImageTargetTexture2DOES_client_proc_t glEGLImageTargetTexture2DOES;
|
||||
glEGLImageTargetRenderbufferStorageOES_client_proc_t glEGLImageTargetRenderbufferStorageOES;
|
||||
glGetProgramBinaryOES_client_proc_t glGetProgramBinaryOES;
|
||||
glProgramBinaryOES_client_proc_t glProgramBinaryOES;
|
||||
glMapBufferOES_client_proc_t glMapBufferOES;
|
||||
glUnmapBufferOES_client_proc_t glUnmapBufferOES;
|
||||
glTexImage3DOES_client_proc_t glTexImage3DOES;
|
||||
glTexSubImage3DOES_client_proc_t glTexSubImage3DOES;
|
||||
glCopyTexSubImage3DOES_client_proc_t glCopyTexSubImage3DOES;
|
||||
glCompressedTexImage3DOES_client_proc_t glCompressedTexImage3DOES;
|
||||
glCompressedTexSubImage3DOES_client_proc_t glCompressedTexSubImage3DOES;
|
||||
glFramebufferTexture3DOES_client_proc_t glFramebufferTexture3DOES;
|
||||
glBindVertexArrayOES_client_proc_t glBindVertexArrayOES;
|
||||
glDeleteVertexArraysOES_client_proc_t glDeleteVertexArraysOES;
|
||||
glGenVertexArraysOES_client_proc_t glGenVertexArraysOES;
|
||||
glIsVertexArrayOES_client_proc_t glIsVertexArrayOES;
|
||||
glDiscardFramebufferEXT_client_proc_t glDiscardFramebufferEXT;
|
||||
glMultiDrawArraysEXT_client_proc_t glMultiDrawArraysEXT;
|
||||
glMultiDrawElementsEXT_client_proc_t glMultiDrawElementsEXT;
|
||||
glGetPerfMonitorGroupsAMD_client_proc_t glGetPerfMonitorGroupsAMD;
|
||||
glGetPerfMonitorCountersAMD_client_proc_t glGetPerfMonitorCountersAMD;
|
||||
glGetPerfMonitorGroupStringAMD_client_proc_t glGetPerfMonitorGroupStringAMD;
|
||||
glGetPerfMonitorCounterStringAMD_client_proc_t glGetPerfMonitorCounterStringAMD;
|
||||
glGetPerfMonitorCounterInfoAMD_client_proc_t glGetPerfMonitorCounterInfoAMD;
|
||||
glGenPerfMonitorsAMD_client_proc_t glGenPerfMonitorsAMD;
|
||||
glDeletePerfMonitorsAMD_client_proc_t glDeletePerfMonitorsAMD;
|
||||
glSelectPerfMonitorCountersAMD_client_proc_t glSelectPerfMonitorCountersAMD;
|
||||
glBeginPerfMonitorAMD_client_proc_t glBeginPerfMonitorAMD;
|
||||
glEndPerfMonitorAMD_client_proc_t glEndPerfMonitorAMD;
|
||||
glGetPerfMonitorCounterDataAMD_client_proc_t glGetPerfMonitorCounterDataAMD;
|
||||
glRenderbufferStorageMultisampleIMG_client_proc_t glRenderbufferStorageMultisampleIMG;
|
||||
glFramebufferTexture2DMultisampleIMG_client_proc_t glFramebufferTexture2DMultisampleIMG;
|
||||
glDeleteFencesNV_client_proc_t glDeleteFencesNV;
|
||||
glGenFencesNV_client_proc_t glGenFencesNV;
|
||||
glIsFenceNV_client_proc_t glIsFenceNV;
|
||||
glTestFenceNV_client_proc_t glTestFenceNV;
|
||||
glGetFenceivNV_client_proc_t glGetFenceivNV;
|
||||
glFinishFenceNV_client_proc_t glFinishFenceNV;
|
||||
glSetFenceNV_client_proc_t glSetFenceNV;
|
||||
glCoverageMaskNV_client_proc_t glCoverageMaskNV;
|
||||
glCoverageOperationNV_client_proc_t glCoverageOperationNV;
|
||||
glGetDriverControlsQCOM_client_proc_t glGetDriverControlsQCOM;
|
||||
glGetDriverControlStringQCOM_client_proc_t glGetDriverControlStringQCOM;
|
||||
glEnableDriverControlQCOM_client_proc_t glEnableDriverControlQCOM;
|
||||
glDisableDriverControlQCOM_client_proc_t glDisableDriverControlQCOM;
|
||||
glExtGetTexturesQCOM_client_proc_t glExtGetTexturesQCOM;
|
||||
glExtGetBuffersQCOM_client_proc_t glExtGetBuffersQCOM;
|
||||
glExtGetRenderbuffersQCOM_client_proc_t glExtGetRenderbuffersQCOM;
|
||||
glExtGetFramebuffersQCOM_client_proc_t glExtGetFramebuffersQCOM;
|
||||
glExtGetTexLevelParameterivQCOM_client_proc_t glExtGetTexLevelParameterivQCOM;
|
||||
glExtTexObjectStateOverrideiQCOM_client_proc_t glExtTexObjectStateOverrideiQCOM;
|
||||
glExtGetTexSubImageQCOM_client_proc_t glExtGetTexSubImageQCOM;
|
||||
glExtGetBufferPointervQCOM_client_proc_t glExtGetBufferPointervQCOM;
|
||||
glExtGetShadersQCOM_client_proc_t glExtGetShadersQCOM;
|
||||
glExtGetProgramsQCOM_client_proc_t glExtGetProgramsQCOM;
|
||||
glExtIsProgramBinaryQCOM_client_proc_t glExtIsProgramBinaryQCOM;
|
||||
glExtGetProgramBinarySourceQCOM_client_proc_t glExtGetProgramBinarySourceQCOM;
|
||||
glStartTilingQCOM_client_proc_t glStartTilingQCOM;
|
||||
glEndTilingQCOM_client_proc_t glEndTilingQCOM;
|
||||
glVertexAttribPointerData_client_proc_t glVertexAttribPointerData;
|
||||
glVertexAttribPointerOffset_client_proc_t glVertexAttribPointerOffset;
|
||||
glDrawElementsOffset_client_proc_t glDrawElementsOffset;
|
||||
glDrawElementsData_client_proc_t glDrawElementsData;
|
||||
glGetCompressedTextureFormats_client_proc_t glGetCompressedTextureFormats;
|
||||
glShaderString_client_proc_t glShaderString;
|
||||
glFinishRoundTrip_client_proc_t glFinishRoundTrip;
|
||||
virtual ~gl2_client_context_t() {}
|
||||
|
||||
typedef gl2_client_context_t *CONTEXT_ACCESSOR_TYPE(void);
|
||||
static void setContextAccessor(CONTEXT_ACCESSOR_TYPE *f);
|
||||
int initDispatchByName( void *(*getProc)(const char *name, void *userData), void *userData);
|
||||
virtual void setError(unsigned int error){ (void)error; };
|
||||
virtual unsigned int getError(){ return 0; };
|
||||
};
|
||||
|
||||
#endif
|
||||
222
android/opengl/system/GLESv2_enc/gl2_client_proc.h
Normal file
222
android/opengl/system/GLESv2_enc/gl2_client_proc.h
Normal file
|
|
@ -0,0 +1,222 @@
|
|||
// Generated Code - DO NOT EDIT !!
|
||||
// generated by 'emugen'
|
||||
#ifndef __gl2_client_proc_t_h
|
||||
#define __gl2_client_proc_t_h
|
||||
|
||||
|
||||
|
||||
#include "gl2_types.h"
|
||||
#ifndef gl2_APIENTRY
|
||||
#define gl2_APIENTRY
|
||||
#endif
|
||||
typedef void (gl2_APIENTRY *glActiveTexture_client_proc_t) (void * ctx, GLenum);
|
||||
typedef void (gl2_APIENTRY *glAttachShader_client_proc_t) (void * ctx, GLuint, GLuint);
|
||||
typedef void (gl2_APIENTRY *glBindAttribLocation_client_proc_t) (void * ctx, GLuint, GLuint, const GLchar*);
|
||||
typedef void (gl2_APIENTRY *glBindBuffer_client_proc_t) (void * ctx, GLenum, GLuint);
|
||||
typedef void (gl2_APIENTRY *glBindFramebuffer_client_proc_t) (void * ctx, GLenum, GLuint);
|
||||
typedef void (gl2_APIENTRY *glBindRenderbuffer_client_proc_t) (void * ctx, GLenum, GLuint);
|
||||
typedef void (gl2_APIENTRY *glBindTexture_client_proc_t) (void * ctx, GLenum, GLuint);
|
||||
typedef void (gl2_APIENTRY *glBlendColor_client_proc_t) (void * ctx, GLclampf, GLclampf, GLclampf, GLclampf);
|
||||
typedef void (gl2_APIENTRY *glBlendEquation_client_proc_t) (void * ctx, GLenum);
|
||||
typedef void (gl2_APIENTRY *glBlendEquationSeparate_client_proc_t) (void * ctx, GLenum, GLenum);
|
||||
typedef void (gl2_APIENTRY *glBlendFunc_client_proc_t) (void * ctx, GLenum, GLenum);
|
||||
typedef void (gl2_APIENTRY *glBlendFuncSeparate_client_proc_t) (void * ctx, GLenum, GLenum, GLenum, GLenum);
|
||||
typedef void (gl2_APIENTRY *glBufferData_client_proc_t) (void * ctx, GLenum, GLsizeiptr, const GLvoid*, GLenum);
|
||||
typedef void (gl2_APIENTRY *glBufferSubData_client_proc_t) (void * ctx, GLenum, GLintptr, GLsizeiptr, const GLvoid*);
|
||||
typedef GLenum (gl2_APIENTRY *glCheckFramebufferStatus_client_proc_t) (void * ctx, GLenum);
|
||||
typedef void (gl2_APIENTRY *glClear_client_proc_t) (void * ctx, GLbitfield);
|
||||
typedef void (gl2_APIENTRY *glClearColor_client_proc_t) (void * ctx, GLclampf, GLclampf, GLclampf, GLclampf);
|
||||
typedef void (gl2_APIENTRY *glClearDepthf_client_proc_t) (void * ctx, GLclampf);
|
||||
typedef void (gl2_APIENTRY *glClearStencil_client_proc_t) (void * ctx, GLint);
|
||||
typedef void (gl2_APIENTRY *glColorMask_client_proc_t) (void * ctx, GLboolean, GLboolean, GLboolean, GLboolean);
|
||||
typedef void (gl2_APIENTRY *glCompileShader_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glCompressedTexImage2D_client_proc_t) (void * ctx, GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid*);
|
||||
typedef void (gl2_APIENTRY *glCompressedTexSubImage2D_client_proc_t) (void * ctx, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid*);
|
||||
typedef void (gl2_APIENTRY *glCopyTexImage2D_client_proc_t) (void * ctx, GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
|
||||
typedef void (gl2_APIENTRY *glCopyTexSubImage2D_client_proc_t) (void * ctx, GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
|
||||
typedef GLuint (gl2_APIENTRY *glCreateProgram_client_proc_t) (void * ctx);
|
||||
typedef GLuint (gl2_APIENTRY *glCreateShader_client_proc_t) (void * ctx, GLenum);
|
||||
typedef void (gl2_APIENTRY *glCullFace_client_proc_t) (void * ctx, GLenum);
|
||||
typedef void (gl2_APIENTRY *glDeleteBuffers_client_proc_t) (void * ctx, GLsizei, const GLuint*);
|
||||
typedef void (gl2_APIENTRY *glDeleteFramebuffers_client_proc_t) (void * ctx, GLsizei, const GLuint*);
|
||||
typedef void (gl2_APIENTRY *glDeleteProgram_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glDeleteRenderbuffers_client_proc_t) (void * ctx, GLsizei, const GLuint*);
|
||||
typedef void (gl2_APIENTRY *glDeleteShader_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glDeleteTextures_client_proc_t) (void * ctx, GLsizei, const GLuint*);
|
||||
typedef void (gl2_APIENTRY *glDepthFunc_client_proc_t) (void * ctx, GLenum);
|
||||
typedef void (gl2_APIENTRY *glDepthMask_client_proc_t) (void * ctx, GLboolean);
|
||||
typedef void (gl2_APIENTRY *glDepthRangef_client_proc_t) (void * ctx, GLclampf, GLclampf);
|
||||
typedef void (gl2_APIENTRY *glDetachShader_client_proc_t) (void * ctx, GLuint, GLuint);
|
||||
typedef void (gl2_APIENTRY *glDisable_client_proc_t) (void * ctx, GLenum);
|
||||
typedef void (gl2_APIENTRY *glDisableVertexAttribArray_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glDrawArrays_client_proc_t) (void * ctx, GLenum, GLint, GLsizei);
|
||||
typedef void (gl2_APIENTRY *glDrawElements_client_proc_t) (void * ctx, GLenum, GLsizei, GLenum, const GLvoid*);
|
||||
typedef void (gl2_APIENTRY *glEnable_client_proc_t) (void * ctx, GLenum);
|
||||
typedef void (gl2_APIENTRY *glEnableVertexAttribArray_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glFinish_client_proc_t) (void * ctx);
|
||||
typedef void (gl2_APIENTRY *glFlush_client_proc_t) (void * ctx);
|
||||
typedef void (gl2_APIENTRY *glFramebufferRenderbuffer_client_proc_t) (void * ctx, GLenum, GLenum, GLenum, GLuint);
|
||||
typedef void (gl2_APIENTRY *glFramebufferTexture2D_client_proc_t) (void * ctx, GLenum, GLenum, GLenum, GLuint, GLint);
|
||||
typedef void (gl2_APIENTRY *glFrontFace_client_proc_t) (void * ctx, GLenum);
|
||||
typedef void (gl2_APIENTRY *glGenBuffers_client_proc_t) (void * ctx, GLsizei, GLuint*);
|
||||
typedef void (gl2_APIENTRY *glGenerateMipmap_client_proc_t) (void * ctx, GLenum);
|
||||
typedef void (gl2_APIENTRY *glGenFramebuffers_client_proc_t) (void * ctx, GLsizei, GLuint*);
|
||||
typedef void (gl2_APIENTRY *glGenRenderbuffers_client_proc_t) (void * ctx, GLsizei, GLuint*);
|
||||
typedef void (gl2_APIENTRY *glGenTextures_client_proc_t) (void * ctx, GLsizei, GLuint*);
|
||||
typedef void (gl2_APIENTRY *glGetActiveAttrib_client_proc_t) (void * ctx, GLuint, GLuint, GLsizei, GLsizei*, GLint*, GLenum*, GLchar*);
|
||||
typedef void (gl2_APIENTRY *glGetActiveUniform_client_proc_t) (void * ctx, GLuint, GLuint, GLsizei, GLsizei*, GLint*, GLenum*, GLchar*);
|
||||
typedef void (gl2_APIENTRY *glGetAttachedShaders_client_proc_t) (void * ctx, GLuint, GLsizei, GLsizei*, GLuint*);
|
||||
typedef int (gl2_APIENTRY *glGetAttribLocation_client_proc_t) (void * ctx, GLuint, const GLchar*);
|
||||
typedef void (gl2_APIENTRY *glGetBooleanv_client_proc_t) (void * ctx, GLenum, GLboolean*);
|
||||
typedef void (gl2_APIENTRY *glGetBufferParameteriv_client_proc_t) (void * ctx, GLenum, GLenum, GLint*);
|
||||
typedef GLenum (gl2_APIENTRY *glGetError_client_proc_t) (void * ctx);
|
||||
typedef void (gl2_APIENTRY *glGetFloatv_client_proc_t) (void * ctx, GLenum, GLfloat*);
|
||||
typedef void (gl2_APIENTRY *glGetFramebufferAttachmentParameteriv_client_proc_t) (void * ctx, GLenum, GLenum, GLenum, GLint*);
|
||||
typedef void (gl2_APIENTRY *glGetIntegerv_client_proc_t) (void * ctx, GLenum, GLint*);
|
||||
typedef void (gl2_APIENTRY *glGetProgramiv_client_proc_t) (void * ctx, GLuint, GLenum, GLint*);
|
||||
typedef void (gl2_APIENTRY *glGetProgramInfoLog_client_proc_t) (void * ctx, GLuint, GLsizei, GLsizei*, GLchar*);
|
||||
typedef void (gl2_APIENTRY *glGetRenderbufferParameteriv_client_proc_t) (void * ctx, GLenum, GLenum, GLint*);
|
||||
typedef void (gl2_APIENTRY *glGetShaderiv_client_proc_t) (void * ctx, GLuint, GLenum, GLint*);
|
||||
typedef void (gl2_APIENTRY *glGetShaderInfoLog_client_proc_t) (void * ctx, GLuint, GLsizei, GLsizei*, GLchar*);
|
||||
typedef void (gl2_APIENTRY *glGetShaderPrecisionFormat_client_proc_t) (void * ctx, GLenum, GLenum, GLint*, GLint*);
|
||||
typedef void (gl2_APIENTRY *glGetShaderSource_client_proc_t) (void * ctx, GLuint, GLsizei, GLsizei*, GLchar*);
|
||||
typedef const GLubyte* (gl2_APIENTRY *glGetString_client_proc_t) (void * ctx, GLenum);
|
||||
typedef void (gl2_APIENTRY *glGetTexParameterfv_client_proc_t) (void * ctx, GLenum, GLenum, GLfloat*);
|
||||
typedef void (gl2_APIENTRY *glGetTexParameteriv_client_proc_t) (void * ctx, GLenum, GLenum, GLint*);
|
||||
typedef void (gl2_APIENTRY *glGetUniformfv_client_proc_t) (void * ctx, GLuint, GLint, GLfloat*);
|
||||
typedef void (gl2_APIENTRY *glGetUniformiv_client_proc_t) (void * ctx, GLuint, GLint, GLint*);
|
||||
typedef int (gl2_APIENTRY *glGetUniformLocation_client_proc_t) (void * ctx, GLuint, const GLchar*);
|
||||
typedef void (gl2_APIENTRY *glGetVertexAttribfv_client_proc_t) (void * ctx, GLuint, GLenum, GLfloat*);
|
||||
typedef void (gl2_APIENTRY *glGetVertexAttribiv_client_proc_t) (void * ctx, GLuint, GLenum, GLint*);
|
||||
typedef void (gl2_APIENTRY *glGetVertexAttribPointerv_client_proc_t) (void * ctx, GLuint, GLenum, GLvoid**);
|
||||
typedef void (gl2_APIENTRY *glHint_client_proc_t) (void * ctx, GLenum, GLenum);
|
||||
typedef GLboolean (gl2_APIENTRY *glIsBuffer_client_proc_t) (void * ctx, GLuint);
|
||||
typedef GLboolean (gl2_APIENTRY *glIsEnabled_client_proc_t) (void * ctx, GLenum);
|
||||
typedef GLboolean (gl2_APIENTRY *glIsFramebuffer_client_proc_t) (void * ctx, GLuint);
|
||||
typedef GLboolean (gl2_APIENTRY *glIsProgram_client_proc_t) (void * ctx, GLuint);
|
||||
typedef GLboolean (gl2_APIENTRY *glIsRenderbuffer_client_proc_t) (void * ctx, GLuint);
|
||||
typedef GLboolean (gl2_APIENTRY *glIsShader_client_proc_t) (void * ctx, GLuint);
|
||||
typedef GLboolean (gl2_APIENTRY *glIsTexture_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glLineWidth_client_proc_t) (void * ctx, GLfloat);
|
||||
typedef void (gl2_APIENTRY *glLinkProgram_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glPixelStorei_client_proc_t) (void * ctx, GLenum, GLint);
|
||||
typedef void (gl2_APIENTRY *glPolygonOffset_client_proc_t) (void * ctx, GLfloat, GLfloat);
|
||||
typedef void (gl2_APIENTRY *glReadPixels_client_proc_t) (void * ctx, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid*);
|
||||
typedef void (gl2_APIENTRY *glReleaseShaderCompiler_client_proc_t) (void * ctx);
|
||||
typedef void (gl2_APIENTRY *glRenderbufferStorage_client_proc_t) (void * ctx, GLenum, GLenum, GLsizei, GLsizei);
|
||||
typedef void (gl2_APIENTRY *glSampleCoverage_client_proc_t) (void * ctx, GLclampf, GLboolean);
|
||||
typedef void (gl2_APIENTRY *glScissor_client_proc_t) (void * ctx, GLint, GLint, GLsizei, GLsizei);
|
||||
typedef void (gl2_APIENTRY *glShaderBinary_client_proc_t) (void * ctx, GLsizei, const GLuint*, GLenum, const GLvoid*, GLsizei);
|
||||
typedef void (gl2_APIENTRY *glShaderSource_client_proc_t) (void * ctx, GLuint, GLsizei, const GLchar* const*, const GLint*);
|
||||
typedef void (gl2_APIENTRY *glStencilFunc_client_proc_t) (void * ctx, GLenum, GLint, GLuint);
|
||||
typedef void (gl2_APIENTRY *glStencilFuncSeparate_client_proc_t) (void * ctx, GLenum, GLenum, GLint, GLuint);
|
||||
typedef void (gl2_APIENTRY *glStencilMask_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glStencilMaskSeparate_client_proc_t) (void * ctx, GLenum, GLuint);
|
||||
typedef void (gl2_APIENTRY *glStencilOp_client_proc_t) (void * ctx, GLenum, GLenum, GLenum);
|
||||
typedef void (gl2_APIENTRY *glStencilOpSeparate_client_proc_t) (void * ctx, GLenum, GLenum, GLenum, GLenum);
|
||||
typedef void (gl2_APIENTRY *glTexImage2D_client_proc_t) (void * ctx, GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid*);
|
||||
typedef void (gl2_APIENTRY *glTexParameterf_client_proc_t) (void * ctx, GLenum, GLenum, GLfloat);
|
||||
typedef void (gl2_APIENTRY *glTexParameterfv_client_proc_t) (void * ctx, GLenum, GLenum, const GLfloat*);
|
||||
typedef void (gl2_APIENTRY *glTexParameteri_client_proc_t) (void * ctx, GLenum, GLenum, GLint);
|
||||
typedef void (gl2_APIENTRY *glTexParameteriv_client_proc_t) (void * ctx, GLenum, GLenum, const GLint*);
|
||||
typedef void (gl2_APIENTRY *glTexSubImage2D_client_proc_t) (void * ctx, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid*);
|
||||
typedef void (gl2_APIENTRY *glUniform1f_client_proc_t) (void * ctx, GLint, GLfloat);
|
||||
typedef void (gl2_APIENTRY *glUniform1fv_client_proc_t) (void * ctx, GLint, GLsizei, const GLfloat*);
|
||||
typedef void (gl2_APIENTRY *glUniform1i_client_proc_t) (void * ctx, GLint, GLint);
|
||||
typedef void (gl2_APIENTRY *glUniform1iv_client_proc_t) (void * ctx, GLint, GLsizei, const GLint*);
|
||||
typedef void (gl2_APIENTRY *glUniform2f_client_proc_t) (void * ctx, GLint, GLfloat, GLfloat);
|
||||
typedef void (gl2_APIENTRY *glUniform2fv_client_proc_t) (void * ctx, GLint, GLsizei, const GLfloat*);
|
||||
typedef void (gl2_APIENTRY *glUniform2i_client_proc_t) (void * ctx, GLint, GLint, GLint);
|
||||
typedef void (gl2_APIENTRY *glUniform2iv_client_proc_t) (void * ctx, GLint, GLsizei, const GLint*);
|
||||
typedef void (gl2_APIENTRY *glUniform3f_client_proc_t) (void * ctx, GLint, GLfloat, GLfloat, GLfloat);
|
||||
typedef void (gl2_APIENTRY *glUniform3fv_client_proc_t) (void * ctx, GLint, GLsizei, const GLfloat*);
|
||||
typedef void (gl2_APIENTRY *glUniform3i_client_proc_t) (void * ctx, GLint, GLint, GLint, GLint);
|
||||
typedef void (gl2_APIENTRY *glUniform3iv_client_proc_t) (void * ctx, GLint, GLsizei, const GLint*);
|
||||
typedef void (gl2_APIENTRY *glUniform4f_client_proc_t) (void * ctx, GLint, GLfloat, GLfloat, GLfloat, GLfloat);
|
||||
typedef void (gl2_APIENTRY *glUniform4fv_client_proc_t) (void * ctx, GLint, GLsizei, const GLfloat*);
|
||||
typedef void (gl2_APIENTRY *glUniform4i_client_proc_t) (void * ctx, GLint, GLint, GLint, GLint, GLint);
|
||||
typedef void (gl2_APIENTRY *glUniform4iv_client_proc_t) (void * ctx, GLint, GLsizei, const GLint*);
|
||||
typedef void (gl2_APIENTRY *glUniformMatrix2fv_client_proc_t) (void * ctx, GLint, GLsizei, GLboolean, const GLfloat*);
|
||||
typedef void (gl2_APIENTRY *glUniformMatrix3fv_client_proc_t) (void * ctx, GLint, GLsizei, GLboolean, const GLfloat*);
|
||||
typedef void (gl2_APIENTRY *glUniformMatrix4fv_client_proc_t) (void * ctx, GLint, GLsizei, GLboolean, const GLfloat*);
|
||||
typedef void (gl2_APIENTRY *glUseProgram_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glValidateProgram_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glVertexAttrib1f_client_proc_t) (void * ctx, GLuint, GLfloat);
|
||||
typedef void (gl2_APIENTRY *glVertexAttrib1fv_client_proc_t) (void * ctx, GLuint, const GLfloat*);
|
||||
typedef void (gl2_APIENTRY *glVertexAttrib2f_client_proc_t) (void * ctx, GLuint, GLfloat, GLfloat);
|
||||
typedef void (gl2_APIENTRY *glVertexAttrib2fv_client_proc_t) (void * ctx, GLuint, const GLfloat*);
|
||||
typedef void (gl2_APIENTRY *glVertexAttrib3f_client_proc_t) (void * ctx, GLuint, GLfloat, GLfloat, GLfloat);
|
||||
typedef void (gl2_APIENTRY *glVertexAttrib3fv_client_proc_t) (void * ctx, GLuint, const GLfloat*);
|
||||
typedef void (gl2_APIENTRY *glVertexAttrib4f_client_proc_t) (void * ctx, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
|
||||
typedef void (gl2_APIENTRY *glVertexAttrib4fv_client_proc_t) (void * ctx, GLuint, const GLfloat*);
|
||||
typedef void (gl2_APIENTRY *glVertexAttribPointer_client_proc_t) (void * ctx, GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid*);
|
||||
typedef void (gl2_APIENTRY *glViewport_client_proc_t) (void * ctx, GLint, GLint, GLsizei, GLsizei);
|
||||
typedef void (gl2_APIENTRY *glEGLImageTargetTexture2DOES_client_proc_t) (void * ctx, GLenum, GLeglImageOES);
|
||||
typedef void (gl2_APIENTRY *glEGLImageTargetRenderbufferStorageOES_client_proc_t) (void * ctx, GLenum, GLeglImageOES);
|
||||
typedef void (gl2_APIENTRY *glGetProgramBinaryOES_client_proc_t) (void * ctx, GLuint, GLsizei, GLsizei*, GLenum*, GLvoid*);
|
||||
typedef void (gl2_APIENTRY *glProgramBinaryOES_client_proc_t) (void * ctx, GLuint, GLenum, const GLvoid*, GLint);
|
||||
typedef void* (gl2_APIENTRY *glMapBufferOES_client_proc_t) (void * ctx, GLenum, GLenum);
|
||||
typedef GLboolean (gl2_APIENTRY *glUnmapBufferOES_client_proc_t) (void * ctx, GLenum);
|
||||
typedef void (gl2_APIENTRY *glTexImage3DOES_client_proc_t) (void * ctx, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid*);
|
||||
typedef void (gl2_APIENTRY *glTexSubImage3DOES_client_proc_t) (void * ctx, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid*);
|
||||
typedef void (gl2_APIENTRY *glCopyTexSubImage3DOES_client_proc_t) (void * ctx, GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
|
||||
typedef void (gl2_APIENTRY *glCompressedTexImage3DOES_client_proc_t) (void * ctx, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid*);
|
||||
typedef void (gl2_APIENTRY *glCompressedTexSubImage3DOES_client_proc_t) (void * ctx, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid*);
|
||||
typedef void (gl2_APIENTRY *glFramebufferTexture3DOES_client_proc_t) (void * ctx, GLenum, GLenum, GLenum, GLuint, GLint, GLint);
|
||||
typedef void (gl2_APIENTRY *glBindVertexArrayOES_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glDeleteVertexArraysOES_client_proc_t) (void * ctx, GLsizei, const GLuint*);
|
||||
typedef void (gl2_APIENTRY *glGenVertexArraysOES_client_proc_t) (void * ctx, GLsizei, GLuint*);
|
||||
typedef GLboolean (gl2_APIENTRY *glIsVertexArrayOES_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glDiscardFramebufferEXT_client_proc_t) (void * ctx, GLenum, GLsizei, const GLenum*);
|
||||
typedef void (gl2_APIENTRY *glMultiDrawArraysEXT_client_proc_t) (void * ctx, GLenum, const GLint*, const GLsizei*, GLsizei);
|
||||
typedef void (gl2_APIENTRY *glMultiDrawElementsEXT_client_proc_t) (void * ctx, GLenum, const GLsizei*, GLenum, const GLvoid* const*, GLsizei);
|
||||
typedef void (gl2_APIENTRY *glGetPerfMonitorGroupsAMD_client_proc_t) (void * ctx, GLint*, GLsizei, GLuint*);
|
||||
typedef void (gl2_APIENTRY *glGetPerfMonitorCountersAMD_client_proc_t) (void * ctx, GLuint, GLint*, GLint*, GLsizei, GLuint*);
|
||||
typedef void (gl2_APIENTRY *glGetPerfMonitorGroupStringAMD_client_proc_t) (void * ctx, GLuint, GLsizei, GLsizei*, GLchar*);
|
||||
typedef void (gl2_APIENTRY *glGetPerfMonitorCounterStringAMD_client_proc_t) (void * ctx, GLuint, GLuint, GLsizei, GLsizei*, GLchar*);
|
||||
typedef void (gl2_APIENTRY *glGetPerfMonitorCounterInfoAMD_client_proc_t) (void * ctx, GLuint, GLuint, GLenum, GLvoid*);
|
||||
typedef void (gl2_APIENTRY *glGenPerfMonitorsAMD_client_proc_t) (void * ctx, GLsizei, GLuint*);
|
||||
typedef void (gl2_APIENTRY *glDeletePerfMonitorsAMD_client_proc_t) (void * ctx, GLsizei, GLuint*);
|
||||
typedef void (gl2_APIENTRY *glSelectPerfMonitorCountersAMD_client_proc_t) (void * ctx, GLuint, GLboolean, GLuint, GLint, GLuint*);
|
||||
typedef void (gl2_APIENTRY *glBeginPerfMonitorAMD_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glEndPerfMonitorAMD_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glGetPerfMonitorCounterDataAMD_client_proc_t) (void * ctx, GLuint, GLenum, GLsizei, GLuint*, GLint*);
|
||||
typedef void (gl2_APIENTRY *glRenderbufferStorageMultisampleIMG_client_proc_t) (void * ctx, GLenum, GLsizei, GLenum, GLsizei, GLsizei);
|
||||
typedef void (gl2_APIENTRY *glFramebufferTexture2DMultisampleIMG_client_proc_t) (void * ctx, GLenum, GLenum, GLenum, GLuint, GLint, GLsizei);
|
||||
typedef void (gl2_APIENTRY *glDeleteFencesNV_client_proc_t) (void * ctx, GLsizei, const GLuint*);
|
||||
typedef void (gl2_APIENTRY *glGenFencesNV_client_proc_t) (void * ctx, GLsizei, GLuint*);
|
||||
typedef GLboolean (gl2_APIENTRY *glIsFenceNV_client_proc_t) (void * ctx, GLuint);
|
||||
typedef GLboolean (gl2_APIENTRY *glTestFenceNV_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glGetFenceivNV_client_proc_t) (void * ctx, GLuint, GLenum, GLint*);
|
||||
typedef void (gl2_APIENTRY *glFinishFenceNV_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glSetFenceNV_client_proc_t) (void * ctx, GLuint, GLenum);
|
||||
typedef void (gl2_APIENTRY *glCoverageMaskNV_client_proc_t) (void * ctx, GLboolean);
|
||||
typedef void (gl2_APIENTRY *glCoverageOperationNV_client_proc_t) (void * ctx, GLenum);
|
||||
typedef void (gl2_APIENTRY *glGetDriverControlsQCOM_client_proc_t) (void * ctx, GLint*, GLsizei, GLuint*);
|
||||
typedef void (gl2_APIENTRY *glGetDriverControlStringQCOM_client_proc_t) (void * ctx, GLuint, GLsizei, GLsizei*, GLchar*);
|
||||
typedef void (gl2_APIENTRY *glEnableDriverControlQCOM_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glDisableDriverControlQCOM_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glExtGetTexturesQCOM_client_proc_t) (void * ctx, GLuint*, GLint, GLint*);
|
||||
typedef void (gl2_APIENTRY *glExtGetBuffersQCOM_client_proc_t) (void * ctx, GLuint*, GLint, GLint*);
|
||||
typedef void (gl2_APIENTRY *glExtGetRenderbuffersQCOM_client_proc_t) (void * ctx, GLuint*, GLint, GLint*);
|
||||
typedef void (gl2_APIENTRY *glExtGetFramebuffersQCOM_client_proc_t) (void * ctx, GLuint*, GLint, GLint*);
|
||||
typedef void (gl2_APIENTRY *glExtGetTexLevelParameterivQCOM_client_proc_t) (void * ctx, GLuint, GLenum, GLint, GLenum, GLint*);
|
||||
typedef void (gl2_APIENTRY *glExtTexObjectStateOverrideiQCOM_client_proc_t) (void * ctx, GLenum, GLenum, GLint);
|
||||
typedef void (gl2_APIENTRY *glExtGetTexSubImageQCOM_client_proc_t) (void * ctx, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, GLvoid*);
|
||||
typedef void (gl2_APIENTRY *glExtGetBufferPointervQCOM_client_proc_t) (void * ctx, GLenum, GLvoidptr*);
|
||||
typedef void (gl2_APIENTRY *glExtGetShadersQCOM_client_proc_t) (void * ctx, GLuint*, GLint, GLint*);
|
||||
typedef void (gl2_APIENTRY *glExtGetProgramsQCOM_client_proc_t) (void * ctx, GLuint*, GLint, GLint*);
|
||||
typedef GLboolean (gl2_APIENTRY *glExtIsProgramBinaryQCOM_client_proc_t) (void * ctx, GLuint);
|
||||
typedef void (gl2_APIENTRY *glExtGetProgramBinarySourceQCOM_client_proc_t) (void * ctx, GLuint, GLenum, GLchar*, GLint*);
|
||||
typedef void (gl2_APIENTRY *glStartTilingQCOM_client_proc_t) (void * ctx, GLuint, GLuint, GLuint, GLuint, GLbitfield);
|
||||
typedef void (gl2_APIENTRY *glEndTilingQCOM_client_proc_t) (void * ctx, GLbitfield);
|
||||
typedef void (gl2_APIENTRY *glVertexAttribPointerData_client_proc_t) (void * ctx, GLuint, GLint, GLenum, GLboolean, GLsizei, void*, GLuint);
|
||||
typedef void (gl2_APIENTRY *glVertexAttribPointerOffset_client_proc_t) (void * ctx, GLuint, GLint, GLenum, GLboolean, GLsizei, GLuint);
|
||||
typedef void (gl2_APIENTRY *glDrawElementsOffset_client_proc_t) (void * ctx, GLenum, GLsizei, GLenum, GLuint);
|
||||
typedef void (gl2_APIENTRY *glDrawElementsData_client_proc_t) (void * ctx, GLenum, GLsizei, GLenum, void*, GLuint);
|
||||
typedef void (gl2_APIENTRY *glGetCompressedTextureFormats_client_proc_t) (void * ctx, int, GLint*);
|
||||
typedef void (gl2_APIENTRY *glShaderString_client_proc_t) (void * ctx, GLuint, const GLchar*, GLsizei);
|
||||
typedef int (gl2_APIENTRY *glFinishRoundTrip_client_proc_t) (void * ctx);
|
||||
|
||||
|
||||
#endif
|
||||
5191
android/opengl/system/GLESv2_enc/gl2_enc.cpp
Normal file
5191
android/opengl/system/GLESv2_enc/gl2_enc.cpp
Normal file
File diff suppressed because it is too large
Load diff
24
android/opengl/system/GLESv2_enc/gl2_enc.h
Normal file
24
android/opengl/system/GLESv2_enc/gl2_enc.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
// Generated Code - DO NOT EDIT !!
|
||||
// generated by 'emugen'
|
||||
|
||||
#ifndef GUARD_gl2_encoder_context_t
|
||||
#define GUARD_gl2_encoder_context_t
|
||||
|
||||
#include "IOStream.h"
|
||||
#include "ChecksumCalculator.h"
|
||||
#include "gl2_client_context.h"
|
||||
|
||||
|
||||
#include <string.h>
|
||||
#include "glUtils.h"
|
||||
#include "GL2EncoderUtils.h"
|
||||
|
||||
struct gl2_encoder_context_t : public gl2_client_context_t {
|
||||
|
||||
IOStream *m_stream;
|
||||
ChecksumCalculator *m_checksumCalculator;
|
||||
|
||||
gl2_encoder_context_t(IOStream *stream, ChecksumCalculator *checksumCalculator);
|
||||
};
|
||||
|
||||
#endif // GUARD_gl2_encoder_context_t
|
||||
1483
android/opengl/system/GLESv2_enc/gl2_entry.cpp
Normal file
1483
android/opengl/system/GLESv2_enc/gl2_entry.cpp
Normal file
File diff suppressed because it is too large
Load diff
216
android/opengl/system/GLESv2_enc/gl2_ftable.h
Normal file
216
android/opengl/system/GLESv2_enc/gl2_ftable.h
Normal file
|
|
@ -0,0 +1,216 @@
|
|||
// Generated Code - DO NOT EDIT !!
|
||||
// generated by 'emugen'
|
||||
#ifndef __gl2_client_ftable_t_h
|
||||
#define __gl2_client_ftable_t_h
|
||||
|
||||
|
||||
static const struct _gl2_funcs_by_name {
|
||||
const char *name;
|
||||
void *proc;
|
||||
} gl2_funcs_by_name[] = {
|
||||
{"glActiveTexture", (void*)glActiveTexture},
|
||||
{"glAttachShader", (void*)glAttachShader},
|
||||
{"glBindAttribLocation", (void*)glBindAttribLocation},
|
||||
{"glBindBuffer", (void*)glBindBuffer},
|
||||
{"glBindFramebuffer", (void*)glBindFramebuffer},
|
||||
{"glBindRenderbuffer", (void*)glBindRenderbuffer},
|
||||
{"glBindTexture", (void*)glBindTexture},
|
||||
{"glBlendColor", (void*)glBlendColor},
|
||||
{"glBlendEquation", (void*)glBlendEquation},
|
||||
{"glBlendEquationSeparate", (void*)glBlendEquationSeparate},
|
||||
{"glBlendFunc", (void*)glBlendFunc},
|
||||
{"glBlendFuncSeparate", (void*)glBlendFuncSeparate},
|
||||
{"glBufferData", (void*)glBufferData},
|
||||
{"glBufferSubData", (void*)glBufferSubData},
|
||||
{"glCheckFramebufferStatus", (void*)glCheckFramebufferStatus},
|
||||
{"glClear", (void*)glClear},
|
||||
{"glClearColor", (void*)glClearColor},
|
||||
{"glClearDepthf", (void*)glClearDepthf},
|
||||
{"glClearStencil", (void*)glClearStencil},
|
||||
{"glColorMask", (void*)glColorMask},
|
||||
{"glCompileShader", (void*)glCompileShader},
|
||||
{"glCompressedTexImage2D", (void*)glCompressedTexImage2D},
|
||||
{"glCompressedTexSubImage2D", (void*)glCompressedTexSubImage2D},
|
||||
{"glCopyTexImage2D", (void*)glCopyTexImage2D},
|
||||
{"glCopyTexSubImage2D", (void*)glCopyTexSubImage2D},
|
||||
{"glCreateProgram", (void*)glCreateProgram},
|
||||
{"glCreateShader", (void*)glCreateShader},
|
||||
{"glCullFace", (void*)glCullFace},
|
||||
{"glDeleteBuffers", (void*)glDeleteBuffers},
|
||||
{"glDeleteFramebuffers", (void*)glDeleteFramebuffers},
|
||||
{"glDeleteProgram", (void*)glDeleteProgram},
|
||||
{"glDeleteRenderbuffers", (void*)glDeleteRenderbuffers},
|
||||
{"glDeleteShader", (void*)glDeleteShader},
|
||||
{"glDeleteTextures", (void*)glDeleteTextures},
|
||||
{"glDepthFunc", (void*)glDepthFunc},
|
||||
{"glDepthMask", (void*)glDepthMask},
|
||||
{"glDepthRangef", (void*)glDepthRangef},
|
||||
{"glDetachShader", (void*)glDetachShader},
|
||||
{"glDisable", (void*)glDisable},
|
||||
{"glDisableVertexAttribArray", (void*)glDisableVertexAttribArray},
|
||||
{"glDrawArrays", (void*)glDrawArrays},
|
||||
{"glDrawElements", (void*)glDrawElements},
|
||||
{"glEnable", (void*)glEnable},
|
||||
{"glEnableVertexAttribArray", (void*)glEnableVertexAttribArray},
|
||||
{"glFinish", (void*)glFinish},
|
||||
{"glFlush", (void*)glFlush},
|
||||
{"glFramebufferRenderbuffer", (void*)glFramebufferRenderbuffer},
|
||||
{"glFramebufferTexture2D", (void*)glFramebufferTexture2D},
|
||||
{"glFrontFace", (void*)glFrontFace},
|
||||
{"glGenBuffers", (void*)glGenBuffers},
|
||||
{"glGenerateMipmap", (void*)glGenerateMipmap},
|
||||
{"glGenFramebuffers", (void*)glGenFramebuffers},
|
||||
{"glGenRenderbuffers", (void*)glGenRenderbuffers},
|
||||
{"glGenTextures", (void*)glGenTextures},
|
||||
{"glGetActiveAttrib", (void*)glGetActiveAttrib},
|
||||
{"glGetActiveUniform", (void*)glGetActiveUniform},
|
||||
{"glGetAttachedShaders", (void*)glGetAttachedShaders},
|
||||
{"glGetAttribLocation", (void*)glGetAttribLocation},
|
||||
{"glGetBooleanv", (void*)glGetBooleanv},
|
||||
{"glGetBufferParameteriv", (void*)glGetBufferParameteriv},
|
||||
{"glGetError", (void*)glGetError},
|
||||
{"glGetFloatv", (void*)glGetFloatv},
|
||||
{"glGetFramebufferAttachmentParameteriv", (void*)glGetFramebufferAttachmentParameteriv},
|
||||
{"glGetIntegerv", (void*)glGetIntegerv},
|
||||
{"glGetProgramiv", (void*)glGetProgramiv},
|
||||
{"glGetProgramInfoLog", (void*)glGetProgramInfoLog},
|
||||
{"glGetRenderbufferParameteriv", (void*)glGetRenderbufferParameteriv},
|
||||
{"glGetShaderiv", (void*)glGetShaderiv},
|
||||
{"glGetShaderInfoLog", (void*)glGetShaderInfoLog},
|
||||
{"glGetShaderPrecisionFormat", (void*)glGetShaderPrecisionFormat},
|
||||
{"glGetShaderSource", (void*)glGetShaderSource},
|
||||
{"glGetString", (void*)glGetString},
|
||||
{"glGetTexParameterfv", (void*)glGetTexParameterfv},
|
||||
{"glGetTexParameteriv", (void*)glGetTexParameteriv},
|
||||
{"glGetUniformfv", (void*)glGetUniformfv},
|
||||
{"glGetUniformiv", (void*)glGetUniformiv},
|
||||
{"glGetUniformLocation", (void*)glGetUniformLocation},
|
||||
{"glGetVertexAttribfv", (void*)glGetVertexAttribfv},
|
||||
{"glGetVertexAttribiv", (void*)glGetVertexAttribiv},
|
||||
{"glGetVertexAttribPointerv", (void*)glGetVertexAttribPointerv},
|
||||
{"glHint", (void*)glHint},
|
||||
{"glIsBuffer", (void*)glIsBuffer},
|
||||
{"glIsEnabled", (void*)glIsEnabled},
|
||||
{"glIsFramebuffer", (void*)glIsFramebuffer},
|
||||
{"glIsProgram", (void*)glIsProgram},
|
||||
{"glIsRenderbuffer", (void*)glIsRenderbuffer},
|
||||
{"glIsShader", (void*)glIsShader},
|
||||
{"glIsTexture", (void*)glIsTexture},
|
||||
{"glLineWidth", (void*)glLineWidth},
|
||||
{"glLinkProgram", (void*)glLinkProgram},
|
||||
{"glPixelStorei", (void*)glPixelStorei},
|
||||
{"glPolygonOffset", (void*)glPolygonOffset},
|
||||
{"glReadPixels", (void*)glReadPixels},
|
||||
{"glReleaseShaderCompiler", (void*)glReleaseShaderCompiler},
|
||||
{"glRenderbufferStorage", (void*)glRenderbufferStorage},
|
||||
{"glSampleCoverage", (void*)glSampleCoverage},
|
||||
{"glScissor", (void*)glScissor},
|
||||
{"glShaderBinary", (void*)glShaderBinary},
|
||||
{"glShaderSource", (void*)glShaderSource},
|
||||
{"glStencilFunc", (void*)glStencilFunc},
|
||||
{"glStencilFuncSeparate", (void*)glStencilFuncSeparate},
|
||||
{"glStencilMask", (void*)glStencilMask},
|
||||
{"glStencilMaskSeparate", (void*)glStencilMaskSeparate},
|
||||
{"glStencilOp", (void*)glStencilOp},
|
||||
{"glStencilOpSeparate", (void*)glStencilOpSeparate},
|
||||
{"glTexImage2D", (void*)glTexImage2D},
|
||||
{"glTexParameterf", (void*)glTexParameterf},
|
||||
{"glTexParameterfv", (void*)glTexParameterfv},
|
||||
{"glTexParameteri", (void*)glTexParameteri},
|
||||
{"glTexParameteriv", (void*)glTexParameteriv},
|
||||
{"glTexSubImage2D", (void*)glTexSubImage2D},
|
||||
{"glUniform1f", (void*)glUniform1f},
|
||||
{"glUniform1fv", (void*)glUniform1fv},
|
||||
{"glUniform1i", (void*)glUniform1i},
|
||||
{"glUniform1iv", (void*)glUniform1iv},
|
||||
{"glUniform2f", (void*)glUniform2f},
|
||||
{"glUniform2fv", (void*)glUniform2fv},
|
||||
{"glUniform2i", (void*)glUniform2i},
|
||||
{"glUniform2iv", (void*)glUniform2iv},
|
||||
{"glUniform3f", (void*)glUniform3f},
|
||||
{"glUniform3fv", (void*)glUniform3fv},
|
||||
{"glUniform3i", (void*)glUniform3i},
|
||||
{"glUniform3iv", (void*)glUniform3iv},
|
||||
{"glUniform4f", (void*)glUniform4f},
|
||||
{"glUniform4fv", (void*)glUniform4fv},
|
||||
{"glUniform4i", (void*)glUniform4i},
|
||||
{"glUniform4iv", (void*)glUniform4iv},
|
||||
{"glUniformMatrix2fv", (void*)glUniformMatrix2fv},
|
||||
{"glUniformMatrix3fv", (void*)glUniformMatrix3fv},
|
||||
{"glUniformMatrix4fv", (void*)glUniformMatrix4fv},
|
||||
{"glUseProgram", (void*)glUseProgram},
|
||||
{"glValidateProgram", (void*)glValidateProgram},
|
||||
{"glVertexAttrib1f", (void*)glVertexAttrib1f},
|
||||
{"glVertexAttrib1fv", (void*)glVertexAttrib1fv},
|
||||
{"glVertexAttrib2f", (void*)glVertexAttrib2f},
|
||||
{"glVertexAttrib2fv", (void*)glVertexAttrib2fv},
|
||||
{"glVertexAttrib3f", (void*)glVertexAttrib3f},
|
||||
{"glVertexAttrib3fv", (void*)glVertexAttrib3fv},
|
||||
{"glVertexAttrib4f", (void*)glVertexAttrib4f},
|
||||
{"glVertexAttrib4fv", (void*)glVertexAttrib4fv},
|
||||
{"glVertexAttribPointer", (void*)glVertexAttribPointer},
|
||||
{"glViewport", (void*)glViewport},
|
||||
{"glEGLImageTargetTexture2DOES", (void*)glEGLImageTargetTexture2DOES},
|
||||
{"glEGLImageTargetRenderbufferStorageOES", (void*)glEGLImageTargetRenderbufferStorageOES},
|
||||
{"glGetProgramBinaryOES", (void*)glGetProgramBinaryOES},
|
||||
{"glProgramBinaryOES", (void*)glProgramBinaryOES},
|
||||
{"glMapBufferOES", (void*)glMapBufferOES},
|
||||
{"glUnmapBufferOES", (void*)glUnmapBufferOES},
|
||||
{"glTexImage3DOES", (void*)glTexImage3DOES},
|
||||
{"glTexSubImage3DOES", (void*)glTexSubImage3DOES},
|
||||
{"glCopyTexSubImage3DOES", (void*)glCopyTexSubImage3DOES},
|
||||
{"glCompressedTexImage3DOES", (void*)glCompressedTexImage3DOES},
|
||||
{"glCompressedTexSubImage3DOES", (void*)glCompressedTexSubImage3DOES},
|
||||
{"glFramebufferTexture3DOES", (void*)glFramebufferTexture3DOES},
|
||||
{"glBindVertexArrayOES", (void*)glBindVertexArrayOES},
|
||||
{"glDeleteVertexArraysOES", (void*)glDeleteVertexArraysOES},
|
||||
{"glGenVertexArraysOES", (void*)glGenVertexArraysOES},
|
||||
{"glIsVertexArrayOES", (void*)glIsVertexArrayOES},
|
||||
{"glDiscardFramebufferEXT", (void*)glDiscardFramebufferEXT},
|
||||
{"glMultiDrawArraysEXT", (void*)glMultiDrawArraysEXT},
|
||||
{"glMultiDrawElementsEXT", (void*)glMultiDrawElementsEXT},
|
||||
{"glGetPerfMonitorGroupsAMD", (void*)glGetPerfMonitorGroupsAMD},
|
||||
{"glGetPerfMonitorCountersAMD", (void*)glGetPerfMonitorCountersAMD},
|
||||
{"glGetPerfMonitorGroupStringAMD", (void*)glGetPerfMonitorGroupStringAMD},
|
||||
{"glGetPerfMonitorCounterStringAMD", (void*)glGetPerfMonitorCounterStringAMD},
|
||||
{"glGetPerfMonitorCounterInfoAMD", (void*)glGetPerfMonitorCounterInfoAMD},
|
||||
{"glGenPerfMonitorsAMD", (void*)glGenPerfMonitorsAMD},
|
||||
{"glDeletePerfMonitorsAMD", (void*)glDeletePerfMonitorsAMD},
|
||||
{"glSelectPerfMonitorCountersAMD", (void*)glSelectPerfMonitorCountersAMD},
|
||||
{"glBeginPerfMonitorAMD", (void*)glBeginPerfMonitorAMD},
|
||||
{"glEndPerfMonitorAMD", (void*)glEndPerfMonitorAMD},
|
||||
{"glGetPerfMonitorCounterDataAMD", (void*)glGetPerfMonitorCounterDataAMD},
|
||||
{"glRenderbufferStorageMultisampleIMG", (void*)glRenderbufferStorageMultisampleIMG},
|
||||
{"glFramebufferTexture2DMultisampleIMG", (void*)glFramebufferTexture2DMultisampleIMG},
|
||||
{"glDeleteFencesNV", (void*)glDeleteFencesNV},
|
||||
{"glGenFencesNV", (void*)glGenFencesNV},
|
||||
{"glIsFenceNV", (void*)glIsFenceNV},
|
||||
{"glTestFenceNV", (void*)glTestFenceNV},
|
||||
{"glGetFenceivNV", (void*)glGetFenceivNV},
|
||||
{"glFinishFenceNV", (void*)glFinishFenceNV},
|
||||
{"glSetFenceNV", (void*)glSetFenceNV},
|
||||
{"glCoverageMaskNV", (void*)glCoverageMaskNV},
|
||||
{"glCoverageOperationNV", (void*)glCoverageOperationNV},
|
||||
{"glGetDriverControlsQCOM", (void*)glGetDriverControlsQCOM},
|
||||
{"glGetDriverControlStringQCOM", (void*)glGetDriverControlStringQCOM},
|
||||
{"glEnableDriverControlQCOM", (void*)glEnableDriverControlQCOM},
|
||||
{"glDisableDriverControlQCOM", (void*)glDisableDriverControlQCOM},
|
||||
{"glExtGetTexturesQCOM", (void*)glExtGetTexturesQCOM},
|
||||
{"glExtGetBuffersQCOM", (void*)glExtGetBuffersQCOM},
|
||||
{"glExtGetRenderbuffersQCOM", (void*)glExtGetRenderbuffersQCOM},
|
||||
{"glExtGetFramebuffersQCOM", (void*)glExtGetFramebuffersQCOM},
|
||||
{"glExtGetTexLevelParameterivQCOM", (void*)glExtGetTexLevelParameterivQCOM},
|
||||
{"glExtTexObjectStateOverrideiQCOM", (void*)glExtTexObjectStateOverrideiQCOM},
|
||||
{"glExtGetTexSubImageQCOM", (void*)glExtGetTexSubImageQCOM},
|
||||
{"glExtGetBufferPointervQCOM", (void*)glExtGetBufferPointervQCOM},
|
||||
{"glExtGetShadersQCOM", (void*)glExtGetShadersQCOM},
|
||||
{"glExtGetProgramsQCOM", (void*)glExtGetProgramsQCOM},
|
||||
{"glExtIsProgramBinaryQCOM", (void*)glExtIsProgramBinaryQCOM},
|
||||
{"glExtGetProgramBinarySourceQCOM", (void*)glExtGetProgramBinarySourceQCOM},
|
||||
{"glStartTilingQCOM", (void*)glStartTilingQCOM},
|
||||
{"glEndTilingQCOM", (void*)glEndTilingQCOM},
|
||||
};
|
||||
static const int gl2_num_funcs = sizeof(gl2_funcs_by_name) / sizeof(struct _gl2_funcs_by_name);
|
||||
|
||||
|
||||
#endif
|
||||
217
android/opengl/system/GLESv2_enc/gl2_opcodes.h
Normal file
217
android/opengl/system/GLESv2_enc/gl2_opcodes.h
Normal file
|
|
@ -0,0 +1,217 @@
|
|||
// Generated Code - DO NOT EDIT !!
|
||||
// generated by 'emugen'
|
||||
#ifndef __GUARD_gl2_opcodes_h_
|
||||
#define __GUARD_gl2_opcodes_h_
|
||||
|
||||
#define OP_glActiveTexture 2048
|
||||
#define OP_glAttachShader 2049
|
||||
#define OP_glBindAttribLocation 2050
|
||||
#define OP_glBindBuffer 2051
|
||||
#define OP_glBindFramebuffer 2052
|
||||
#define OP_glBindRenderbuffer 2053
|
||||
#define OP_glBindTexture 2054
|
||||
#define OP_glBlendColor 2055
|
||||
#define OP_glBlendEquation 2056
|
||||
#define OP_glBlendEquationSeparate 2057
|
||||
#define OP_glBlendFunc 2058
|
||||
#define OP_glBlendFuncSeparate 2059
|
||||
#define OP_glBufferData 2060
|
||||
#define OP_glBufferSubData 2061
|
||||
#define OP_glCheckFramebufferStatus 2062
|
||||
#define OP_glClear 2063
|
||||
#define OP_glClearColor 2064
|
||||
#define OP_glClearDepthf 2065
|
||||
#define OP_glClearStencil 2066
|
||||
#define OP_glColorMask 2067
|
||||
#define OP_glCompileShader 2068
|
||||
#define OP_glCompressedTexImage2D 2069
|
||||
#define OP_glCompressedTexSubImage2D 2070
|
||||
#define OP_glCopyTexImage2D 2071
|
||||
#define OP_glCopyTexSubImage2D 2072
|
||||
#define OP_glCreateProgram 2073
|
||||
#define OP_glCreateShader 2074
|
||||
#define OP_glCullFace 2075
|
||||
#define OP_glDeleteBuffers 2076
|
||||
#define OP_glDeleteFramebuffers 2077
|
||||
#define OP_glDeleteProgram 2078
|
||||
#define OP_glDeleteRenderbuffers 2079
|
||||
#define OP_glDeleteShader 2080
|
||||
#define OP_glDeleteTextures 2081
|
||||
#define OP_glDepthFunc 2082
|
||||
#define OP_glDepthMask 2083
|
||||
#define OP_glDepthRangef 2084
|
||||
#define OP_glDetachShader 2085
|
||||
#define OP_glDisable 2086
|
||||
#define OP_glDisableVertexAttribArray 2087
|
||||
#define OP_glDrawArrays 2088
|
||||
#define OP_glDrawElements 2089
|
||||
#define OP_glEnable 2090
|
||||
#define OP_glEnableVertexAttribArray 2091
|
||||
#define OP_glFinish 2092
|
||||
#define OP_glFlush 2093
|
||||
#define OP_glFramebufferRenderbuffer 2094
|
||||
#define OP_glFramebufferTexture2D 2095
|
||||
#define OP_glFrontFace 2096
|
||||
#define OP_glGenBuffers 2097
|
||||
#define OP_glGenerateMipmap 2098
|
||||
#define OP_glGenFramebuffers 2099
|
||||
#define OP_glGenRenderbuffers 2100
|
||||
#define OP_glGenTextures 2101
|
||||
#define OP_glGetActiveAttrib 2102
|
||||
#define OP_glGetActiveUniform 2103
|
||||
#define OP_glGetAttachedShaders 2104
|
||||
#define OP_glGetAttribLocation 2105
|
||||
#define OP_glGetBooleanv 2106
|
||||
#define OP_glGetBufferParameteriv 2107
|
||||
#define OP_glGetError 2108
|
||||
#define OP_glGetFloatv 2109
|
||||
#define OP_glGetFramebufferAttachmentParameteriv 2110
|
||||
#define OP_glGetIntegerv 2111
|
||||
#define OP_glGetProgramiv 2112
|
||||
#define OP_glGetProgramInfoLog 2113
|
||||
#define OP_glGetRenderbufferParameteriv 2114
|
||||
#define OP_glGetShaderiv 2115
|
||||
#define OP_glGetShaderInfoLog 2116
|
||||
#define OP_glGetShaderPrecisionFormat 2117
|
||||
#define OP_glGetShaderSource 2118
|
||||
#define OP_glGetString 2119
|
||||
#define OP_glGetTexParameterfv 2120
|
||||
#define OP_glGetTexParameteriv 2121
|
||||
#define OP_glGetUniformfv 2122
|
||||
#define OP_glGetUniformiv 2123
|
||||
#define OP_glGetUniformLocation 2124
|
||||
#define OP_glGetVertexAttribfv 2125
|
||||
#define OP_glGetVertexAttribiv 2126
|
||||
#define OP_glGetVertexAttribPointerv 2127
|
||||
#define OP_glHint 2128
|
||||
#define OP_glIsBuffer 2129
|
||||
#define OP_glIsEnabled 2130
|
||||
#define OP_glIsFramebuffer 2131
|
||||
#define OP_glIsProgram 2132
|
||||
#define OP_glIsRenderbuffer 2133
|
||||
#define OP_glIsShader 2134
|
||||
#define OP_glIsTexture 2135
|
||||
#define OP_glLineWidth 2136
|
||||
#define OP_glLinkProgram 2137
|
||||
#define OP_glPixelStorei 2138
|
||||
#define OP_glPolygonOffset 2139
|
||||
#define OP_glReadPixels 2140
|
||||
#define OP_glReleaseShaderCompiler 2141
|
||||
#define OP_glRenderbufferStorage 2142
|
||||
#define OP_glSampleCoverage 2143
|
||||
#define OP_glScissor 2144
|
||||
#define OP_glShaderBinary 2145
|
||||
#define OP_glShaderSource 2146
|
||||
#define OP_glStencilFunc 2147
|
||||
#define OP_glStencilFuncSeparate 2148
|
||||
#define OP_glStencilMask 2149
|
||||
#define OP_glStencilMaskSeparate 2150
|
||||
#define OP_glStencilOp 2151
|
||||
#define OP_glStencilOpSeparate 2152
|
||||
#define OP_glTexImage2D 2153
|
||||
#define OP_glTexParameterf 2154
|
||||
#define OP_glTexParameterfv 2155
|
||||
#define OP_glTexParameteri 2156
|
||||
#define OP_glTexParameteriv 2157
|
||||
#define OP_glTexSubImage2D 2158
|
||||
#define OP_glUniform1f 2159
|
||||
#define OP_glUniform1fv 2160
|
||||
#define OP_glUniform1i 2161
|
||||
#define OP_glUniform1iv 2162
|
||||
#define OP_glUniform2f 2163
|
||||
#define OP_glUniform2fv 2164
|
||||
#define OP_glUniform2i 2165
|
||||
#define OP_glUniform2iv 2166
|
||||
#define OP_glUniform3f 2167
|
||||
#define OP_glUniform3fv 2168
|
||||
#define OP_glUniform3i 2169
|
||||
#define OP_glUniform3iv 2170
|
||||
#define OP_glUniform4f 2171
|
||||
#define OP_glUniform4fv 2172
|
||||
#define OP_glUniform4i 2173
|
||||
#define OP_glUniform4iv 2174
|
||||
#define OP_glUniformMatrix2fv 2175
|
||||
#define OP_glUniformMatrix3fv 2176
|
||||
#define OP_glUniformMatrix4fv 2177
|
||||
#define OP_glUseProgram 2178
|
||||
#define OP_glValidateProgram 2179
|
||||
#define OP_glVertexAttrib1f 2180
|
||||
#define OP_glVertexAttrib1fv 2181
|
||||
#define OP_glVertexAttrib2f 2182
|
||||
#define OP_glVertexAttrib2fv 2183
|
||||
#define OP_glVertexAttrib3f 2184
|
||||
#define OP_glVertexAttrib3fv 2185
|
||||
#define OP_glVertexAttrib4f 2186
|
||||
#define OP_glVertexAttrib4fv 2187
|
||||
#define OP_glVertexAttribPointer 2188
|
||||
#define OP_glViewport 2189
|
||||
#define OP_glEGLImageTargetTexture2DOES 2190
|
||||
#define OP_glEGLImageTargetRenderbufferStorageOES 2191
|
||||
#define OP_glGetProgramBinaryOES 2192
|
||||
#define OP_glProgramBinaryOES 2193
|
||||
#define OP_glMapBufferOES 2194
|
||||
#define OP_glUnmapBufferOES 2195
|
||||
#define OP_glTexImage3DOES 2196
|
||||
#define OP_glTexSubImage3DOES 2197
|
||||
#define OP_glCopyTexSubImage3DOES 2198
|
||||
#define OP_glCompressedTexImage3DOES 2199
|
||||
#define OP_glCompressedTexSubImage3DOES 2200
|
||||
#define OP_glFramebufferTexture3DOES 2201
|
||||
#define OP_glBindVertexArrayOES 2202
|
||||
#define OP_glDeleteVertexArraysOES 2203
|
||||
#define OP_glGenVertexArraysOES 2204
|
||||
#define OP_glIsVertexArrayOES 2205
|
||||
#define OP_glDiscardFramebufferEXT 2206
|
||||
#define OP_glMultiDrawArraysEXT 2207
|
||||
#define OP_glMultiDrawElementsEXT 2208
|
||||
#define OP_glGetPerfMonitorGroupsAMD 2209
|
||||
#define OP_glGetPerfMonitorCountersAMD 2210
|
||||
#define OP_glGetPerfMonitorGroupStringAMD 2211
|
||||
#define OP_glGetPerfMonitorCounterStringAMD 2212
|
||||
#define OP_glGetPerfMonitorCounterInfoAMD 2213
|
||||
#define OP_glGenPerfMonitorsAMD 2214
|
||||
#define OP_glDeletePerfMonitorsAMD 2215
|
||||
#define OP_glSelectPerfMonitorCountersAMD 2216
|
||||
#define OP_glBeginPerfMonitorAMD 2217
|
||||
#define OP_glEndPerfMonitorAMD 2218
|
||||
#define OP_glGetPerfMonitorCounterDataAMD 2219
|
||||
#define OP_glRenderbufferStorageMultisampleIMG 2220
|
||||
#define OP_glFramebufferTexture2DMultisampleIMG 2221
|
||||
#define OP_glDeleteFencesNV 2222
|
||||
#define OP_glGenFencesNV 2223
|
||||
#define OP_glIsFenceNV 2224
|
||||
#define OP_glTestFenceNV 2225
|
||||
#define OP_glGetFenceivNV 2226
|
||||
#define OP_glFinishFenceNV 2227
|
||||
#define OP_glSetFenceNV 2228
|
||||
#define OP_glCoverageMaskNV 2229
|
||||
#define OP_glCoverageOperationNV 2230
|
||||
#define OP_glGetDriverControlsQCOM 2231
|
||||
#define OP_glGetDriverControlStringQCOM 2232
|
||||
#define OP_glEnableDriverControlQCOM 2233
|
||||
#define OP_glDisableDriverControlQCOM 2234
|
||||
#define OP_glExtGetTexturesQCOM 2235
|
||||
#define OP_glExtGetBuffersQCOM 2236
|
||||
#define OP_glExtGetRenderbuffersQCOM 2237
|
||||
#define OP_glExtGetFramebuffersQCOM 2238
|
||||
#define OP_glExtGetTexLevelParameterivQCOM 2239
|
||||
#define OP_glExtTexObjectStateOverrideiQCOM 2240
|
||||
#define OP_glExtGetTexSubImageQCOM 2241
|
||||
#define OP_glExtGetBufferPointervQCOM 2242
|
||||
#define OP_glExtGetShadersQCOM 2243
|
||||
#define OP_glExtGetProgramsQCOM 2244
|
||||
#define OP_glExtIsProgramBinaryQCOM 2245
|
||||
#define OP_glExtGetProgramBinarySourceQCOM 2246
|
||||
#define OP_glStartTilingQCOM 2247
|
||||
#define OP_glEndTilingQCOM 2248
|
||||
#define OP_glVertexAttribPointerData 2249
|
||||
#define OP_glVertexAttribPointerOffset 2250
|
||||
#define OP_glDrawElementsOffset 2251
|
||||
#define OP_glDrawElementsData 2252
|
||||
#define OP_glGetCompressedTextureFormats 2253
|
||||
#define OP_glShaderString 2254
|
||||
#define OP_glFinishRoundTrip 2255
|
||||
#define OP_last 2256
|
||||
|
||||
|
||||
#endif
|
||||
21
android/opengl/system/GLESv2_enc/gl2_types.h
Normal file
21
android/opengl/system/GLESv2_enc/gl2_types.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* Copyright (C) 2011 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
#ifndef _GL_2_TYPES_H_
|
||||
#define _GL_2_TYPES_H_
|
||||
#include "gl_base_types.h"
|
||||
|
||||
typedef void *GLvoidptr;
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue