Searched refs:verticesPerPrimitive (Results 1 – 12 of 12) sorted by relevance
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | IndexDataManager.cpp | 99 GLsizei verticesPerPrimitive = (mode == GL_TRIANGLES) ? 3 : ((mode == GL_LINES) ? 2 : 1); in copyIndices() local 103 size_t numBytes = (numIndices / verticesPerPrimitive) * verticesPerPrimitive * bytesPerIndex; in copyIndices()
|
D | utilities.cpp | 2301 …tCount, GLenum elementType, sw::DrawType &drawType, int &primitiveCount, int &verticesPerPrimitive) in ConvertPrimitiveType() argument 2308 verticesPerPrimitive = 1; in ConvertPrimitiveType() 2313 verticesPerPrimitive = 2; in ConvertPrimitiveType() 2318 verticesPerPrimitive = 2; in ConvertPrimitiveType() 2323 verticesPerPrimitive = 2; in ConvertPrimitiveType() 2328 verticesPerPrimitive = 3; in ConvertPrimitiveType() 2333 verticesPerPrimitive = 3; in ConvertPrimitiveType() 2338 verticesPerPrimitive = 3; in ConvertPrimitiveType()
|
D | utilities.h | 106 …GLenum elementType, sw::DrawType &swPrimitiveType, int &primitiveCount, int &verticesPerPrimitive);
|
D | Context.cpp | 3575 int verticesPerPrimitive; in drawArrays() local 3577 …w::ConvertPrimitiveType(mode, count, GL_NONE, primitiveType, primitiveCount, verticesPerPrimitive)) in drawArrays() 3614 transformFeedback->addVertexOffset(primitiveCount * verticesPerPrimitive); in drawArrays() 3661 int verticesPerPrimitive; in drawElements() local 3663 …nvertPrimitiveType(internalMode, count, type, primitiveType, primitiveCount, verticesPerPrimitive)) in drawElements() 3708 transformFeedback->addVertexOffset(indexInfo.primitiveCount * verticesPerPrimitive); in drawElements()
|
/external/deqp/modules/gles3/functional/ |
D | es3fOcclusionQueryTests.cpp | 119 …r<float>& dst, float width, float height, int primitiveCount, int verticesPerPrimitive, de::Random… in generateVertices() argument 125 int vertexCount = verticesPerPrimitive * primitiveCount; in generateVertices() 133 …for (int j = 0; j < verticesPerPrimitive; j++) // Second loop gets 3 random points within given di… in generateVertices()
|
/external/swiftshader/src/Device/ |
D | VertexProcessor.hpp | 61 unsigned char verticesPerPrimitive : 2; // 1 (points), 2 (lines) or 3 (triangles) member
|
D | VertexProcessor.cpp | 408 state.verticesPerPrimitive = 1 + (type >= DRAW_LINELIST) + (type >= DRAW_TRIANGLELIST); in update()
|
/external/swiftshader/tests/fuzzers/ |
D | VertexRoutineFuzzer.cpp | 148 state.verticesPerPrimitive = 1 + ((data[0] & 0x20) != 0) + ((data[0] & 0x40) != 0); in LLVMFuzzerTestOneInput()
|
/external/swiftshader/src/Renderer/ |
D | VertexProcessor.hpp | 79 unsigned char verticesPerPrimitive : 2; // 1 (points), 2 (lines) or 3 (triangles) member
|
D | VertexProcessor.cpp | 981 state.verticesPerPrimitive = 1 + (type >= DRAW_LINELIST) + (type >= DRAW_TRIANGLELIST); in update()
|
/external/swiftshader/src/Pipeline/ |
D | VertexRoutine.cpp | 725 If(indexInPrimitive < state.verticesPerPrimitive) in transformFeedback() 727 UInt tOffset = primitiveNumber * state.verticesPerPrimitive + indexInPrimitive; in transformFeedback()
|
/external/swiftshader/src/Shader/ |
D | VertexRoutine.cpp | 757 If(indexInPrimitive < state.verticesPerPrimitive) in transformFeedback() 759 UInt tOffset = primitiveNumber * state.verticesPerPrimitive + indexInPrimitive; in transformFeedback()
|