Home
last modified time | relevance | path

Searched refs:alignedOffset (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureCopySplitter.cpp37 uint64_t alignedOffset, in OffsetToFirstCopiedTexel() argument
40 return alignedOffset + bufferOffset.x * blockInfo.byteSize / blockInfo.width + in OffsetToFirstCopiedTexel()
65 uint64_t alignedOffset = AlignDownForDataPlacement(offset); in Compute2DTextureCopySubresource() local
69 if (offset == alignedOffset) { in Compute2DTextureCopySubresource()
72 copy.copies[0].alignedOffset = alignedOffset; in Compute2DTextureCopySubresource()
81 ASSERT(alignedOffset < offset); in Compute2DTextureCopySubresource()
82 ASSERT(offset - alignedOffset < D3D12_TEXTURE_DATA_PLACEMENT_ALIGNMENT); in Compute2DTextureCopySubresource()
105 blockInfo, static_cast<uint32_t>(offset - alignedOffset), bytesPerRow); in Compute2DTextureCopySubresource()
138 copy.copies[0].alignedOffset = alignedOffset; in Compute2DTextureCopySubresource()
186 copy.copies[0].alignedOffset = alignedOffset; in Compute2DTextureCopySubresource()
[all …]
DTextureCopySplitter.h34 uint64_t alignedOffset = 0; member
DUtilsD3D12.cpp165 const uint64_t offsetBytes = info.alignedOffset + baseOffset; in RecordCopyBufferToTextureFromTextureCopySplit()
283 const uint64_t offsetBytes = info.alignedOffset + baseOffset; in RecordCopyTextureToBufferFromTextureCopySplit()
/third_party/skia/src/gpu/
DGrMemoryPool.cpp115 intptr_t alignedOffset = (intptr_t)p - (intptr_t)block; in release() local
116 SkASSERT(p == block->ptr(alignedOffset)); in release()
119 memset(p, 0xDD, header->fEnd - alignedOffset); in release()
/third_party/skia/src/core/
DSkArenaAlloc.h217 uintptr_t alignedOffset = (~reinterpret_cast<uintptr_t>(fCursor) + 1) & mask; in allocObject() local
218 uintptr_t totalSize = size + alignedOffset; in allocObject()
222 alignedOffset = (~reinterpret_cast<uintptr_t>(fCursor) + 1) & mask; in allocObject()
225 char* object = fCursor + alignedOffset; in allocObject()
DSkBlockAllocator.h93 int firstAlignedOffset() const { return this->alignedOffset<Align, Padding>(kDataStart); } in firstAlignedOffset()
146 int cursor() const { return this->alignedOffset<Align, Padding>(fCursor); } in cursor()
149 int alignedOffset(int offset) const;
626 int SkBlockAllocator::Block::alignedOffset(int offset) const { in alignedOffset() function
/third_party/skia/third_party/externals/dawn/src/tests/unittests/d3d12/
DCopySplitTests.cpp92 copy.alignedOffset + in ValidateFootprints()
109 Align(copySplit.copies[i].alignedOffset, D3D12_TEXTURE_DATA_PLACEMENT_ALIGNMENT) == in ValidateOffset()
110 copySplit.copies[i].alignedOffset); in ValidateOffset()
204 copy.alignedOffset / textureSpec.texelBlockSizeInBytes * texelsPerBlock + in ValidateBufferOffset()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DVertexArrayMtl.mm836 size_t alignedOffset = offset - offsetModulo;
840 alignedOffset = alignedOffset << 1;
855 *idxBufferOffsetOut = conversion->convertedOffset + alignedOffset;
876 *idxBufferOffsetOut = conversion->convertedOffset + alignedOffset;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramExecutableVk.cpp799 VkDeviceSize alignedOffset = (offset / requiredOffsetAlignment) * requiredOffsetAlignment; in WriteBufferDescriptorSetBinding() local
800 VkDeviceSize offsetDiff = offset - alignedOffset; in WriteBufferDescriptorSetBinding()
802 offset = alignedOffset; in WriteBufferDescriptorSetBinding()
DContextVk.cpp4964 VkDeviceSize alignedOffset = (offset / offsetAlignment) * offsetAlignment; in writeAtomicCounterBufferDriverUniformOffsets() local
4967 ASSERT((offset - alignedOffset) % sizeof(uint32_t) == 0); in writeAtomicCounterBufferDriverUniformOffsets()
4968 offsetDiff = static_cast<uint32_t>((offset - alignedOffset) / sizeof(uint32_t)); in writeAtomicCounterBufferDriverUniformOffsets()