Lines Matching refs:depth

77  * glGetTexImage for depth/Z pixels.
82 GLsizei width, GLsizei height, GLint depth,
94 for (img = 0; img < depth; img++) {
126 * glGetTexImage for depth/stencil pixels.
131 GLsizei width, GLsizei height, GLint depth,
139 for (img = 0; img < depth; img++) {
187 GLsizei width, GLsizei height, GLint depth,
195 for (img = 0; img < depth; img++) {
233 GLsizei width, GLsizei height, GLint depth,
239 for (img = 0; img < depth; img++) {
319 GLsizei width, GLsizei height, GLint depth,
336 tempImage = malloc(width * height * depth * 4 * sizeof(GLfloat));
343 for (slice = 0; slice < depth; slice++) {
373 for (slice = 0; slice < depth; slice++) {
436 GLsizei width, GLsizei height, GLint depth,
468 for (img = 0; img < depth; img++) {
576 GLsizei width, GLsizei height, GLint depth,
600 width, height, depth,
607 width, height, depth,
621 GLsizei width, GLsizei height, GLint depth,
644 if (depth > 1) {
697 GLsizei width, GLsizei height, GLint depth,
729 depth = height;
733 assert(zoffset + depth <= texImage->Height);
735 assert(zoffset + depth <= texImage->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);
779 GLint height, GLint depth,
789 width, height, depth,
919 GLsizei width, GLsizei height, GLsizei depth,
950 if (depth < 0) {
951 _mesa_error(ctx, GL_INVALID_VALUE, "%s(depth = %d)", caller, depth);
977 if (depth != 1) {
979 "%s(depth = %d)", caller, depth);
987 if (zoffset + depth > 6) {
989 "%s(zoffset + depth = %d)", caller, zoffset + depth);
1020 if (zoffset + depth > imageDepth) {
1022 "%s(zoffset %d + depth %d > %u)",
1023 caller, zoffset, depth, imageDepth);
1070 if ((depth % bd != 0) &&
1071 (zoffset + depth != (GLint) texImage->Depth)) {
1073 "%s(depth = %d)", caller, depth);
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)
1362 *depth = 6;
1365 *depth = texImage->Depth;
1369 *width = *height = *depth = 0;
1390 GLsizei width, GLsizei height, GLint depth,
1422 numFaces = depth;
1424 depth = 1;
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,
1801 numFaces = depth;
1803 depth = 1;
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,
1983 GLsizei height, GLsizei depth,
1997 width, height, depth,
2004 width, height, depth,