Esempio n. 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);
}
Esempio n. 2
0
File: gl.c Progetto: 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);
}
Esempio n. 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);
}
Esempio n. 4
0
File: gl.c Progetto: 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);
}
Esempio n. 5
0
File: gl.c Progetto: 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);
}