void GLESv1Decoder::s_glMatrixIndexPointerData(void * self, GLint size, GLenum type, GLsizei stride, void * data, GLuint datalen) { GLESv1Decoder *ctx = (GLESv1Decoder *)self; STORE_POINTER_DATA_OR_ABORT(GLDecoderContextData::MATRIXINDEX_LOCATION); ctx->glMatrixIndexPointerOES(size, type, 0, ctx->m_contextData->pointerData(GLDecoderContextData::MATRIXINDEX_LOCATION)); }
void GLESv1Decoder::s_glPointSizePointerData(void *self, GLenum type, GLsizei stride, void *data, GLuint datalen) { GLESv1Decoder *ctx = (GLESv1Decoder *)self; STORE_POINTER_DATA_OR_ABORT(GLDecoderContextData::POINTSIZE_LOCATION); ctx->glPointSizePointerOES(type, 0, ctx->m_contextData->pointerData(GLDecoderContextData::POINTSIZE_LOCATION)); }
void GLESv1Decoder::s_glColorPointerData(void *self, GLint size, GLenum type, GLsizei stride, void *data, GLuint datalen) { GLESv1Decoder *ctx = (GLESv1Decoder *)self; STORE_POINTER_DATA_OR_ABORT(GLDecoderContextData::COLOR_LOCATION); ctx->glColorPointer(size, type, 0, ctx->m_contextData->pointerData(GLDecoderContextData::COLOR_LOCATION)); }
void GLDecoder::s_glNormalPointerData(void *self, GLenum type, GLsizei stride, void *data, GLuint datalen) { GLDecoder *ctx = (GLDecoder *)self; STORE_POINTER_DATA_OR_ABORT(GLDecoderContextData::NORMAL_LOCATION); ctx->glNormalPointer(type, 0, ctx->m_contextData->pointerData(GLDecoderContextData::NORMAL_LOCATION)); }
void GLESv1Decoder::s_glTexCoordPointerData(void *self, GLint unit, GLint size, GLenum type, GLsizei stride, void *data, GLuint datalen) { GLESv1Decoder *ctx = (GLESv1Decoder *)self; STORE_POINTER_DATA_OR_ABORT((GLDecoderContextData::PointerDataLocation) (GLDecoderContextData::TEXCOORD0_LOCATION + unit)); ctx->glTexCoordPointer(size, type, 0, ctx->m_contextData->pointerData((GLDecoderContextData::PointerDataLocation) (GLDecoderContextData::TEXCOORD0_LOCATION + unit))); }