Home
last modified time | relevance | path

Searched refs:alignmentMask (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DPoolAlloc.cpp82 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()
DPoolAlloc.h166 size_t alignmentMask; variable
/external/deqp-deps/glslang/glslang/MachineIndependent/
DPoolAlloc.cpp104 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()
/external/skqp/src/gpu/vk/
DGrVkUniformHandler.cpp183 uint32_t alignmentMask = grsltype_to_alignment_mask(type); in get_ubo_aligned_offset() local
186 alignmentMask = 0xF; in get_ubo_aligned_offset()
188 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_aligned_offset()
190 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_aligned_offset()
DGrVkGpu.cpp652 const size_t alignmentMask = 0x3 | (bpp - 1); in uploadTexDataOptimal() local
659 const size_t alignmentDiff = combinedBufferSize & alignmentMask; in uploadTexDataOptimal()
661 combinedBufferSize += alignmentMask - alignmentDiff + 1; in uploadTexDataOptimal()
1457 const size_t alignmentMask = 0x3 | (bpp - 1); in createTestingOnlyVkImage() local
1468 const size_t alignmentDiff = combinedBufferSize & alignmentMask; in createTestingOnlyVkImage()
1470 combinedBufferSize += alignmentMask - alignmentDiff + 1; in createTestingOnlyVkImage()
/external/skia/src/gpu/vk/
DGrVkUniformHandler.cpp183 uint32_t alignmentMask = grsltype_to_alignment_mask(type); in get_ubo_aligned_offset() local
186 alignmentMask = 0xF; in get_ubo_aligned_offset()
188 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_aligned_offset()
190 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_aligned_offset()
DGrVkGpu.cpp654 const size_t alignmentMask = 0x3 | (bpp - 1); in uploadTexDataOptimal() local
661 const size_t alignmentDiff = combinedBufferSize & alignmentMask; in uploadTexDataOptimal()
663 combinedBufferSize += alignmentMask - alignmentDiff + 1; in uploadTexDataOptimal()
1469 const size_t alignmentMask = 0x3 | (bpp - 1); in createTestingOnlyVkImage() local
1480 const size_t alignmentDiff = combinedBufferSize & alignmentMask; in createTestingOnlyVkImage()
1482 combinedBufferSize += alignmentMask - alignmentDiff + 1; in createTestingOnlyVkImage()
/external/skia/src/gpu/mtl/
DGrMtlUniformHandler.mm180 uint32_t alignmentMask = grsltype_to_alignment_mask(type);
181 if (alignmentMask > *maxAlignment) {
182 *maxAlignment = alignmentMask;
184 uint32_t offsetDiff = *currentOffset & alignmentMask;
186 offsetDiff = alignmentMask - offsetDiff + 1;
DGrMtlGpu.mm197 const size_t alignmentMask = 0x3 | (bpp - 1);
204 const size_t alignmentDiff = combinedBufferSize & alignmentMask;
206 combinedBufferSize += alignmentMask - alignmentDiff + 1;
/external/skqp/src/gpu/mtl/
DGrMtlUniformHandler.mm179 uint32_t alignmentMask = grsltype_to_alignment_mask(type);
180 uint32_t offsetDiff = *currentOffset & alignmentMask;
182 offsetDiff = alignmentMask - offsetDiff + 1;
/external/deqp-deps/glslang/glslang/Include/
DPoolAlloc.h232 size_t alignmentMask; in initializeAllocation() variable