Home
last modified time | relevance | path

Searched refs:offsetAlignment (Results 1 – 11 of 11) 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.cpp384 size_t offsetAlignment = allowedRead.fOffsetAlignmentForTransferBuffer; in basic_transfer_from_test() local
385 SkASSERT(offsetAlignment); in basic_transfer_from_test()
391 (offsetAlignment - kStartingOffset%offsetAlignment)%offsetAlignment; in basic_transfer_from_test()
/external/angle/src/libANGLE/renderer/vulkan/
DTransformFeedbackVk.cpp210 const VkDeviceSize offsetAlignment = contextVk->getRenderer() in getBufferOffsets() local
223 static_cast<int64_t>(mBufferOffsets[bufferIndex] % offsetAlignment); in getBufferOffsets()
DContextVk.cpp6997 const VkDeviceSize offsetAlignment = in writeAtomicCounterBufferDriverUniformOffsets() local
7012 VkDeviceSize alignedOffset = (offset / offsetAlignment) * offsetAlignment; in writeAtomicCounterBufferDriverUniformOffsets()
Dvk_cache_utils.cpp6336 VkDeviceSize offsetAlignment = in updateTransformFeedbackBuffer() local
6339 VkDeviceSize alignedOffset = (bufferOffset / offsetAlignment) * offsetAlignment; in updateTransformFeedbackBuffer()
/external/skia/src/gpu/ganesh/d3d/
DGrD3DCaps.cpp931 size_t offsetAlignment = SkAlignTo(GrDxgiFormatBytesPerBlock(dxgiFormat), in supportedWritePixelsColorType() local
938 return { surfaceColorType, offsetAlignment }; in supportedWritePixelsColorType()
1064 size_t offsetAlignment = D3D12_TEXTURE_DATA_PLACEMENT_ALIGNMENT; in onSupportedReadPixelsColorType() local
1070 return { srcColorType, offsetAlignment }; in onSupportedReadPixelsColorType()
/external/skia/src/gpu/ganesh/vk/
DGrVkCaps.cpp1711 size_t offsetAlignment = align_to_4(skgpu::VkFormatBytesPerBlock(vkFormat)); in supportedWritePixelsColorType() local
1717 return {ctInfo.fTransferColorType, offsetAlignment}; in supportedWritePixelsColorType()
1949 size_t offsetAlignment = align_to_4(skgpu::VkFormatBytesPerBlock(vkFormat)); in onSupportedReadPixelsColorType() local
1955 return {ctInfo.fTransferColorType, offsetAlignment}; in onSupportedReadPixelsColorType()
/external/skia/src/gpu/ganesh/mtl/
DGrMtlCaps.mm1171 size_t offsetAlignment = GrColorTypeBytesPerPixel(surfaceColorType);
1177 return {surfaceColorType, offsetAlignment};
1199 size_t offsetAlignment = GrColorTypeBytesPerPixel(srcColorType);
1206 return {srcColorType, offsetAlignment};
/external/skia/src/gpu/ganesh/
DSurfaceContext.cpp841 auto [readCT, offsetAlignment] = in asyncRescaleAndReadPixelsYUV420()
850 !offsetAlignment; in asyncRescaleAndReadPixelsYUV420()
/external/angle/src/tests/gl_tests/
DTextureTest.cpp15720 GLint offsetAlignment = 0; in TestInt() local
15721 glGetIntegerv(GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT, &offsetAlignment); in TestInt()
15722 ASSERT(offsetAlignment % sizeof(GLuint) == 0); in TestInt()
15723 GLint byteOffset = ((pixelSize * 2) / offsetAlignment + 1) * offsetAlignment; in TestInt()