Lines Matching defs:width
82 GLsizei width, GLsizei height, GLint depth,
87 GLfloat *depthRow = malloc(width * sizeof(GLfloat));
100 xoffset, yoffset, width, height,
106 width, height, format, type,
109 _mesa_unpack_float_z_row(texImage->TexFormat, width, src, depthRow);
110 _mesa_pack_depth_span(ctx, width, dest, type, depthRow, &ctx->Pack);
131 GLsizei width, GLsizei height, GLint depth,
145 xoffset, yoffset, width, height,
152 width, height, format, type,
157 width, src, dest);
161 width,
168 _mesa_swap4((GLuint *) dest, width);
187 GLsizei width, GLsizei height, GLint depth,
201 xoffset, yoffset, width, height,
209 width, height, format, type,
212 width,
233 GLsizei width, GLsizei height, GLint depth,
245 xoffset, yoffset, width, height,
252 width, height, format, type,
254 memcpy(dest, src, width * sizeof(GLushort));
262 _mesa_swap2((GLushort *) dest, width);
265 _mesa_swap2((GLushort *) dest, width);
319 GLsizei width, GLsizei height, GLint depth,
336 tempImage = malloc(width * height * depth * 4 * sizeof(GLfloat));
347 tempSlice = tempImage + slice * 4 * width * height;
350 xoffset, yoffset, width, height,
354 _mesa_decompress_image(texFormat, width, height,
369 srcStride = 4 * width * sizeof(GLfloat);
370 dstStride = _mesa_image_row_stride(&ctx->Pack, width, format, type);
375 width, height, format, type,
379 width, height,
385 width, height, dest, dest);
388 tempSlice += 4 * width * height;
436 GLsizei width, GLsizei height, GLint depth,
458 dst_stride = _mesa_image_row_stride(&ctx->Pack, width, format, type);
479 xoffset, yoffset, width, height,
489 width, height, format, type,
499 rgba_stride = width * 4 * sizeof(GLfloat);
522 width, height,
526 _mesa_apply_rgba_transfer_ops(ctx, transferOps, width * height, rgba);
551 width, height,
558 width, height, dest, dest);
576 GLsizei width, GLsizei height, GLint depth,
600 width, height, depth,
607 width, height, depth,
621 GLsizei width, GLsizei height, GLint depth,
651 const GLint bytesPerRow = width * bpp;
653 _mesa_image_address2d(&ctx->Pack, pixels, width, height,
656 _mesa_image_row_stride(&ctx->Pack, width, format, type);
662 xoffset, yoffset, width, height,
697 GLsizei width, GLsizei height, GLint depth,
738 if (get_tex_memcpy(ctx, xoffset, yoffset, zoffset, width, height, depth,
744 width, height, depth, format, type, pixels, texImage);
748 width, height, depth, format, type, pixels,
753 width, height, depth, format, type, pixels, texImage);
757 width, height, depth, format, type, pixels, texImage);
761 width, height, depth, format, type, pixels, texImage);
778 GLint zoffset, GLsizei width,
789 width, height, depth,
817 xoffset, yoffset, width, height,
919 GLsizei width, GLsizei height, GLsizei depth,
940 if (width < 0) {
941 _mesa_error(ctx, GL_INVALID_VALUE, "%s(width = %d)", caller, width);
1004 if (xoffset + width > imageWidth) {
1006 "%s(xoffset %d + width %d > %u)",
1007 caller, xoffset, width, imageWidth);
1056 if ((width % bw != 0) &&
1057 (xoffset + width != (GLint) texImage->Width)) {
1059 "%s(width = %d)", caller, width);
1079 if (width == 0 || height == 0 || depth == 0) {
1096 GLsizei width, GLsizei height, GLsizei depth,
1103 if (!_mesa_validate_pbo_access(dimensions, &ctx->Pack, width, height, depth,
1214 GLsizei width, GLsizei height, GLsizei depth,
1266 GLsizei width, GLsizei height, GLsizei depth,
1274 if (common_error_check(ctx, texObj, target, level, width, height, depth,
1279 if (width == 0 || height == 0 || depth == 0) {
1286 if (pbo_error_check(ctx, target, width, height, depth,
1309 GLsizei width, GLsizei height, GLsizei depth,
1317 if (common_error_check(ctx, texObj, target, level, width, height, depth,
1324 width, height, depth, caller)) {
1328 if (pbo_error_check(ctx, target, width, height, depth,
1343 * Return the width, height and depth of a texture image.
1350 GLsizei *width, GLsizei *height, GLsizei *depth)
1359 *width = texImage->Width;
1369 *width = *height = *depth = 0;
1390 GLsizei width, GLsizei height, GLint depth,
1419 imageStride = _mesa_image_image_stride(&ctx->Pack, width, height,
1442 width, height, depth,
1460 GLsizei width, height, depth;
1471 get_texture_image_dims(texObj, target, level, &width, &height, &depth);
1474 width, height, depth,
1480 0, 0, 0, width, height, depth,
1571 GLsizei width, height, depth;
1590 &width, &height, &depth);
1593 width, height, depth,
1599 0, 0, 0, width, height, depth,
1607 GLsizei width, GLsizei height, GLsizei depth,
1628 width, height, depth,
1634 xoffset, yoffset, zoffset, width, height, depth,
1646 GLsizei width, GLsizei height, GLsizei depth,
1653 width, height, depth,
1674 GLsizei width, GLsizei height, GLsizei depth,
1699 width, height, depth, caller)) {
1722 width, height, depth,
1768 GLsizei width, GLsizei height, GLint depth,
1796 width, height, depth,
1822 width, height, depth, pixels);
1838 GLsizei width, height, depth;
1849 get_texture_image_dims(texObj, target, level, &width, &height, &depth);
1852 0, 0, 0, width, height, depth,
1858 0, 0, 0, width, height, depth,
1868 GLsizei width, height, depth;
1880 &width, &height, &depth);
1883 0, 0, 0, width, height, depth,
1889 0, 0, 0, width, height, depth,
1900 GLsizei width, height, depth;
1907 &width, &height, &depth);
1910 0, 0, 0, width, height, depth,
1916 0, 0, 0, width, height, depth,
1927 GLsizei width, height, depth;
1936 &width, &height, &depth);
1939 0, 0, 0, width, height, depth,
1945 0, 0, 0, width, height, depth,
1956 GLsizei width, height, depth;
1965 &width, &height, &depth);
1968 0, 0, 0, width, height, depth,
1974 0, 0, 0, width, height, depth,
1982 GLint zoffset, GLsizei width,
1997 width, height, depth,
2004 width, height, depth,