Lines Matching refs:count

1087                                 GLsizei count,  in calcIndexRange()  argument
1094 (unsigned char *)indices, count, in calcIndexRange()
1101 (unsigned short *)indices, count, in calcIndexRange()
1108 (unsigned int *)indices, count, in calcIndexRange()
1119 GLsizei count, in recenterIndices() argument
1125 m_fixedBuffer.resize(glSizeof(type) * count); in recenterIndices()
1133 count, -minIndex, in recenterIndices()
1142 count, -minIndex, in recenterIndices()
1151 count, -minIndex, in recenterIndices()
1166 size_t count, in getBufferIndexRange() argument
1172 type, offset, count, in getBufferIndexRange()
1179 calcIndexRange(dataWithOffset, type, count, minIndex_out, maxIndex_out); in getBufferIndexRange()
1182 type, offset, count, m_primitiveRestartEnabled, in getBufferIndexRange()
1196 void GL2Encoder::sendVertexAttributes(GLint first, GLsizei count, bool hasClientArrays, GLsizei pri… in sendVertexAttributes() argument
1232 unsigned int datalen = state.elementSize * count; in sendVertexAttributes()
1262 … unsigned int bufLen = effectiveStride * (count ? (count - 1) : 0) + state.elementSize; in sendVertexAttributes()
1321 void GL2Encoder::s_glDrawArrays(void *self, GLenum mode, GLint first, GLsizei count) in s_glDrawArrays() argument
1326 SET_ERROR_IF(count < 0, GL_INVALID_VALUE); in s_glDrawArrays()
1336 ctx->sendVertexAttributes(first, count, true); in s_glDrawArrays()
1337 ctx->m_glDrawArrays_enc(ctx, mode, 0, count); in s_glDrawArrays()
1339 ctx->m_glDrawArrays_enc(ctx, mode, first, count); in s_glDrawArrays()
1344 void GL2Encoder::s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *… in s_glDrawElements() argument
1350 SET_ERROR_IF(count < 0, GL_INVALID_VALUE); in s_glDrawElements()
1382 (size_t)count, in s_glDrawElements()
1392 count, in s_glDrawElements()
1397 if (count == 0) return; in s_glDrawElements()
1403 ctx->glDrawElementsOffset(ctx, mode, count, type, offset); in s_glDrawElements()
1414 count, in s_glDrawElements()
1419 ctx->glDrawElementsData(ctx, mode, count, type, adjustedIndices, in s_glDrawElements()
1420 count * glSizeof(type)); in s_glDrawElements()
1433 void GL2Encoder::s_glDrawArraysNullAEMU(void *self, GLenum mode, GLint first, GLsizei count) in s_glDrawArraysNullAEMU() argument
1438 SET_ERROR_IF(count < 0, GL_INVALID_VALUE); in s_glDrawArraysNullAEMU()
1448 ctx->sendVertexAttributes(first, count, true); in s_glDrawArraysNullAEMU()
1449 ctx->m_glDrawArraysNullAEMU_enc(ctx, mode, 0, count); in s_glDrawArraysNullAEMU()
1451 ctx->m_glDrawArraysNullAEMU_enc(ctx, mode, first, count); in s_glDrawArraysNullAEMU()
1456 void GL2Encoder::s_glDrawElementsNullAEMU(void *self, GLenum mode, GLsizei count, GLenum type, cons… in s_glDrawElementsNullAEMU() argument
1462 SET_ERROR_IF(count < 0, GL_INVALID_VALUE); in s_glDrawElementsNullAEMU()
1497 (size_t)count, in s_glDrawElementsNullAEMU()
1508 count, in s_glDrawElementsNullAEMU()
1513 if (count == 0) return; in s_glDrawElementsNullAEMU()
1519 ctx->glDrawElementsOffsetNullAEMU(ctx, mode, count, type, offset); in s_glDrawElementsNullAEMU()
1530 count, in s_glDrawElementsNullAEMU()
1535 ctx->glDrawElementsDataNullAEMU(ctx, mode, count, type, adjustedIndices, in s_glDrawElementsNullAEMU()
1536 count * glSizeof(type)); in s_glDrawElementsNullAEMU()
1740 void GL2Encoder::s_glShaderSource(void *self, GLuint shader, GLsizei count, const GLchar * const *s… in s_glShaderSource() argument
1746 SET_ERROR_IF((count<0), GL_INVALID_VALUE); in s_glShaderSource()
1751 for (int i = 0; i < count; i++) { in s_glShaderSource()
1763 for (int i = 0; i < count; i++) { in s_glShaderSource()
1769 int len = glUtilsCalcShaderSourceLen((char**)string, (GLint*)length, count); in s_glShaderSource()
1771 glUtilsPackStrings(str, (char**)string, (GLint*)length, count); in s_glShaderSource()
1883 GLsizei* count, GLuint* shaders) in s_glGetAttachedShaders() argument
1887 ctx->m_glGetAttachedShaders_enc(self, program, maxCount, count, shaders); in s_glGetAttachedShaders()
2044 void GL2Encoder::s_glUniform1fv(void *self , GLint location, GLsizei count, const GLfloat* v) in s_glUniform1fv() argument
2048 ctx->m_glUniform1fv_enc(self, hostLoc, count, v); in s_glUniform1fv()
2070 void GL2Encoder::s_glUniform1iv(void *self , GLint location, GLsizei count, const GLint* v) in s_glUniform1iv() argument
2074 ctx->m_glUniform1iv_enc(self, hostLoc, count, v); in s_glUniform1iv()
2084 void GL2Encoder::s_glUniform2fv(void *self , GLint location, GLsizei count, const GLfloat* v) in s_glUniform2fv() argument
2088 ctx->m_glUniform2fv_enc(self, hostLoc, count, v); in s_glUniform2fv()
2098 void GL2Encoder::s_glUniform2iv(void *self , GLint location, GLsizei count, const GLint* v) in s_glUniform2iv() argument
2102 ctx->m_glUniform2iv_enc(self, hostLoc, count, v); in s_glUniform2iv()
2112 void GL2Encoder::s_glUniform3fv(void *self , GLint location, GLsizei count, const GLfloat* v) in s_glUniform3fv() argument
2116 ctx->m_glUniform3fv_enc(self, hostLoc, count, v); in s_glUniform3fv()
2126 void GL2Encoder::s_glUniform3iv(void *self , GLint location, GLsizei count, const GLint* v) in s_glUniform3iv() argument
2130 ctx->m_glUniform3iv_enc(self, hostLoc, count, v); in s_glUniform3iv()
2140 void GL2Encoder::s_glUniform4fv(void *self , GLint location, GLsizei count, const GLfloat* v) in s_glUniform4fv() argument
2144 ctx->m_glUniform4fv_enc(self, hostLoc, count, v); in s_glUniform4fv()
2154 void GL2Encoder::s_glUniform4iv(void *self , GLint location, GLsizei count, const GLint* v) in s_glUniform4iv() argument
2158 ctx->m_glUniform4iv_enc(self, hostLoc, count, v); in s_glUniform4iv()
2161 void GL2Encoder::s_glUniformMatrix2fv(void *self , GLint location, GLsizei count, GLboolean transpo… in s_glUniformMatrix2fv() argument
2165 ctx->m_glUniformMatrix2fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix2fv()
2168 void GL2Encoder::s_glUniformMatrix3fv(void *self , GLint location, GLsizei count, GLboolean transpo… in s_glUniformMatrix3fv() argument
2172 ctx->m_glUniformMatrix3fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix3fv()
2175 void GL2Encoder::s_glUniformMatrix4fv(void *self , GLint location, GLsizei count, GLboolean transpo… in s_glUniformMatrix4fv() argument
2179 ctx->m_glUniformMatrix4fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix4fv()
3497 static std::string packVarNames(GLsizei count, const char** names, GLint* err_out) { in packVarNames() argument
3504 for (GLsizei i = 0; i < count; i++) { in packVarNames()
3580 void GL2Encoder::s_glUniform1uiv(void* self, GLint location, GLsizei count, const GLuint *value) { in s_glUniform1uiv() argument
3583 ctx->m_glUniform1uiv_enc(self, hostLoc, count, value); in s_glUniform1uiv()
3586 void GL2Encoder::s_glUniform2uiv(void* self, GLint location, GLsizei count, const GLuint *value) { in s_glUniform2uiv() argument
3589 ctx->m_glUniform2uiv_enc(self, hostLoc, count, value); in s_glUniform2uiv()
3592 void GL2Encoder::s_glUniform3uiv(void* self, GLint location, GLsizei count, const GLuint *value) { in s_glUniform3uiv() argument
3595 ctx->m_glUniform3uiv_enc(self, hostLoc, count, value); in s_glUniform3uiv()
3598 void GL2Encoder::s_glUniform4uiv(void* self, GLint location, GLsizei count, const GLuint *value) { in s_glUniform4uiv() argument
3601 ctx->m_glUniform4uiv_enc(self, hostLoc, count, value); in s_glUniform4uiv()
3604 void GL2Encoder::s_glUniformMatrix2x3fv(void* self, GLint location, GLsizei count, GLboolean transp… in s_glUniformMatrix2x3fv() argument
3607 ctx->m_glUniformMatrix2x3fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix2x3fv()
3610 void GL2Encoder::s_glUniformMatrix3x2fv(void* self, GLint location, GLsizei count, GLboolean transp… in s_glUniformMatrix3x2fv() argument
3613 ctx->m_glUniformMatrix3x2fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix3x2fv()
3616 void GL2Encoder::s_glUniformMatrix2x4fv(void* self, GLint location, GLsizei count, GLboolean transp… in s_glUniformMatrix2x4fv() argument
3619 ctx->m_glUniformMatrix2x4fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix2x4fv()
3622 void GL2Encoder::s_glUniformMatrix4x2fv(void* self, GLint location, GLsizei count, GLboolean transp… in s_glUniformMatrix4x2fv() argument
3625 ctx->m_glUniformMatrix4x2fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix4x2fv()
3628 void GL2Encoder::s_glUniformMatrix3x4fv(void* self, GLint location, GLsizei count, GLboolean transp… in s_glUniformMatrix3x4fv() argument
3631 ctx->m_glUniformMatrix3x4fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix3x4fv()
3634 void GL2Encoder::s_glUniformMatrix4x3fv(void* self, GLint location, GLsizei count, GLboolean transp… in s_glUniformMatrix4x3fv() argument
3637 ctx->m_glUniformMatrix4x3fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix4x3fv()
3866 void GL2Encoder::s_glTransformFeedbackVaryings(void* self, GLuint program, GLsizei count, const cha… in s_glTransformFeedbackVaryings() argument
3876 maxCount < count, in s_glTransformFeedbackVaryings()
3883 if (!count) return; in s_glTransformFeedbackVaryings()
3886 std::string packed = packVarNames(count, varyings, &err); in s_glTransformFeedbackVaryings()
3889 …ctx->glTransformFeedbackVaryingsAEMU(ctx, program, count, (const char*)&packed[0], packed.size() +… in s_glTransformFeedbackVaryings()
4127 void GL2Encoder::s_glDrawArraysInstanced(void* self, GLenum mode, GLint first, GLsizei count, GLsiz… in s_glDrawArraysInstanced() argument
4131 SET_ERROR_IF(count < 0, GL_INVALID_VALUE); in s_glDrawArraysInstanced()
4142 ctx->sendVertexAttributes(first, count, true, primcount); in s_glDrawArraysInstanced()
4143 ctx->m_glDrawArraysInstanced_enc(ctx, mode, 0, count, primcount); in s_glDrawArraysInstanced()
4145 ctx->sendVertexAttributes(0, count, false, primcount); in s_glDrawArraysInstanced()
4146 ctx->m_glDrawArraysInstanced_enc(ctx, mode, first, count, primcount); in s_glDrawArraysInstanced()
4151 void GL2Encoder::s_glDrawElementsInstanced(void* self, GLenum mode, GLsizei count, GLenum type, con… in s_glDrawElementsInstanced() argument
4157 SET_ERROR_IF(count < 0, GL_INVALID_VALUE); in s_glDrawElementsInstanced()
4190 (size_t)count, in s_glDrawElementsInstanced()
4200 count, in s_glDrawElementsInstanced()
4205 if (count == 0) return; in s_glDrawElementsInstanced()
4212 ctx->glDrawElementsInstancedOffsetAEMU(ctx, mode, count, type, offset, primcount); in s_glDrawElementsInstanced()
4223 count, in s_glDrawElementsInstanced()
4228 …ctx->glDrawElementsInstancedDataAEMU(ctx, mode, count, type, adjustedIndices, primcount, count * g… in s_glDrawElementsInstanced()
4242 …wRangeElements(void* self, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, cons… in s_glDrawRangeElements() argument
4249 SET_ERROR_IF(count < 0, GL_INVALID_VALUE); in s_glDrawRangeElements()
4276 …rrent index vbo: %p len %zu count %zu\n", __func__, buf, buf->m_fixedBuffer.size(), (size_t)count); in s_glDrawRangeElements()
4287 (size_t)count, in s_glDrawRangeElements()
4297 count, in s_glDrawRangeElements()
4302 if (count == 0) return; in s_glDrawRangeElements()
4309 ctx->glDrawElementsOffset(ctx, mode, count, type, offset); in s_glDrawRangeElements()
4320 count, in s_glDrawRangeElements()
4325 … ctx->glDrawElementsData(ctx, mode, count, type, adjustedIndices, count * glSizeof(type)); in s_glDrawRangeElements()
4851 GLuint GL2Encoder::s_glCreateShaderProgramv(void* self, GLenum type, GLsizei count, const char** st… in s_glCreateShaderProgramv() argument
4856 int len = glUtilsCalcShaderSourceLen((char**)strings, length, count); in s_glCreateShaderProgramv()
4858 glUtilsPackStrings(str, (char**)strings, (GLint*)length, count); in s_glCreateShaderProgramv()
4872 GLuint res = ctx->glCreateShaderProgramvAEMU(ctx, type, count, str, len + 1); in s_glCreateShaderProgramv()
4912 void GL2Encoder::s_glProgramUniform1fv(void* self, GLuint program, GLint location, GLsizei count, c… in s_glProgramUniform1fv() argument
4916 ctx->m_glProgramUniform1fv_enc(self, program, hostLoc, count, value); in s_glProgramUniform1fv()
4938 void GL2Encoder::s_glProgramUniform1iv(void* self, GLuint program, GLint location, GLsizei count, c… in s_glProgramUniform1iv() argument
4942 ctx->m_glProgramUniform1iv_enc(self, program, hostLoc, count, value); in s_glProgramUniform1iv()
4964 void GL2Encoder::s_glProgramUniform1uiv(void* self, GLuint program, GLint location, GLsizei count, … in s_glProgramUniform1uiv() argument
4968 ctx->m_glProgramUniform1uiv_enc(self, program, hostLoc, count, value); in s_glProgramUniform1uiv()
4978 void GL2Encoder::s_glProgramUniform2fv(void* self, GLuint program, GLint location, GLsizei count, c… in s_glProgramUniform2fv() argument
4982 ctx->m_glProgramUniform2fv_enc(self, program, hostLoc, count, value); in s_glProgramUniform2fv()
4992 void GL2Encoder::s_glProgramUniform2iv(void* self, GLuint program, GLint location, GLsizei count, c… in s_glProgramUniform2iv() argument
4996 ctx->m_glProgramUniform2iv_enc(self, program, hostLoc, count, value); in s_glProgramUniform2iv()
5006 void GL2Encoder::s_glProgramUniform2uiv(void* self, GLuint program, GLint location, GLsizei count, … in s_glProgramUniform2uiv() argument
5010 ctx->m_glProgramUniform2uiv_enc(self, program, hostLoc, count, value); in s_glProgramUniform2uiv()
5020 void GL2Encoder::s_glProgramUniform3fv(void* self, GLuint program, GLint location, GLsizei count, c… in s_glProgramUniform3fv() argument
5024 ctx->m_glProgramUniform3fv_enc(self, program, hostLoc, count, value); in s_glProgramUniform3fv()
5034 void GL2Encoder::s_glProgramUniform3iv(void* self, GLuint program, GLint location, GLsizei count, c… in s_glProgramUniform3iv() argument
5038 ctx->m_glProgramUniform3iv_enc(self, program, hostLoc, count, value); in s_glProgramUniform3iv()
5048 void GL2Encoder::s_glProgramUniform3uiv(void* self, GLuint program, GLint location, GLsizei count, … in s_glProgramUniform3uiv() argument
5052 ctx->m_glProgramUniform3uiv_enc(self, program, hostLoc, count, value); in s_glProgramUniform3uiv()
5062 void GL2Encoder::s_glProgramUniform4fv(void* self, GLuint program, GLint location, GLsizei count, c… in s_glProgramUniform4fv() argument
5066 ctx->m_glProgramUniform4fv_enc(self, program, hostLoc, count, value); in s_glProgramUniform4fv()
5076 void GL2Encoder::s_glProgramUniform4iv(void* self, GLuint program, GLint location, GLsizei count, c… in s_glProgramUniform4iv() argument
5080 ctx->m_glProgramUniform4iv_enc(self, program, hostLoc, count, value); in s_glProgramUniform4iv()
5090 void GL2Encoder::s_glProgramUniform4uiv(void* self, GLuint program, GLint location, GLsizei count, … in s_glProgramUniform4uiv() argument
5094 ctx->m_glProgramUniform4uiv_enc(self, program, hostLoc, count, value); in s_glProgramUniform4uiv()
5097 …ogramUniformMatrix2fv(void* self, GLuint program, GLint location, GLsizei count, GLboolean transpo… in s_glProgramUniformMatrix2fv() argument
5101 ctx->m_glProgramUniformMatrix2fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix2fv()
5104 …ramUniformMatrix2x3fv(void* self, GLuint program, GLint location, GLsizei count, GLboolean transpo… in s_glProgramUniformMatrix2x3fv() argument
5108 ctx->m_glProgramUniformMatrix2x3fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix2x3fv()
5111 …ramUniformMatrix2x4fv(void* self, GLuint program, GLint location, GLsizei count, GLboolean transpo… in s_glProgramUniformMatrix2x4fv() argument
5115 ctx->m_glProgramUniformMatrix2x4fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix2x4fv()
5118 …ogramUniformMatrix3fv(void* self, GLuint program, GLint location, GLsizei count, GLboolean transpo… in s_glProgramUniformMatrix3fv() argument
5122 ctx->m_glProgramUniformMatrix3fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix3fv()
5125 …ramUniformMatrix3x2fv(void* self, GLuint program, GLint location, GLsizei count, GLboolean transpo… in s_glProgramUniformMatrix3x2fv() argument
5129 ctx->m_glProgramUniformMatrix3x2fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix3x2fv()
5132 …ramUniformMatrix3x4fv(void* self, GLuint program, GLint location, GLsizei count, GLboolean transpo… in s_glProgramUniformMatrix3x4fv() argument
5136 ctx->m_glProgramUniformMatrix3x4fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix3x4fv()
5139 …ogramUniformMatrix4fv(void* self, GLuint program, GLint location, GLsizei count, GLboolean transpo… in s_glProgramUniformMatrix4fv() argument
5143 ctx->m_glProgramUniformMatrix4fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix4fv()
5146 …ramUniformMatrix4x2fv(void* self, GLuint program, GLint location, GLsizei count, GLboolean transpo… in s_glProgramUniformMatrix4x2fv() argument
5150 ctx->m_glProgramUniformMatrix4x2fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix4x2fv()
5153 …ramUniformMatrix4x3fv(void* self, GLuint program, GLint location, GLsizei count, GLboolean transpo… in s_glProgramUniformMatrix4x3fv() argument
5157 ctx->m_glProgramUniformMatrix4x3fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix4x3fv()