Searched refs:alignedOffset (Results 1 – 10 of 10) sorted by relevance
37 uint64_t alignedOffset, in OffsetToFirstCopiedTexel() argument40 return alignedOffset + bufferOffset.x * blockInfo.byteSize / blockInfo.width + in OffsetToFirstCopiedTexel()65 uint64_t alignedOffset = AlignDownForDataPlacement(offset); in Compute2DTextureCopySubresource() local69 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 …]
34 uint64_t alignedOffset = 0; member
165 const uint64_t offsetBytes = info.alignedOffset + baseOffset; in RecordCopyBufferToTextureFromTextureCopySplit()283 const uint64_t offsetBytes = info.alignedOffset + baseOffset; in RecordCopyTextureToBufferFromTextureCopySplit()
115 intptr_t alignedOffset = (intptr_t)p - (intptr_t)block; in release() local116 SkASSERT(p == block->ptr(alignedOffset)); in release()119 memset(p, 0xDD, header->fEnd - alignedOffset); in release()
217 uintptr_t alignedOffset = (~reinterpret_cast<uintptr_t>(fCursor) + 1) & mask; in allocObject() local218 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()
93 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
92 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()
836 size_t alignedOffset = offset - offsetModulo;840 alignedOffset = alignedOffset << 1;855 *idxBufferOffsetOut = conversion->convertedOffset + alignedOffset;876 *idxBufferOffsetOut = conversion->convertedOffset + alignedOffset;
799 VkDeviceSize alignedOffset = (offset / requiredOffsetAlignment) * requiredOffsetAlignment; in WriteBufferDescriptorSetBinding() local800 VkDeviceSize offsetDiff = offset - alignedOffset; in WriteBufferDescriptorSetBinding()802 offset = alignedOffset; in WriteBufferDescriptorSetBinding()
4964 VkDeviceSize alignedOffset = (offset / offsetAlignment) * offsetAlignment; in writeAtomicCounterBufferDriverUniformOffsets() local4967 ASSERT((offset - alignedOffset) % sizeof(uint32_t) == 0); in writeAtomicCounterBufferDriverUniformOffsets()4968 offsetDiff = static_cast<uint32_t>((offset - alignedOffset) / sizeof(uint32_t)); in writeAtomicCounterBufferDriverUniformOffsets()