Home
last modified time | relevance | path

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

/external/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()
/external/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()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp485 deUint32 blockBytes = getBlockSizeInBytes(format); in getCompressedImageSizeInBytes() local
486 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()
2694 const size_t blockBytes = getBlockSize(tcuFormat); in init()
2695 const vector<deUint8> dummyData (blockBytes); in init()
2697 …, 0, format, blockPixels.x(), blockPixels.y(), blockPixels.z(), 0, (int)blockBytes, &dummyData[0]); in init()
/external/angle/third_party/VulkanMemoryAllocator/src/
DTests.cpp4995 TEST(budgetBeg[i].allocationBytes <= budgetBeg[i].blockBytes); in TestBudget()
5044 TEST(budgetEnd[i].allocationBytes <= budgetEnd[i].blockBytes); in TestBudget()
5049 TEST(budgetWithBufs[i].blockBytes >= budgetEnd[i].blockBytes); in TestBudget()
5055 TEST(budgetEnd[i].blockBytes == budgetEnd[i].blockBytes && in TestBudget()
5056 budgetEnd[i].blockBytes == budgetWithBufs[i].blockBytes); in TestBudget()
Dvk_mem_alloc.h2409 VkDeviceSize blockBytes; member
16212 outBudget->blockBytes = m_Budget.m_BlockBytes[heapIndex]; in GetBudget()
16215 …if(m_Budget.m_VulkanUsage[heapIndex] + outBudget->blockBytes > m_Budget.m_BlockBytesAtBudgetFetch[… in GetBudget()
16218 outBudget->blockBytes - m_Budget.m_BlockBytesAtBudgetFetch[heapIndex]; in GetBudget()
16243 outBudget->blockBytes = m_Budget.m_BlockBytes[heapIndex]; in GetBudget()
16246 outBudget->usage = outBudget->blockBytes; in GetBudget()
16579 VkDeviceSize blockBytes = m_Budget.m_BlockBytes[heapIndex]; in AllocateVulkanMemory() local
16582 … const VkDeviceSize blockBytesAfterAllocation = blockBytes + pAllocateInfo->allocationSize; in AllocateVulkanMemory()
16587 …if(m_Budget.m_BlockBytes[heapIndex].compare_exchange_strong(blockBytes, blockBytesAfterAllocation)) in AllocateVulkanMemory()
17248 json.WriteNumber(budget[heapIndex].blockBytes); in vmaBuildStatsString()
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp3216 deUint32 blockBytes; member
3370 return compressedFormatParameters[formatNdx].blockBytes; in getBlockSizeInBytes()