Searched refs:primType (Results 1 - 13 of 13) sorted by relevance

/external/deqp/modules/gles31/functional/
H A Des31fShaderHelperInvocationTests.cpp71 static int getNumVerticesPerPrimitive (PrimitiveType primType) argument
73 switch (primType)
86 static glu::PrimitiveType getGluPrimitiveType (PrimitiveType primType) argument
88 switch (primType)
101 static void genVertices (PrimitiveType primType, int numPrimitives, de::Random* rnd, vector<Vec2>* dst) argument
103 const bool isTri = primType == PRIMITIVETYPE_TRIANGLE;
106 const int numVerticesPerPrimitive = getNumVerticesPerPrimitive(primType);
162 static void drawRandomPrimitives (const glu::RenderContext& renderCtx, deUint32 program, PrimitiveType primType, int numPrimitives, de::Random* rnd) argument
172 genVertices(primType, numPrimitives, rnd, &vertices);
179 if (primType
314 HelperInvocationValueCase(Context& context, const char* name, const char* description, PrimitiveType primType, int numSamples) argument
472 HelperInvocationDerivateCase(Context& context, const char* name, const char* description, PrimitiveType primType, int numSamples, const char* derivateFunc, bool checkAbsoluteValue) argument
671 PrimitiveType primType; member in struct:deqp::gles31::Functional::__anon3677
703 const PrimitiveType primType = s_primTypes[primTypeNdx].primType; local
721 const PrimitiveType primType = s_primTypes[primTypeNdx].primType; local
[all...]
H A Des31fTessellationTests.cpp474 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, SpacingMode spacing, Winding winding, bool usePointMode=false)
476 return string() + "layout (" + getTessPrimitiveTypeShaderName(primType)
483 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, SpacingMode spacing, bool usePointMode=false)
485 return string() + "layout (" + getTessPrimitiveTypeShaderName(primType)
491 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, Winding winding, bool usePointMode=false)
493 return string() + "layout (" + getTessPrimitiveTypeShaderName(primType)
499 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, bool usePointMode=false)
501 return string() + "layout (" + getTessPrimitiveTypeShaderName(primType)
524 static inline int numInnerTessellationLevels (TessPrimitiveType primType)
526 switch (primType)
[all...]
/external/skia/src/gpu/
H A DGrVertices.h49 void init(GrPrimitiveType primType, const GrVertexBuffer* vertexBuffer, int startVertex, argument
54 fPrimitiveType = primType;
67 void initIndexed(GrPrimitiveType primType, argument
80 fPrimitiveType = primType;
97 void initInstanced(GrPrimitiveType primType, argument
111 fPrimitiveType = primType;
H A DGrBatch.cpp49 void* GrBatch::InstancedHelper::init(GrBatchTarget* batchTarget, GrPrimitiveType primType, argument
70 fVertices.initInstanced(primType, vertexBuffer, indexBuffer,
H A DGrContext.cpp480 GrPrimitiveType primType; variable
483 primType = kTriangleStrip_GrPrimitiveType;
488 primType = kLineStrip_GrPrimitiveType;
497 vertices.init(primType, vertexBuffer, firstVertex, vertexCount);
H A DSkGpuDevice.cpp1780 GrPrimitiveType primType; local
1798 primType = kLines_GrPrimitiveType;
1832 primType = gVertexMode2PrimitiveType[vmode];
1875 primType,
/external/deqp/modules/gles3/functional/
H A Des3fPrimitiveRestartTests.cpp91 PrimitiveRestartCase (Context& context, const char* name, const char* description, PrimitiveType primType, IndexType indexType, Function function, bool beginWithRestart, bool endWithRestart, bool duplicateRestarts);
131 PrimitiveRestartCase::PrimitiveRestartCase (Context& context, const char* name, const char* description, PrimitiveType primType, IndexType indexType, Function function, bool beginWithRestart, bool endWithRestart, bool duplicateRestarts) argument
133 , m_primType (primType)
658 for (int primType = 0; primType < (int)PrimitiveRestartCase::PRIMITIVE_LAST; primType++)
660 const char* primTypeName = primType == (int)PrimitiveRestartCase::PRIMITIVE_POINTS ? "points"
661 : primType == (int)PrimitiveRestartCase::PRIMITIVE_LINE_STRIP ? "line_strip"
662 : primType == (int)PrimitiveRestartCase::PRIMITIVE_LINE_LOOP ? "line_loop"
663 : primType
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_draw_elements.c143 range.primType = hw_prim;
H A Dsvga_draw_arrays.c199 range.primType = hw_prim;
H A Dsvga_draw.c394 switch (range->primType) {
/external/skia/tests/
H A DClipStackTest.cpp188 static void test_bounds(skiatest::Reporter* reporter, SkClipStack::Element::Type primType) { argument
247 int numBitTests = SkClipStack::Element::kPath_Type == primType ? 4 : 1;
260 switch (primType) {
284 if (SkClipStack::Element::kRect_Type == primType) {
/external/mesa3d/src/gallium/drivers/svga/include/
H A Dsvga3d_reg.h1493 SVGA3dPrimitiveType primType; member in struct:__anon12270
/external/mesa3d/src/gallium/drivers/svga/svgadump/
H A Dsvga_dump.c1031 switch((*cmd).primType) {
1033 _debug_printf("\t\t.primType = SVGA3D_PRIMITIVE_INVALID\n");
1036 _debug_printf("\t\t.primType = SVGA3D_PRIMITIVE_TRIANGLELIST\n");
1039 _debug_printf("\t\t.primType = SVGA3D_PRIMITIVE_POINTLIST\n");
1042 _debug_printf("\t\t.primType = SVGA3D_PRIMITIVE_LINELIST\n");
1045 _debug_printf("\t\t.primType = SVGA3D_PRIMITIVE_LINESTRIP\n");
1048 _debug_printf("\t\t.primType = SVGA3D_PRIMITIVE_TRIANGLESTRIP\n");
1051 _debug_printf("\t\t.primType = SVGA3D_PRIMITIVE_TRIANGLEFAN\n");
1054 _debug_printf("\t\t.primType = SVGA3D_PRIMITIVE_MAX\n");
1057 _debug_printf("\t\t.primType
[all...]

Completed in 5132 milliseconds