Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c46 const unsigned blockBytes = _mesa_get_format_bytes(format); in get_aligned_compressed_row_stride() local
55 stride = (width + blockWidth - 1) / blockWidth * blockBytes; in get_aligned_compressed_row_stride()
61 stride = (minStride + blockBytes - 1) / blockBytes * blockBytes; in get_aligned_compressed_row_stride()
67 blockBytes, blockWidth, in get_aligned_compressed_row_stride()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c46 const unsigned blockBytes = _mesa_get_format_bytes(format); in get_aligned_compressed_row_stride() local
55 stride = (width + blockWidth - 1) / blockWidth * blockBytes; in get_aligned_compressed_row_stride()
61 stride = (minStride + blockBytes - 1) / blockBytes * blockBytes; in get_aligned_compressed_row_stride()
67 blockBytes, blockWidth, in get_aligned_compressed_row_stride()
/third_party/vk-gl-cts/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()
2695 const size_t blockBytes = getBlockSize(tcuFormat); in init()
2696 const vector<deUint8> dummyData (blockBytes); in init()
2698 …, 0, format, blockPixels.x(), blockPixels.y(), blockPixels.z(), 0, (int)blockBytes, &dummyData[0]); in init()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp507 deUint32 blockBytes = getBlockSizeInBytes(format); in getCompressedImageSizeInBytes() local
508 VkDeviceSize sizeBytes = sizeInBlocks[0] * sizeInBlocks[1] * sizeInBlocks[2] * blockBytes; in getCompressedImageSizeInBytes()
/third_party/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h2480 VkDeviceSize blockBytes; member
16549 outBudget->blockBytes = m_Budget.m_BlockBytes[heapIndex]; in GetBudget()
16552 …if(m_Budget.m_VulkanUsage[heapIndex] + outBudget->blockBytes > m_Budget.m_BlockBytesAtBudgetFetch[… in GetBudget()
16555 outBudget->blockBytes - m_Budget.m_BlockBytesAtBudgetFetch[heapIndex]; in GetBudget()
16580 outBudget->blockBytes = m_Budget.m_BlockBytes[heapIndex]; in GetBudget()
16583 outBudget->usage = outBudget->blockBytes; in GetBudget()
16916 VkDeviceSize blockBytes = m_Budget.m_BlockBytes[heapIndex]; in AllocateVulkanMemory() local
16919 … const VkDeviceSize blockBytesAfterAllocation = blockBytes + pAllocateInfo->allocationSize; in AllocateVulkanMemory()
16924 …if(m_Budget.m_BlockBytes[heapIndex].compare_exchange_strong(blockBytes, blockBytesAfterAllocation)) in AllocateVulkanMemory()
17639 json.WriteNumber(budget[heapIndex].blockBytes); in vmaBuildStatsString()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp3524 deUint32 blockBytes; member
3684 return compressedFormatParameters[formatNdx].blockBytes; in getBlockSizeInBytes()