Lines Matching defs:count
135 scissor_array(struct gl_context *ctx, GLuint first, GLsizei count,
138 for (GLsizei i = 0; i < count; i++) {
145 * Define count scissor boxes starting at index.
148 * \param count number of scissor records to set
156 _mesa_ScissorArrayv_no_error(GLuint first, GLsizei count, const GLint *v)
161 scissor_array(ctx, first, count, p);
165 _mesa_ScissorArrayv(GLuint first, GLsizei count, const GLint *v)
171 if ((first + count) > ctx->Const.MaxViewports) {
173 "glScissorArrayv: first (%d) + count (%d) >= MaxViewports (%d)",
174 first, count, ctx->Const.MaxViewports);
179 for (i = 0; i < count; i++) {
188 scissor_array(ctx, first, count, p);
260 _mesa_WindowRectanglesEXT(GLenum mode, GLsizei count, const GLint *box)
268 _mesa_enum_to_string(mode), count, box);
276 if (count < 0) {
277 _mesa_error(ctx, GL_INVALID_VALUE, "glWindowRectanglesEXT(count < 0)");
281 if (count > ctx->Const.MaxWindowRectangles) {
283 "glWindowRectanglesEXT(count >= MaxWindowRectangles (%d)",
288 for (i = 0; i < count; i++) {
307 sizeof(struct gl_scissor_rect) * count);
308 ctx->Scissor.NumWindowRects = count;