Lines Matching refs:requiredAlignment
300 … const Type *type, uint8_t *ptr, size_t requiredAlignment) { in AllocationBuildPointerTable() argument
307 alloc->mHal.drvState.lod[0].stride = rsRound(stride, requiredAlignment); in AllocationBuildPointerTable()
331 rsRound(tx * type->getElementSizeBytes(), requiredAlignment); in AllocationBuildPointerTable()
360 static uint8_t* allocAlignedMemory(size_t allocSize, bool forceZero, size_t requiredAlignment) { in allocAlignedMemory() argument
362 uint8_t* ptr = (uint8_t *)memalign(requiredAlignment, allocSize); in allocAlignedMemory()
372 …ationInitStrided(const Context *rsc, Allocation *alloc, bool forceZero, size_t requiredAlignment) { in rsdAllocationInitStrided() argument
380 …if ((requiredAlignment & (requiredAlignment-1)) != 0 || requiredAlignment < Allocation::kMinimumRS… in rsdAllocationInitStrided()
385 … allocSize = AllocationBuildPointerTable(rsc, alloc, alloc->getType(), nullptr, requiredAlignment); in rsdAllocationInitStrided()
422 …getType()->getDimX() * alloc->getType()->getElement()->getSizeBytes()) % requiredAlignment) != 0) { in rsdAllocationInitStrided()
426 ptr = allocAlignedMemory(allocSize, forceZero, requiredAlignment); in rsdAllocationInitStrided()
438 ptr = allocAlignedMemory(allocSize, forceZero, requiredAlignment); in rsdAllocationInitStrided()
446 …e_t verifySize = AllocationBuildPointerTable(rsc, alloc, alloc->getType(), ptr, requiredAlignment); in rsdAllocationInitStrided()