Searched refs:offsetAlignment (Results 1 – 11 of 11) sorted by relevance
/external/deqp/external/openglcts/modules/glesext/texture_buffer/ |
D | esextcTextureBufferTextureBufferRange.hpp | 145 FormatInfo(glw::GLenum internalFormat, glw::GLuint offsetAlignment); 202 glw::GLuint countAlignedSize(glw::GLuint offsetAlignment, glw::GLuint totalSize);
|
D | esextcTextureBufferTextureBufferRange.cpp | 63 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/ |
D | TransferPixelsTest.cpp | 384 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/ |
D | TransformFeedbackVk.cpp | 210 const VkDeviceSize offsetAlignment = contextVk->getRenderer() in getBufferOffsets() local 223 static_cast<int64_t>(mBufferOffsets[bufferIndex] % offsetAlignment); in getBufferOffsets()
|
D | ContextVk.cpp | 6997 const VkDeviceSize offsetAlignment = in writeAtomicCounterBufferDriverUniformOffsets() local 7012 VkDeviceSize alignedOffset = (offset / offsetAlignment) * offsetAlignment; in writeAtomicCounterBufferDriverUniformOffsets()
|
D | vk_cache_utils.cpp | 6336 VkDeviceSize offsetAlignment = in updateTransformFeedbackBuffer() local 6339 VkDeviceSize alignedOffset = (bufferOffset / offsetAlignment) * offsetAlignment; in updateTransformFeedbackBuffer()
|
/external/skia/src/gpu/ganesh/d3d/ |
D | GrD3DCaps.cpp | 931 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/ |
D | GrVkCaps.cpp | 1711 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/ |
D | GrMtlCaps.mm | 1171 size_t offsetAlignment = GrColorTypeBytesPerPixel(surfaceColorType); 1177 return {surfaceColorType, offsetAlignment}; 1199 size_t offsetAlignment = GrColorTypeBytesPerPixel(srcColorType); 1206 return {srcColorType, offsetAlignment};
|
/external/skia/src/gpu/ganesh/ |
D | SurfaceContext.cpp | 841 auto [readCT, offsetAlignment] = in asyncRescaleAndReadPixelsYUV420() 850 !offsetAlignment; in asyncRescaleAndReadPixelsYUV420()
|
/external/angle/src/tests/gl_tests/ |
D | TextureTest.cpp | 15720 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()
|