Home
last modified time | relevance | path

Searched refs:alignmentMask (Results 1 - 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A 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()
[all...]
H A DPoolAlloc.h166 size_t alignmentMask; member in TPoolAllocator
/third_party/glslang/glslang/MachineIndependent/
H A DPoolAlloc.cpp98 alignmentMask = a - 1; in TPoolAllocator()
105 headerSkip = (sizeof(tHeader) + alignmentMask) & ~alignmentMask; in TPoolAllocator()
242 currentPageOffset = (currentPageOffset + alignmentMask) & ~alignmentMask; in allocate()
285 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask; in allocate()
/third_party/skia/src/gpu/vk/
H A 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/src/gpu/
H A 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/skia/experimental/graphite/src/
H A 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/glslang/glslang/Include/
H A DPoolAlloc.h237 size_t alignmentMask; in initializeAllocation() member in glslang::TPoolAllocator

Completed in 5 milliseconds