Lines Matching defs:height
44 GLfloat *width, GLfloat *height)
46 /* clamp width and height to the implementation dependent range */
48 *height = MIN2(*height, (GLfloat) ctx->Const.MaxViewportHeight);
70 GLfloat width, GLfloat height)
75 ctx->ViewportArray[idx].Height == height)
84 ctx->ViewportArray[idx].Height = height;
98 GLsizei height)
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);
163 * \param height height 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)",