Searched refs:alignmentMask (Results 1 – 14 of 14) sorted by relevance
82 alignmentMask = a - 1; in TPoolAllocator()103 headerSkip = (sizeof(tHeader) + alignmentMask) & ~alignmentMask; in TPoolAllocator()269 currentPageOffset = (currentPageOffset + alignmentMask) & ~alignmentMask; in allocate()316 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask; in allocate()320 void *alloc = malloc(numBytes + alignmentMask); in allocate()324 intAlloc = (intAlloc + alignmentMask) & ~alignmentMask; in allocate()
166 size_t alignmentMask; variable
104 alignmentMask = a - 1; in TPoolAllocator()111 headerSkip = (sizeof(tHeader) + alignmentMask) & ~alignmentMask; in TPoolAllocator()258 currentPageOffset = (currentPageOffset + alignmentMask) & ~alignmentMask; in allocate()301 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask; in allocate()
185 uint32_t alignmentMask = grsltype_to_alignment_mask(type); in get_ubo_aligned_offset() local188 alignmentMask = 0xF; in get_ubo_aligned_offset()190 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_aligned_offset()192 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_aligned_offset()
746 const size_t alignmentMask = 0x3 | (bpp - 1); in uploadTexDataOptimal() local753 const size_t alignmentDiff = combinedBufferSize & alignmentMask; in uploadTexDataOptimal()755 combinedBufferSize += alignmentMask - alignmentDiff + 1; in uploadTexDataOptimal()
165 uint32_t alignmentMask = grsltype_to_alignment_mask(type); in get_ubo_offset() local168 alignmentMask = 0xF; in get_ubo_offset()170 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_offset()172 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_offset()
181 uint32_t alignmentMask = grsltype_to_alignment_mask(type); in get_ubo_offset() local184 alignmentMask = 0xF; in get_ubo_offset()186 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_offset()188 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_offset()
168 uint32_t alignmentMask = grsltype_to_alignment_mask(type); in get_aligned_offset() local171 alignmentMask = 0xF; in get_aligned_offset()173 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_aligned_offset()175 offsetDiff = alignmentMask - offsetDiff + 1; in get_aligned_offset()
443 uint32_t alignmentMask = sltype_to_alignment_mask(type); in get_ubo_aligned_offset() local444 if (alignmentMask > *maxAlignment) { in get_ubo_aligned_offset()445 *maxAlignment = alignmentMask; in get_ubo_aligned_offset()447 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_aligned_offset()449 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_aligned_offset()
161 uint32_t alignmentMask = grsltype_to_alignment_mask(type);162 if (alignmentMask > *maxAlignment) {163 *maxAlignment = alignmentMask;165 uint32_t offsetDiff = *currentOffset & alignmentMask;167 offsetDiff = alignmentMask - offsetDiff + 1;
443 const size_t alignmentMask = 0x3 | (bpp - 1);447 const size_t alignmentDiff = combinedBufferSize & alignmentMask;449 combinedBufferSize += alignmentMask - alignmentDiff + 1;
185 uint32_t alignmentMask = grsltype_to_alignment_mask(type);186 if (alignmentMask > *maxAlignment) {187 *maxAlignment = alignmentMask;189 uint32_t offsetDiff = *currentOffset & alignmentMask;191 offsetDiff = alignmentMask - offsetDiff + 1;
315 const size_t alignmentMask = 0x3 | (bpp - 1);319 const size_t alignmentDiff = combinedBufferSize & alignmentMask;321 combinedBufferSize += alignmentMask - alignmentDiff + 1;
232 size_t alignmentMask; in initializeAllocation() variable