Home
last modified time | relevance | path

Searched refs:bytesPerIndex (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/src/OpenGL/libGLESv2/
DIndexDataManager.cpp74 size_t bytesPerIndex = 0; in copyIndices() local
80 bytesPerIndex = sizeof(GLubyte); in copyIndices()
83 bytesPerIndex = sizeof(GLuint); in copyIndices()
86 bytesPerIndex = sizeof(GLushort); in copyIndices()
103 size_t numBytes = (numIndices / verticesPerPrimitive) * verticesPerPrimitive * bytesPerIndex; in copyIndices()
109 inPtr += (numIndices + 1) * bytesPerIndex; in copyIndices()
120 memcpy(outPtr, inPtr, bytesPerIndex); in copyIndices()
121 outPtr += bytesPerIndex; in copyIndices()
122 memcpy(outPtr, inPtr + ((tri + 1) * bytesPerIndex), bytesPerIndex + bytesPerIndex); in copyIndices()
123 outPtr += bytesPerIndex + bytesPerIndex; in copyIndices()
[all …]
/external/swiftshader/src/Device/
DContext.hpp46 int bytesPerIndex() const;
DContext.cpp96 int IndexBuffer::bytesPerIndex() const in bytesPerIndex() function in vk::IndexBuffer
112 void *indexBuffer = binding.buffer->getOffsetPointer(binding.offset + first * bytesPerIndex()); in getIndexBuffers()