Home
last modified time | relevance | path

Searched refs:offsetAlignment (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DDynamicUploader.cpp117 uint64_t offsetAlignment) { in Allocate() argument
118 ASSERT(offsetAlignment > 0); in Allocate()
121 AllocateInternal(allocationSize + offsetAlignment - 1, serial)); in Allocate()
123 Align(uploadHandle.startOffset, offsetAlignment) - uploadHandle.startOffset; in Allocate()
DQueue.cpp98 uint64_t offsetAlignment = in UploadTextureDataAligningBytesPerRowAndOffset() local
105 offsetAlignment = std::max(offsetAlignment, kOffsetAlignmentForDepthStencil); in UploadTextureDataAligningBytesPerRowAndOffset()
111 offsetAlignment)); in UploadTextureDataAligningBytesPerRowAndOffset()
DDynamicUploader.h46 uint64_t offsetAlignment);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DTransformFeedbackVk.cpp80 const VkDeviceSize offsetAlignment = in bindIndexedBuffer() local
91 (mBoundBufferRanges[index].offset / offsetAlignment) * offsetAlignment; in bindIndexedBuffer()
DContextVk.cpp2261 const VkDeviceSize offsetAlignment = in writeAtomicCounterBufferDriverUniformOffsets() local
2276 VkDeviceSize alignedOffset = (offset / offsetAlignment) * offsetAlignment; in writeAtomicCounterBufferDriverUniformOffsets()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferTextureBufferRange.hpp145 FormatInfo(glw::GLenum internalFormat, glw::GLuint offsetAlignment);
202 glw::GLuint countAlignedSize(glw::GLuint offsetAlignment, glw::GLuint totalSize);
DesextcTextureBufferTextureBufferRange.cpp63 FormatInfo::FormatInfo(glw::GLenum internalFormat, glw::GLuint offsetAlignment) in FormatInfo() argument
68 , m_offset_alignment(offsetAlignment) in FormatInfo()
546 glw::GLuint FormatInfo::countAlignedSize(glw::GLuint offsetAlignment, glw::GLuint totalSize) in countAlignedSize() argument
548 if (totalSize > offsetAlignment) in countAlignedSize()
550 glw::GLuint rest = totalSize % offsetAlignment; in countAlignedSize()
555 return totalSize + offsetAlignment - rest; in countAlignedSize()
559 return offsetAlignment; in countAlignedSize()
/third_party/skia/tests/
DTransferPixelsTest.cpp346 size_t offsetAlignment = allowedRead.fOffsetAlignmentForTransferBuffer; in basic_transfer_from_test() local
347 SkASSERT(offsetAlignment); in basic_transfer_from_test()
353 (offsetAlignment - kStartingOffset%offsetAlignment)%offsetAlignment; in basic_transfer_from_test()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DTransformFeedbackVk.cpp124 const VkDeviceSize offsetAlignment = in begin() local
133 (mBufferOffsets[bufferIndex] / offsetAlignment) * offsetAlignment; in begin()
DContextVk.cpp4949 const VkDeviceSize offsetAlignment = in writeAtomicCounterBufferDriverUniformOffsets() local
4964 VkDeviceSize alignedOffset = (offset / offsetAlignment) * offsetAlignment; in writeAtomicCounterBufferDriverUniformOffsets()
/third_party/flutter/skia/tests/
DTransferPixelsTest.cpp318 size_t offsetAlignment = allowedRead.fOffsetAlignmentForTransferBuffer; in basic_transfer_from_test() local
319 SkASSERT(offsetAlignment); in basic_transfer_from_test()
323 size_t partialReadOffset = GrSizeAlignUp(11, offsetAlignment); in basic_transfer_from_test()
/third_party/skia/src/gpu/d3d/
DGrD3DCaps.cpp898 size_t offsetAlignment = SkAlignTo(GrDxgiFormatBytesPerBlock(dxgiFormat), in supportedWritePixelsColorType() local
905 return { surfaceColorType, offsetAlignment }; in supportedWritePixelsColorType()
1029 size_t offsetAlignment = D3D12_TEXTURE_DATA_PLACEMENT_ALIGNMENT; in onSupportedReadPixelsColorType() local
1035 return { srcColorType, offsetAlignment }; in onSupportedReadPixelsColorType()
/third_party/flutter/skia/src/gpu/vk/
DGrVkCaps.cpp1358 size_t offsetAlignment = align_to_4(GrVkBytesPerFormat(vkFormat)); in supportedWritePixelsColorType() local
1364 return {surfaceColorType, offsetAlignment}; in supportedWritePixelsColorType()
1654 size_t offsetAlignment = align_to_4(GrVkBytesPerFormat(vkFormat)); in onSupportedReadPixelsColorType() local
1660 return {srcColorType, offsetAlignment}; in onSupportedReadPixelsColorType()
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlCaps.mm1019 size_t offsetAlignment = GrColorTypeBytesPerPixel(surfaceColorType);
1025 return {surfaceColorType, offsetAlignment};
1038 size_t offsetAlignment = GrColorTypeBytesPerPixel(srcColorType);
1044 return {srcColorType, offsetAlignment};
/third_party/skia/src/gpu/vk/
DGrVkCaps.cpp1535 size_t offsetAlignment = align_to_4(GrVkFormatBytesPerBlock(vkFormat)); in supportedWritePixelsColorType() local
1541 return {ctInfo.fTransferColorType, offsetAlignment}; in supportedWritePixelsColorType()
1768 size_t offsetAlignment = align_to_4(GrVkFormatBytesPerBlock(vkFormat)); in onSupportedReadPixelsColorType() local
1774 return {ctInfo.fTransferColorType, offsetAlignment}; in onSupportedReadPixelsColorType()
/third_party/skia/src/gpu/mtl/
DGrMtlCaps.mm1093 size_t offsetAlignment = GrColorTypeBytesPerPixel(surfaceColorType);
1099 return {surfaceColorType, offsetAlignment};
1121 size_t offsetAlignment = GrColorTypeBytesPerPixel(srcColorType);
1128 return {srcColorType, offsetAlignment};
/third_party/skia/src/gpu/
DSurfaceContext.cpp879 auto [readCT, offsetAlignment] = in asyncRescaleAndReadPixelsYUV420()
888 !offsetAlignment; in asyncRescaleAndReadPixelsYUV420()