Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/
Drenderer_utils.h272 inline uint32_t GetLineLoopWithRestartIndexCount(gl::DrawElementsType glIndexType, in GetLineLoopWithRestartIndexCount() argument
276 switch (glIndexType) in GetLineLoopWithRestartIndexCount()
/external/angle/src/libANGLE/renderer/vulkan/
DVertexArrayVk.h58 gl::DrawElementsType glIndexType,
Dvk_helpers.cpp346 gl::DrawElementsType glIndexType, in HandlePrimitiveRestart() argument
351 switch (glIndexType) in HandlePrimitiveRestart()
1440 gl::DrawElementsType glIndexType, in getIndexBufferForElementArrayBuffer() argument
1447 if (glIndexType == gl::DrawElementsType::UnsignedByte || in getIndexBufferForElementArrayBuffer()
1454 ANGLE_TRY(streamIndices(contextVk, glIndexType, indexCount, in getIndexBufferForElementArrayBuffer()
1464 size_t unitSize = contextVk->getVkIndexTypeSize(glIndexType); in getIndexBufferForElementArrayBuffer()
1489 gl::DrawElementsType glIndexType, in streamIndices() argument
1496 size_t unitSize = contextVk->getVkIndexTypeSize(glIndexType); in streamIndices()
1503 numOutIndices = GetLineLoopWithRestartIndexCount(glIndexType, indexCount, srcPtr); in streamIndices()
1514 HandlePrimitiveRestart(contextVk, glIndexType, indexCount, srcPtr, indices); in streamIndices()
[all …]
Dvk_helpers.h495 gl::DrawElementsType glIndexType,
503 gl::DrawElementsType glIndexType,
511 gl::DrawElementsType glIndexType,
DContextVk.h674 VkIndexType getVkIndexType(gl::DrawElementsType glIndexType) const;
675 size_t getVkIndexTypeSize(gl::DrawElementsType glIndexType) const;
676 bool shouldConvertUint8VkIndexType(gl::DrawElementsType glIndexType) const;
DVertexArrayVk.cpp241 gl::DrawElementsType glIndexType, in handleLineLoopIndexIndirect() argument
248 contextVk, glIndexType, mCurrentElementArrayBuffer, srcIndirectBuf, indirectBufferOffset, in handleLineLoopIndexIndirect()
DContextVk.cpp4347 VkIndexType ContextVk::getVkIndexType(gl::DrawElementsType glIndexType) const in getVkIndexType()
4349 return mIndexTypeMap[glIndexType]; in getVkIndexType()
4352 size_t ContextVk::getVkIndexTypeSize(gl::DrawElementsType glIndexType) const in getVkIndexTypeSize()
4354 gl::DrawElementsType elementsType = shouldConvertUint8VkIndexType(glIndexType) in getVkIndexTypeSize()
4356 : glIndexType; in getVkIndexTypeSize()
4363 bool ContextVk::shouldConvertUint8VkIndexType(gl::DrawElementsType glIndexType) const in shouldConvertUint8VkIndexType()
4365 return (glIndexType == gl::DrawElementsType::UnsignedByte && in shouldConvertUint8VkIndexType()