Lines Matching defs:width
44 GLfloat *width, GLfloat *height)
46 /* clamp width and height to the implementation dependent range */
47 *width = MIN2(*width, (GLfloat) ctx->Const.MaxViewportWidth);
70 GLfloat width, GLfloat height)
73 ctx->ViewportArray[idx].Width == width &&
82 ctx->ViewportArray[idx].Width = width;
97 viewport(struct gl_context *ctx, GLint x, GLint y, GLsizei width,
100 struct gl_viewport_inputs input = { x, y, width, height };
131 _mesa_Viewport_no_error(GLint x, GLint y, GLsizei width, GLsizei height)
134 viewport(ctx, x, y, width, height);
138 _mesa_Viewport(GLint x, GLint y, GLsizei width, GLsizei height)
143 _mesa_debug(ctx, "glViewport %d %d %d %d\n", x, y, width, height);
145 if (width < 0 || height < 0) {
147 "glViewport(%d, %d, %d, %d)", x, y, width, height);
151 viewport(ctx, x, y, width, height);
162 * \param width width of the viewport rectangle.
167 GLfloat width, GLfloat height)
169 clamp_viewport(ctx, &x, &y, &width, &height);
170 set_viewport_no_notify(ctx, idx, x, y, width, height);
219 /* Verify width & height */
223 "glViewportArrayv: index (%d) width or height < 0 "
248 /* Verify width & height */
251 "%s: index (%d) width or height < 0 (%f, %f)",