Lines Matching defs:height
149 * @param height Texture output height
153 GLint& height, GLint& depth)
157 height = 1;
159 height = state.height / (int)pow(2, level);
222 * @param height Height of texture
226 GLuint height, GLuint depth)
239 gl.texStorage2D(target, levels, internal_format, width, height);
244 gl.texStorage3D(target, levels, internal_format, width, height, depth);
247 gl.texStorage2DMultisample(target, levels /* samples */, internal_format, width, height, GL_TRUE);
250 gl.texStorage3DMultisample(target, levels /* samples */, internal_format, width, height, depth, GL_TRUE);
280 * @param height Height of texture
287 glw::GLint z, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLenum format,
300 gl.texSubImage2D(target, level, x, y, width, height, format, type, pixels);
303 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, level, x, y, width, height, format, type, pixels);
304 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, level, x, y, width, height, format, type, pixels);
305 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, level, x, y, width, height, format, type, pixels);
306 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, level, x, y, width, height, format, type, pixels);
307 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, level, x, y, width, height, format, type, pixels);
308 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, level, x, y, width, height, format, type, pixels);
313 gl.texSubImage3D(target, level, x, y, z, width, height, depth, format, type, pixels);
1173 //The <width> and <height> has to be equal for cube map textures
1397 GLint height = pageSizeY * (int)pow(2, levels - 1);
1401 // 2) wrong height
1404 GLint widthHeight = de::max(width, height);
1412 Texture::Storage(gl, target, levels, format, width + pageSizeX, height, depth);
1418 Texture::Storage(gl, target, levels, format, width, height + pageSizeY, depth);
1419 result = SparseTextureUtils::verifyError(mLog, "TexStorage [wrong height]", gl.getError(),
1457 GLint height = pageSizeY;
1474 // 2) wrong height
1476 Texture::Storage(gl, target, 1, format, width + max3DTextureSize, height, depth);
1484 Texture::Storage(gl, target, 1, format, width, height + max3DTextureSize, depth);
1485 if (!SparseTextureUtils::verifyError(mLog, "TexStorage [GL_TEXTURE_3D wrong height]", gl.getError(),
1497 // Ensure that width and height are within the valid bounds for a
1502 if (width < maxTextureWidthHeight && height < maxTextureWidthHeight)
1508 Texture::Storage(gl, target, 1, format, width, height, depth + max3DTextureSize);
1530 // 2) wrong height
1531 Texture::Storage(gl, target, 1, format, width + maxTextureSize, height, depth);
1541 Texture::Storage(gl, target, 1, format, width, height + maxTextureSize, depth);
1542 if (!SparseTextureUtils::verifyError(mLog, "TexStorage [!GL_TEXTURE_3D wrong height]", gl.getError(),
1562 Texture::Storage(gl, target, 1, format, width, height, depth + maxArrayTextureLayers);
1576 Texture::Storage(gl, target, 1, format, pageSizeX + 1, height, depth);
1587 if (!SparseTextureUtils::verifyError(mLog, "TexStorage [wrong height]", gl.getError(), GL_INVALID_VALUE))
1596 Texture::Storage(gl, target, 1, format, width, height, pageSizeZ + 1);
1767 * @param height Texture commitment height
1773 GLint zOffset, GLint width, GLint height, GLint depth,
1779 gl.texPageCommitmentARB(target, level, xOffset, yOffset, zOffset, width, height, depth, commit);
1813 //The <width> and <height> has to be equal for cube map textures
1823 mState.height = 2 * mState.pageSizeY;
1854 Texture::Storage(gl, target, mState.levels, format, mState.width, mState.height, mState.depth);
1883 Texture::Storage(gl, target, mState.levels, format, mState.width, mState.height, mState.depth);
1912 GLint height;
1914 SparseTextureUtils::getTextureLevelSize(target, mState, level, width, height, depth);
1916 if (width > 0 && height > 0 && depth >= mState.minDepth)
1918 GLint texSize = width * height * depth * mState.format.getPixelSize();
1926 Texture::SubImage(gl, target, level, 0, 0, 0, width, height, depth, transferFormat.format,
1958 GLint height;
1960 SparseTextureUtils::getTextureLevelSize(target, mState, level, width, height, depth);
1965 if (widthCommitted == 0 || height == 0 || depth < mState.minDepth)
1972 GLint texSize = width * height * depth * mState.format.getPixelSize();
1989 for (GLint y = 0; y < height; ++y)
2010 GLint texSize = width * height * mState.format.getPixelSize();
2035 for (GLint y = 0; y < height; ++y)
2079 GLint height;
2081 SparseTextureUtils::getTextureLevelSize(target, mState, level, width, height, depth);
2089 texPageCommitment(gl, target, format, texture, level, 0, 0, 0, widthCommitted, height, depth, GL_TRUE);
2105 GLint height;
2107 SparseTextureUtils::getTextureLevelSize(target, mState, level, width, height, depth);
2113 if (widthCommitted >= mState.pageSizeX && height >= mState.pageSizeY &&
2132 GLint height;
2134 SparseTextureUtils::getTextureLevelSize(target, mState, level, width, height, depth);
2140 if ((widthCommitted % mState.pageSizeX) == 0 && (height % mState.pageSizeY) == 0 && (depth % mState.pageSizeZ) == 0)
2203 texPageCommitment(gl, target, format, texture, 0, 0, 0, 0, mState.width + mState.pageSizeX, mState.height,
2210 texPageCommitment(gl, target, format, texture, 0, 0, 0, 0, mState.width, mState.height + mState.pageSizeY,
2212 result = SparseTextureUtils::verifyError(mLog, "texPageCommitment [commitment height greater than expected]",
2219 texPageCommitment(gl, target, format, texture, 0, 0, 0, 0, mState.width, mState.height,
2242 SparseTextureUtils::verifyError(mLog, "texPageCommitment [commitment height not multiple of page sizes Y]",
2418 * @param height Texture commitment height
2425 GLint height, GLint depth, GLboolean commit)
2429 gl.texturePageCommitmentEXT(texture, level, xOffset, yOffset, zOffset, width, height, depth, commit);