Lines Matching refs:height
56 GLsizei width, GLsizei height,
78 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT,
87 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
90 for (j = 0; j < height; j++) {
112 GLsizei width, GLsizei height,
130 ASSERT(y + height <= (GLint) rb->Height);
132 if (fast_read_depth_pixels(ctx, x, y, width, height, type, pixels, packing))
136 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
139 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT,
150 for (j = 0; j < height; j++, y++) {
174 GLsizei width, GLsizei height,
187 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT,
198 for (j = 0; j < height; j++) {
202 dest = _mesa_image_address2d(packing, pixels, width, height,
227 GLsizei width, GLsizei height,
266 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
269 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT,
280 for (j = 0; j < height; j++) {
294 for (j = 0; j < height; j++) {
305 for (j = 0; j < height; j++) {
320 GLsizei width, GLsizei height,
335 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
338 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT,
349 for (j = 0; j < height; j++) {
384 GLsizei width, GLsizei height,
401 if (fast_read_rgba_pixels_memcpy(ctx, x, y, width, height,
407 slow_read_rgba_pixels(ctx, x, y, width, height,
418 GLsizei width, GLsizei height,
434 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT,
441 for (i = 0; i < height; i++) {
462 GLsizei width, GLsizei height,
474 ctx->Driver.MapRenderbuffer(ctx, depthRb, x, y, width, height,
481 ctx->Driver.MapRenderbuffer(ctx, stencilRb, x, y, width, height,
492 for (j = 0; j < height; j++) {
521 GLsizei width, GLsizei height,
538 ctx->Driver.MapRenderbuffer(ctx, depthRb, x, y, width, height,
546 ctx->Driver.MapRenderbuffer(ctx, stencilRb, x, y, width, height,
564 for (j = 0; j < height; j++) {
599 GLsizei width, GLsizei height,
611 width, height,
620 if (fast_read_depth_stencil_pixels(ctx, x, y, width, height,
624 if (fast_read_depth_stencil_pixels_separate(ctx, x, y, width, height,
629 slow_read_depth_stencil_pixels_separate(ctx, x, y, width, height,
642 GLint x, GLint y, GLsizei width, GLsizei height,
653 if (_mesa_clip_readpixels(ctx, &x, &y, &width, &height, &clippedPacking)) {
660 read_stencil_pixels(ctx, x, y, width, height, type, pixels,
664 read_depth_pixels(ctx, x, y, width, height, type, pixels,
668 read_depth_stencil_pixels(ctx, x, y, width, height, type, pixels,
673 read_rgba_pixels(ctx, x, y, width, height, format, type, pixels,
684 _mesa_ReadnPixelsARB( GLint x, GLint y, GLsizei width, GLsizei height,
697 width, height,
702 if (width < 0 || height < 0) {
704 "glReadPixels(width=%d height=%d)", width, height );
777 if (width == 0 || height == 0)
780 if (!_mesa_validate_pbo_access(2, &ctx->Pack, width, height, 1,
800 ctx->Driver.ReadPixels(ctx, x, y, width, height,
805 _mesa_ReadPixels( GLint x, GLint y, GLsizei width, GLsizei height,
808 _mesa_ReadnPixelsARB(x, y, width, height, format, type, INT_MAX, pixels);