Lines Matching defs:first

177 viewport_array(struct gl_context *ctx, GLuint first, GLsizei count,
184 set_viewport_no_notify(ctx, i + first, inputs[i].X, inputs[i].Y,
193 _mesa_ViewportArrayv_no_error(GLuint first, GLsizei count, const GLfloat *v)
198 viewport_array(ctx, first, count, p);
202 _mesa_ViewportArrayv(GLuint first, GLsizei count, const GLfloat *v)
209 _mesa_debug(ctx, "glViewportArrayv %d %d\n", first, count);
211 if ((first + count) > ctx->Const.MaxViewports) {
213 "glViewportArrayv: first (%d) + count (%d) > MaxViewports "
215 first, count, ctx->Const.MaxViewports);
225 i + first, p[i].Width, p[i].Height);
230 viewport_array(ctx, first, count, p);
354 * \param first starting array index
360 depth_range_arrayv(struct gl_context *ctx, GLuint first, GLsizei count,
364 set_depth_range_no_notify(ctx, i + first, inputs[i].Near, inputs[i].Far);
368 _mesa_DepthRangeArrayv_no_error(GLuint first, GLsizei count, const GLclampd *v)
374 depth_range_arrayv(ctx, first, count, p);
378 _mesa_DepthRangeArrayv(GLuint first, GLsizei count, const GLclampd *v)
385 _mesa_debug(ctx, "glDepthRangeArrayv %d %d\n", first, count);
387 if ((first + count) > ctx->Const.MaxViewports) {
389 "glDepthRangev: first (%d) + count (%d) >= MaxViewports (%d)",
390 first, count, ctx->Const.MaxViewports);
394 depth_range_arrayv(ctx, first, count, p);
398 _mesa_DepthRangeArrayfvOES(GLuint first, GLsizei count, const GLfloat *v)
404 _mesa_debug(ctx, "glDepthRangeArrayfv %d %d\n", first, count);
406 if ((first + count) > ctx->Const.MaxViewports) {
408 "glDepthRangeArrayfv: first (%d) + count (%d) >= MaxViewports (%d)",
409 first, count, ctx->Const.MaxViewports);
414 set_depth_range_no_notify(ctx, i + first, v[i * 2], v[i * 2 + 1]);