Home
last modified time | relevance | path

Searched refs:verticesPerPrimitive (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/src/OpenGL/libGLESv2/
DIndexDataManager.cpp99 GLsizei verticesPerPrimitive = (mode == GL_TRIANGLES) ? 3 : ((mode == GL_LINES) ? 2 : 1); in copyIndices() local
103 size_t numBytes = (numIndices / verticesPerPrimitive) * verticesPerPrimitive * bytesPerIndex; in copyIndices()
Dutilities.cpp2301 …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()
Dutilities.h106 …GLenum elementType, sw::DrawType &swPrimitiveType, int &primitiveCount, int &verticesPerPrimitive);
DContext.cpp3575 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/
Des3fOcclusionQueryTests.cpp119 …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/
DVertexProcessor.hpp61 unsigned char verticesPerPrimitive : 2; // 1 (points), 2 (lines) or 3 (triangles) member
DVertexProcessor.cpp408 state.verticesPerPrimitive = 1 + (type >= DRAW_LINELIST) + (type >= DRAW_TRIANGLELIST); in update()
/external/swiftshader/tests/fuzzers/
DVertexRoutineFuzzer.cpp148 state.verticesPerPrimitive = 1 + ((data[0] & 0x20) != 0) + ((data[0] & 0x40) != 0); in LLVMFuzzerTestOneInput()
/external/swiftshader/src/Renderer/
DVertexProcessor.hpp79 unsigned char verticesPerPrimitive : 2; // 1 (points), 2 (lines) or 3 (triangles) member
DVertexProcessor.cpp981 state.verticesPerPrimitive = 1 + (type >= DRAW_LINELIST) + (type >= DRAW_TRIANGLELIST); in update()
/external/swiftshader/src/Pipeline/
DVertexRoutine.cpp725 If(indexInPrimitive < state.verticesPerPrimitive) in transformFeedback()
727 UInt tOffset = primitiveNumber * state.verticesPerPrimitive + indexInPrimitive; in transformFeedback()
/external/swiftshader/src/Shader/
DVertexRoutine.cpp757 If(indexInPrimitive < state.verticesPerPrimitive) in transformFeedback()
759 UInt tOffset = primitiveNumber * state.verticesPerPrimitive + indexInPrimitive; in transformFeedback()