Home
last modified time | relevance | path

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

/external/deqp/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()
/external/skia/tests/
DTransferPixelsTest.cpp313 size_t offsetAlignment = allowedRead.fOffsetAlignmentForTransferBuffer; in basic_transfer_from_test() local
314 SkASSERT(offsetAlignment); in basic_transfer_from_test()
320 (offsetAlignment - kStartingOffset%offsetAlignment)%offsetAlignment; in basic_transfer_from_test()
/external/angle/src/libANGLE/renderer/vulkan/
DTransformFeedbackVk.cpp124 const VkDeviceSize offsetAlignment = in begin() local
133 (mBufferOffsets[bufferIndex] / offsetAlignment) * offsetAlignment; in begin()
DContextVk.cpp4659 const VkDeviceSize offsetAlignment = in writeAtomicCounterBufferDriverUniformOffsets() local
4674 VkDeviceSize alignedOffset = (offset / offsetAlignment) * offsetAlignment; in writeAtomicCounterBufferDriverUniformOffsets()
/external/skia/src/gpu/d3d/
DGrD3DCaps.cpp894 size_t offsetAlignment = GrAlignTo(GrDxgiFormatBytesPerBlock(dxgiFormat), in supportedWritePixelsColorType() local
901 return { surfaceColorType, offsetAlignment }; in supportedWritePixelsColorType()
1023 size_t offsetAlignment = D3D12_TEXTURE_DATA_PITCH_ALIGNMENT; in onSupportedReadPixelsColorType() local
1029 return { srcColorType, offsetAlignment }; in onSupportedReadPixelsColorType()
/external/skia/src/gpu/vk/
DGrVkCaps.cpp1537 size_t offsetAlignment = align_to_4(GrVkFormatBytesPerBlock(vkFormat)); in supportedWritePixelsColorType() local
1543 return {ctInfo.fTransferColorType, offsetAlignment}; in supportedWritePixelsColorType()
1738 size_t offsetAlignment = align_to_4(GrVkFormatBytesPerBlock(vkFormat)); in onSupportedReadPixelsColorType() local
1744 return {ctInfo.fTransferColorType, offsetAlignment}; in onSupportedReadPixelsColorType()
/external/skia/src/gpu/mtl/
DGrMtlCaps.mm1044 size_t offsetAlignment = GrColorTypeBytesPerPixel(surfaceColorType);
1050 return {surfaceColorType, offsetAlignment};
1072 size_t offsetAlignment = GrColorTypeBytesPerPixel(srcColorType);
1079 return {srcColorType, offsetAlignment};