Home
last modified time | relevance | path

Searched refs:glIndexType (Results 1 – 7 of 7) sorted by relevance

/external/angle/src/libANGLE/renderer/vulkan/
DVertexArrayVk.h58 gl::DrawElementsType glIndexType,
DContextVk.h577 VkIndexType getVkIndexType(gl::DrawElementsType glIndexType) const;
578 size_t getVkIndexTypeSize(gl::DrawElementsType glIndexType) const;
579 bool shouldConvertUint8VkIndexType(gl::DrawElementsType glIndexType) const;
DVertexArrayVk.cpp265 gl::DrawElementsType glIndexType, in handleLineLoopIndexIndirect() argument
272 contextVk, glIndexType, mCurrentElementArrayBuffer, mCurrentElementArrayBufferOffset, in handleLineLoopIndexIndirect()
Dvk_helpers.cpp568 gl::DrawElementsType glIndexType, in HandlePrimitiveRestart() argument
573 switch (glIndexType) in HandlePrimitiveRestart()
3142 gl::DrawElementsType glIndexType, in getIndexBufferForElementArrayBuffer() argument
3149 if (glIndexType == gl::DrawElementsType::UnsignedByte || in getIndexBufferForElementArrayBuffer()
3156 ANGLE_TRY(streamIndices(contextVk, glIndexType, indexCount, in getIndexBufferForElementArrayBuffer()
3166 size_t unitSize = contextVk->getVkIndexTypeSize(glIndexType); in getIndexBufferForElementArrayBuffer()
3202 gl::DrawElementsType glIndexType, in streamIndices() argument
3209 size_t unitSize = contextVk->getVkIndexTypeSize(glIndexType); in streamIndices()
3216 numOutIndices = GetLineLoopWithRestartIndexCount(glIndexType, indexCount, srcPtr); in streamIndices()
3227 HandlePrimitiveRestart(contextVk, glIndexType, indexCount, srcPtr, indices); in streamIndices()
[all …]
Dvk_helpers.h603 gl::DrawElementsType glIndexType,
611 gl::DrawElementsType glIndexType,
619 gl::DrawElementsType glIndexType,
DContextVk.cpp5793 VkIndexType ContextVk::getVkIndexType(gl::DrawElementsType glIndexType) const in getVkIndexType()
5795 return mIndexTypeMap[glIndexType]; in getVkIndexType()
5798 size_t ContextVk::getVkIndexTypeSize(gl::DrawElementsType glIndexType) const in getVkIndexTypeSize()
5800 gl::DrawElementsType elementsType = shouldConvertUint8VkIndexType(glIndexType) in getVkIndexTypeSize()
5802 : glIndexType; in getVkIndexTypeSize()
5809 bool ContextVk::shouldConvertUint8VkIndexType(gl::DrawElementsType glIndexType) const in shouldConvertUint8VkIndexType()
5811 return (glIndexType == gl::DrawElementsType::UnsignedByte && in shouldConvertUint8VkIndexType()
/external/angle/src/libANGLE/renderer/
Drenderer_utils.h317 inline uint32_t GetLineLoopWithRestartIndexCount(gl::DrawElementsType glIndexType, in GetLineLoopWithRestartIndexCount() argument
321 switch (glIndexType) in GetLineLoopWithRestartIndexCount()