Home
last modified time | relevance | path

Searched refs:blockBytes (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c45 const unsigned blockBytes = _mesa_get_format_bytes(format); in get_aligned_compressed_row_stride() local
54 stride = (width + blockWidth - 1) / blockWidth * blockBytes; in get_aligned_compressed_row_stride()
60 stride = (minStride + blockBytes - 1) / blockBytes * blockBytes; in get_aligned_compressed_row_stride()
66 blockBytes, blockWidth, in get_aligned_compressed_row_stride()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c45 const unsigned blockBytes = _mesa_get_format_bytes(format); in get_aligned_compressed_row_stride() local
54 stride = (width + blockWidth - 1) / blockWidth * blockBytes; in get_aligned_compressed_row_stride()
60 stride = (minStride + blockBytes - 1) / blockBytes * blockBytes; in get_aligned_compressed_row_stride()
66 blockBytes, blockWidth, in get_aligned_compressed_row_stride()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp61 deUint32 blockBytes; member
131 return compressedFormatParameters[formatNdx].blockBytes; in getBlockSizeInBytes()
888 deUint32 blockBytes = getBlockSizeInBytes(format); in getCompressedImageSizeInBytes() local
889 VkDeviceSize sizeBytes = sizeInBlocks[0] * sizeInBlocks[1] * sizeInBlocks[2] * blockBytes; in getCompressedImageSizeInBytes()
/external/deqp/modules/gles3/functional/
Des3fNegativeTextureApiTests.cpp512 const size_t blockBytes = getBlockSize(tcuFormat); in init()
513 const vector<deUint8> dummyData (blockBytes); in init()
515 …e2D(GL_TEXTURE_2D, 0, format, blockPixels.x(), blockPixels.y(), 0, (int)blockBytes, &dummyData[0]); in init()
521 … const size_t blockBytes = getBlockSize(tcuFormat) * cubeSize; // We have a x * y grid of blocks in init()
522 const vector<deUint8> dummyData (blockBytes); in init()
524 … glCompressedTexImage2D(faceGL, 0, format, cubeSize, cubeSize, 0, (int)blockBytes, &dummyData[0]); in init()
2692 const size_t blockBytes = getBlockSize(tcuFormat); in init()
2693 const vector<deUint8> dummyData (blockBytes); in init()
2695 …, 0, format, blockPixels.x(), blockPixels.y(), blockPixels.z(), 0, (int)blockBytes, &dummyData[0]); in init()