Home
last modified time | relevance | path

Searched refs:alignedSize (Results 1 - 8 of 8) sorted by relevance

/third_party/skia/src/core/
H A DSkWriter32.h170 size_t alignedSize = SkAlign4(size); in reservePad() local
171 uint32_t* p = this->reserve(alignedSize); in reservePad()
172 if (alignedSize != size) { in reservePad()
173 SkASSERT(alignedSize >= 4); in reservePad()
174 p[alignedSize / 4 - 1] = 0; in reservePad()
/third_party/skia/src/gpu/
H A DGrBufferAllocPool.cpp203 size_t alignedSize = safeMath.add(pad, size); in makeSpace() local
207 if (alignedSize <= back.fBytesFree) { in makeSpace()
212 back.fBytesFree -= alignedSize; in makeSpace()
213 fBytesInUse += alignedSize; in makeSpace()
/third_party/skia/third_party/externals/angle2/src/common/
H A DFastVector.h609 size_t alignedSize = rx::roundUpPow2(newSize, kWindowSize); in reserve() local
610 size_t count = alignedSize >> kShiftForDivision; in reserve()
685 size_t alignedSize = rx::roundUpPow2(newSize, FastIntegerSet::kWindowSize); in reserve() local
686 mValueData.resize(alignedSize); in reserve()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DBufferVk.cpp139 const size_t alignedSize = roundUp(dataSize, *alignmentOut); in GetPreferredDynamicBufferInitialSize() local
140 const size_t suballocationCount = kDynamicBufferMaxSize / alignedSize; in GetPreferredDynamicBufferInitialSize()
141 const size_t initialSize = isDynamic ? alignedSize * suballocationCount : 0; in GetPreferredDynamicBufferInitialSize()
H A DSecondaryCommandBuffer.h802 const size_t alignedSize = roundUpPow2<size_t>(requiredSize, 4); in initCommand() local
803 ASSERT((alignedSize % 4) == 0); in initCommand()
804 allocateNewBlock(alignedSize); in initCommand()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
H A DvktRayTracingDataSpillTests.cpp2396 const auto alignedSize = de::roundUp(shaderGroupHandleSize + kShaderRecordSize, shaderGroupHandleSize); in createSBTWithShaderRecord() local
2398 shaderBindingTableRegion = makeStridedDeviceAddressRegionKHR(getBufferDeviceAddress(vkd, device, shaderBindingTable->get(), 0), alignedSize, groupCount * alignedSize); in createSBTWithShaderRecord()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A DvktRayTracingDataSpillTests.cpp2396 const auto alignedSize = de::roundUp(shaderGroupHandleSize + kShaderRecordSize, shaderGroupHandleSize); in createSBTWithShaderRecord() local
2398 shaderBindingTableRegion = makeStridedDeviceAddressRegionKHR(getBufferDeviceAddress(vkd, device, shaderBindingTable->get(), 0), alignedSize, groupCount * alignedSize); in createSBTWithShaderRecord()
/third_party/mesa3d/src/amd/addrlib/src/core/
H A Daddrlib1.cpp3582 UINT_64 alignedSize = alignedPitch * alignedHeight; in DegradeTo1D() local
3584 // alignedSize > 1.5 * unalignedSize in DegradeTo1D()
3585 if (2 * alignedSize > 3 * unalignedSize) in DegradeTo1D()

Completed in 24 milliseconds