Lines Matching defs:count
459 * reference count and mark it as DeletePending.
1769 GLsizei * count, GLhandleARB * obj)
1772 get_attached_shaders(ctx, (GLuint)container, maxCount, count, NULL, obj);
1778 GLsizei *count, GLuint *obj)
1781 get_attached_shaders(ctx, program, maxCount, count, obj, NULL);
2072 shader_source(struct gl_context *ctx, GLuint shaderObj, GLsizei count,
2085 if (string == NULL || count < 0) {
2094 if (count == 0)
2101 offsets = calloc(count, sizeof(GLint));
2107 for (i = 0; i < count; i++) {
2127 totalLength = offsets[count - 1] + 2;
2135 for (i = 0; i < count; i++) {
2169 _mesa_ShaderSource_no_error(GLuint shaderObj, GLsizei count,
2173 shader_source(ctx, shaderObj, count, string, length, true);
2178 _mesa_ShaderSource(GLuint shaderObj, GLsizei count,
2182 shader_source(ctx, shaderObj, count, string, length, false);
2363 * "An INVALID_VALUE error is generated if count or length is negative.
2368 _mesa_error(ctx, GL_INVALID_VALUE, "glShaderBinary(count or length < 0)");
2376 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glShaderBinary(count)");
2673 _mesa_CreateShaderProgramv(GLenum type, GLsizei count,
2683 * GL_INVALID_VALUE should be generated if count < 0
2685 if (count < 0) {
2686 _mesa_error(ctx, GL_INVALID_VALUE, "glCreateShaderProgram (count < 0)");
2693 _mesa_ShaderSource(shader, count, strings, NULL);
2885 int count, i, j;
2924 count = 0;
2929 values[count++] = i;
3024 _mesa_UniformSubroutinesuiv(GLenum shadertype, GLsizei count,
3044 if (count != p->sh.NumSubroutineUniformRemapTable) {
3094 } while(i < count);
3398 size_t count = ctx->Shared->ShaderIncludes->num_include_paths;
3427 if (i < count)
3466 if (i < count &&
3475 } while (i < count);
3609 _mesa_CompileShaderIncludeARB(GLuint shader, GLsizei count,
3615 if (count > 0 && path == NULL) {
3616 _mesa_error(ctx, GL_INVALID_VALUE, "%s(count > 0 && path == NULL)",
3626 ralloc_array_size(mem_ctx, sizeof(struct sh_incl_path_entry *), count);
3628 for (size_t i = 0; i < count; i++) {
3652 ctx->Shared->ShaderIncludes->num_include_paths = count;