Lines Matching defs:height
49 _mesa_DrawPixels( GLsizei width, GLsizei height,
59 width, height,
68 if (width < 0 || height < 0) {
69 _mesa_error( ctx, GL_INVALID_VALUE, "glDrawPixels(width or height < 0)" );
150 if (width > 0 && height > 0) {
157 if (!_mesa_validate_pbo_access(2, &ctx->Unpack, width, height,
171 st_DrawPixels(ctx, x, y, width, height, format, type,
199 _mesa_CopyPixels( GLint srcx, GLint srcy, GLsizei width, GLsizei height,
209 srcx, srcy, width, height,
216 if (width < 0 || height < 0) {
217 _mesa_error(ctx, GL_INVALID_VALUE, "glCopyPixels(width or height < 0)");
284 if (!ctx->Current.RasterPosValid || width == 0 || height == 0) {
290 if (width > 0 && height > 0) {
293 st_CopyPixels( ctx, srcx, srcy, width, height, destx, desty,
320 _mesa_Bitmap( GLsizei width, GLsizei height,
328 if (width < 0 || height < 0) {
329 _mesa_error( ctx, GL_INVALID_VALUE, "glBitmap(width or height < 0)" );
352 if (width > 0 && height > 0) {
359 if (!_mesa_validate_pbo_access(2, &ctx->Unpack, width, height,
374 st_Bitmap( ctx, x, y, width, height, &ctx->Unpack, bitmap );