Home
last modified time | relevance | path

Searched refs:alignedSize (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/src/core/
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/flutter/skia/src/core/
DSkWriter32.h176 size_t alignedSize = SkAlign4(size); in reservePad() local
177 uint32_t* p = this->reserve(alignedSize); in reservePad()
178 if (alignedSize != size) { in reservePad()
179 SkASSERT(alignedSize >= 4); in reservePad()
180 p[alignedSize / 4 - 1] = 0; in reservePad()
DSkWriter32.cpp30 size_t alignedSize = SkAlign4(len + 1); in readString() local
31 this->skip(alignedSize); in readString()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DDynamicUploader.cpp48 const size_t alignedSize = Align(size, alignment); in Allocate() local
51 UploadHandle uploadHandle = largestRingBuffer->SubAllocate(alignedSize); in Allocate()
65 uploadHandle = largestRingBuffer->SubAllocate(alignedSize); in Allocate()
/third_party/skia/src/gpu/
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/flutter/skia/src/gpu/
DGrBufferAllocPool.cpp195 size_t alignedSize = safeMath.add(pad, size); in makeSpace() local
199 if (alignedSize <= back.fBytesFree) { in makeSpace()
204 back.fBytesFree -= alignedSize; in makeSpace()
205 fBytesInUse += alignedSize; in makeSpace()
/third_party/skia/third_party/externals/angle2/src/common/
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/flutter/skia/tests/
DWriter32Test.cpp138 size_t alignedSize = SkAlign4(len + 1); in test2() local
139 for (size_t j = len; j < alignedSize; j++) { in test2()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
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()
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_no_buildgn/vulkan/ray_tracing/
DvktRayTracingDataSpillTests.cpp2396 …const auto alignedSize = de::roundUp(shaderGroupHandleSize + kShaderRecordSize, shaderGroupHandle… in createSBTWithShaderRecord() local
2398 …erDeviceAddress(vkd, device, shaderBindingTable->get(), 0), alignedSize, groupCount * alignedSize); in createSBTWithShaderRecord()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingDataSpillTests.cpp2396 …const auto alignedSize = de::roundUp(shaderGroupHandleSize + kShaderRecordSize, shaderGroupHandle… in createSBTWithShaderRecord() local
2398 …erDeviceAddress(vkd, device, shaderBindingTable->get(), 0), alignedSize, groupCount * alignedSize); in createSBTWithShaderRecord()
/third_party/mesa3d/src/amd/addrlib/src/core/
Daddrlib1.cpp3582 UINT_64 alignedSize = alignedPitch * alignedHeight; in DegradeTo1D() local
3585 if (2 * alignedSize > 3 * unalignedSize) in DegradeTo1D()