Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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
/third_party/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()
/third_party/flutter/skia/src/gpu/vk/
DGrVkUniformHandler.cpp185 uint32_t alignmentMask = grsltype_to_alignment_mask(type); in get_ubo_aligned_offset() local
188 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()
DGrVkGpu.cpp746 const size_t alignmentMask = 0x3 | (bpp - 1); in uploadTexDataOptimal() local
753 const size_t alignmentDiff = combinedBufferSize & alignmentMask; in uploadTexDataOptimal()
755 combinedBufferSize += alignmentMask - alignmentDiff + 1; in uploadTexDataOptimal()
/third_party/skia/src/gpu/
DGrSPIRVUniformHandler.cpp165 uint32_t alignmentMask = grsltype_to_alignment_mask(type); in get_ubo_offset() local
168 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()
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnUniformHandler.cpp181 uint32_t alignmentMask = grsltype_to_alignment_mask(type); in get_ubo_offset() local
184 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()
/third_party/skia/src/gpu/vk/
DGrVkUniformHandler.cpp168 uint32_t alignmentMask = grsltype_to_alignment_mask(type); in get_aligned_offset() local
171 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()
/third_party/skia/experimental/graphite/src/
DUniformManager.cpp443 uint32_t alignmentMask = sltype_to_alignment_mask(type); in get_ubo_aligned_offset() local
444 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()
/third_party/skia/src/gpu/mtl/
DGrMtlUniformHandler.mm161 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;
DGrMtlGpu.mm443 const size_t alignmentMask = 0x3 | (bpp - 1);
447 const size_t alignmentDiff = combinedBufferSize & alignmentMask;
449 combinedBufferSize += alignmentMask - alignmentDiff + 1;
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlUniformHandler.mm185 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;
DGrMtlGpu.mm315 const size_t alignmentMask = 0x3 | (bpp - 1);
319 const size_t alignmentDiff = combinedBufferSize & alignmentMask;
321 combinedBufferSize += alignmentMask - alignmentDiff + 1;
/third_party/glslang/glslang/Include/
DPoolAlloc.h232 size_t alignmentMask; in initializeAllocation() variable