Home | History | Annotate | Download | only in main

Lines Matching refs:width

49 _mesa_DrawPixels( GLsizei width, GLsizei height,
58 width, height,
67 if (width < 0 || height < 0) {
68 _mesa_error( ctx, GL_INVALID_VALUE, "glDrawPixels(width or height < 0)" );
144 if (width > 0 && height > 0) {
151 if (!_mesa_validate_pbo_access(2, &ctx->Unpack, width, height,
165 ctx->Driver.DrawPixels(ctx, x, y, width, height, format, type,
193 _mesa_CopyPixels( GLint srcx, GLint srcy, GLsizei width, GLsizei height,
202 srcx, srcy, width, height,
209 if (width < 0 || height < 0) {
210 _mesa_error(ctx, GL_INVALID_VALUE, "glCopyPixels(width or height < 0)");
262 if (!ctx->Current.RasterPosValid || width == 0 || height == 0) {
268 if (width > 0 && height > 0) {
271 ctx->Driver.CopyPixels( ctx, srcx, srcy, width, height, destx, desty,
298 _mesa_Bitmap( GLsizei width, GLsizei height,
305 if (width < 0 || height < 0) {
306 _mesa_error( ctx, GL_INVALID_VALUE, "glBitmap(width or height < 0)" );
325 if (width > 0 && height > 0) {
332 if (!_mesa_validate_pbo_access(2, &ctx->Unpack, width, height,
347 ctx->Driver.Bitmap( ctx, x, y, width, height, &ctx->Unpack, bitmap );