Exemple #1
0
void glTexCoordPointer(GLint size, GLenum type,
                     GLsizei stride, const GLvoid *pointer) {
    clone_gl_pointer(state.pointers.tex_coord[state.texture.client], size);
    if (state.remote) return;
    LOAD_GLES(glTexCoordPointer);
    gles_glTexCoordPointer(size, type, stride, pointer);
}
Exemple #2
0
Fichier : gl.c Projet : rzr/glshim
void glVertexPointer(GLint size, GLenum type,
                     GLsizei stride, const GLvoid *pointer) {
    LOAD_GLES(glVertexPointer);
    clone_gl_pointer(state.pointers.vertex, size);
    glGetError();
    gles_glVertexPointer(size, type, stride, pointer);
}
Exemple #3
0
void glColorPointer(GLint size, GLenum type,
                     GLsizei stride, const GLvoid *pointer) {
    clone_gl_pointer(state.pointers.color, size);
    if (state.remote) return;
    LOAD_GLES(glColorPointer);
    gles_glColorPointer(size, type, stride, pointer);
}
Exemple #4
0
Fichier : gl.c Projet : rzr/glshim
void glTexCoordPointer(GLint size, GLenum type,
                     GLsizei stride, const GLvoid *pointer) {
    LOAD_GLES(glTexCoordPointer);
    clone_gl_pointer(state.pointers.tex_coord, size);
    gles_glTexCoordPointer(size, type, stride, pointer);
}
Exemple #5
0
Fichier : gl.c Projet : rzr/glshim
void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer) {
    LOAD_GLES(glNormalPointer);
    clone_gl_pointer(state.pointers.normal, 3);
    gles_glNormalPointer(type, stride, pointer);
}