Home
last modified time | relevance | path

Searched refs:offsetAlignment (Results 1 - 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DDynamicUploader.cpp117 uint64_t offsetAlignment) { in Allocate()
118 ASSERT(offsetAlignment > 0); in Allocate()
121 AllocateInternal(allocationSize + offsetAlignment - 1, serial)); in Allocate()
123 Align(uploadHandle.startOffset, offsetAlignment) - uploadHandle.startOffset; in Allocate()
115 Allocate(uint64_t allocationSize, ExecutionSerial serial, uint64_t offsetAlignment) Allocate() argument
H A DQueue.cpp98 uint64_t offsetAlignment = in UploadTextureDataAligningBytesPerRowAndOffset() local
105 offsetAlignment = std::max(offsetAlignment, kOffsetAlignmentForDepthStencil); in UploadTextureDataAligningBytesPerRowAndOffset()
111 offsetAlignment)); in UploadTextureDataAligningBytesPerRowAndOffset()
H A DDynamicUploader.h46 uint64_t offsetAlignment);
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/
H A DesextcTextureBufferTextureBufferRange.hpp145 FormatInfo(glw::GLenum internalFormat, glw::GLuint offsetAlignment);
202 glw::GLuint countAlignedSize(glw::GLuint offsetAlignment, glw::GLuint totalSize);
H A DesextcTextureBufferTextureBufferRange.cpp61 * @param offsetAlignment value of GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT
63 FormatInfo::FormatInfo(glw::GLenum internalFormat, glw::GLuint offsetAlignment) in FormatInfo() argument
68 , m_offset_alignment(offsetAlignment) in FormatInfo()
77 /** Configure test parameters according to internal format and offsetAlignment
541 * @param offsetAlignment value of GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT parameter
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()
[all...]
/third_party/skia/tests/
H A 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/
H A DTransformFeedbackVk.cpp137 const VkDeviceSize offsetAlignment = in begin() local
146 (mBufferOffsets[bufferIndex] / offsetAlignment) * offsetAlignment; in begin()
H A DContextVk.cpp4949 const VkDeviceSize offsetAlignment = in writeAtomicCounterBufferDriverUniformOffsets() local
4964 VkDeviceSize alignedOffset = (offset / offsetAlignment) * offsetAlignment; in writeAtomicCounterBufferDriverUniformOffsets()
/third_party/skia/src/gpu/d3d/
H A 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/skia/src/gpu/vk/
H A DGrVkCaps.cpp1578 size_t offsetAlignment = align_to_4(GrVkFormatBytesPerBlock(vkFormat)); in supportedWritePixelsColorType() local
1584 return {ctInfo.fTransferColorType, offsetAlignment}; in supportedWritePixelsColorType()
1826 size_t offsetAlignment = align_to_4(GrVkFormatBytesPerBlock(vkFormat)); in onSupportedReadPixelsColorType() local
1832 return {ctInfo.fTransferColorType, offsetAlignment}; in onSupportedReadPixelsColorType()
/third_party/skia/src/gpu/
H A DSurfaceContext.cpp879 auto [readCT, offsetAlignment] = in asyncRescaleAndReadPixelsYUV420()
888 !offsetAlignment; in asyncRescaleAndReadPixelsYUV420()

Completed in 23 milliseconds