Lines Matching refs:count

422 void GL2Encoder::sendVertexAttributes(GLint first, GLsizei count)  in sendVertexAttributes()  argument
442 unsigned int datalen = state->elementSize * count; in sendVertexAttributes()
461 void GL2Encoder::s_glDrawArrays(void *self, GLenum mode, GLint first, GLsizei count) in s_glDrawArrays() argument
464 ctx->sendVertexAttributes(first, count); in s_glDrawArrays()
465 ctx->m_glDrawArrays_enc(ctx, mode, 0, count); in s_glDrawArrays()
469 void GL2Encoder::s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *… in s_glDrawElements() argument
474 SET_ERROR_IF(count<0, GL_INVALID_VALUE); in s_glDrawElements()
499 ctx->sendVertexAttributes(0, count); in s_glDrawElements()
501 ctx->glDrawElementsOffset(ctx, mode, count, type, (uintptr_t)indices); in s_glDrawElements()
516 GLUtils::minmax<unsigned char>((unsigned char *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
518 adjustedIndices = ctx->m_fixedBuffer.alloc(glSizeof(type) * count); in s_glDrawElements()
521 count, -minIndex); in s_glDrawElements()
526 GLUtils::minmax<unsigned short>((unsigned short *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
528 adjustedIndices = ctx->m_fixedBuffer.alloc(glSizeof(type) * count); in s_glDrawElements()
531 count, -minIndex); in s_glDrawElements()
539 ctx->glDrawElementsData(ctx, mode, count, type, adjustedIndices, in s_glDrawElements()
540 count * glSizeof(type)); in s_glDrawElements()
655 void GL2Encoder::s_glShaderSource(void *self, GLuint shader, GLsizei count, const GLchar * const *s… in s_glShaderSource() argument
661 int len = glUtilsCalcShaderSourceLen((char**)string, (GLint*)length, count); in s_glShaderSource()
663 glUtilsPackStrings(str, (char**)string, (GLint*)length, count); in s_glShaderSource()
769 GLsizei* count, GLuint* shaders) in s_glGetAttachedShaders() argument
773 ctx->m_glGetAttachedShaders_enc(self, program, maxCount, count, shaders); in s_glGetAttachedShaders()
910 void GL2Encoder::s_glUniform1fv(void *self , GLint location, GLsizei count, const GLfloat* v) in s_glUniform1fv() argument
914 ctx->m_glUniform1fv_enc(self, hostLoc, count, v); in s_glUniform1fv()
936 void GL2Encoder::s_glUniform1iv(void *self , GLint location, GLsizei count, const GLint* v) in s_glUniform1iv() argument
940 ctx->m_glUniform1iv_enc(self, hostLoc, count, v); in s_glUniform1iv()
950 void GL2Encoder::s_glUniform2fv(void *self , GLint location, GLsizei count, const GLfloat* v) in s_glUniform2fv() argument
954 ctx->m_glUniform2fv_enc(self, hostLoc, count, v); in s_glUniform2fv()
964 void GL2Encoder::s_glUniform2iv(void *self , GLint location, GLsizei count, const GLint* v) in s_glUniform2iv() argument
968 ctx->m_glUniform2iv_enc(self, hostLoc, count, v); in s_glUniform2iv()
978 void GL2Encoder::s_glUniform3fv(void *self , GLint location, GLsizei count, const GLfloat* v) in s_glUniform3fv() argument
982 ctx->m_glUniform3fv_enc(self, hostLoc, count, v); in s_glUniform3fv()
992 void GL2Encoder::s_glUniform3iv(void *self , GLint location, GLsizei count, const GLint* v) in s_glUniform3iv() argument
996 ctx->m_glUniform3iv_enc(self, hostLoc, count, v); in s_glUniform3iv()
1006 void GL2Encoder::s_glUniform4fv(void *self , GLint location, GLsizei count, const GLfloat* v) in s_glUniform4fv() argument
1010 ctx->m_glUniform4fv_enc(self, hostLoc, count, v); in s_glUniform4fv()
1020 void GL2Encoder::s_glUniform4iv(void *self , GLint location, GLsizei count, const GLint* v) in s_glUniform4iv() argument
1024 ctx->m_glUniform4iv_enc(self, hostLoc, count, v); in s_glUniform4iv()
1027 void GL2Encoder::s_glUniformMatrix2fv(void *self , GLint location, GLsizei count, GLboolean transpo… in s_glUniformMatrix2fv() argument
1031 ctx->m_glUniformMatrix2fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix2fv()
1034 void GL2Encoder::s_glUniformMatrix3fv(void *self , GLint location, GLsizei count, GLboolean transpo… in s_glUniformMatrix3fv() argument
1038 ctx->m_glUniformMatrix3fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix3fv()
1041 void GL2Encoder::s_glUniformMatrix4fv(void *self , GLint location, GLsizei count, GLboolean transpo… in s_glUniformMatrix4fv() argument
1045 ctx->m_glUniformMatrix4fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix4fv()