Lines Matching refs:Width
270 buffer = malloc(img->Width * img->Height in write_texture_image()
277 0, 0, 0, img->Width, img->Height, img->Depth, in write_texture_image()
284 write_ppm(s, buffer, img->Width, img->Height, 4, 0, 1, 2, GL_FALSE); in write_texture_image()
321 buffer = malloc(rb->Width * rb->Height * 4); in _mesa_write_renderbuffer_image()
323 ctx->Driver.ReadPixels(ctx, 0, 0, rb->Width, rb->Height, in _mesa_write_renderbuffer_image()
334 write_ppm(s, buffer, rb->Width, rb->Height, 4, 0, 1, 2, GL_TRUE); in _mesa_write_renderbuffer_image()
363 texImg->Width, texImg->Height, texImg->Depth, in dump_texture()
416 rb->Name, rb->Width, rb->Height, in dump_renderbuffer()
451 const GLuint w = ctx->DrawBuffer->Width; in _mesa_dump_color_buffer()
481 const GLuint w = ctx->DrawBuffer->Width; in _mesa_dump_depth_buffer()
517 const GLuint w = ctx->DrawBuffer->Width; in _mesa_dump_stencil_buffer()
608 0, 0, img->Width, img->Height, GL_MAP_READ_BIT, in _mesa_print_texture()
640 for (j = 0; j < img->Width; j++) { in _mesa_print_texture()
649 data += (srcRowStride - img->Width) * c; in _mesa_print_texture()