Home
last modified time | relevance | path

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

/external/deqp/modules/gles31/functional/
Des31fShaderHelperInvocationTests.cpp71 static int getNumVerticesPerPrimitive (PrimitiveType primType) in getNumVerticesPerPrimitive() argument
73 switch (primType) in getNumVerticesPerPrimitive()
86 static glu::PrimitiveType getGluPrimitiveType (PrimitiveType primType) in getGluPrimitiveType() argument
88 switch (primType) in getGluPrimitiveType()
101 static void genVertices (PrimitiveType primType, int numPrimitives, de::Random* rnd, vector<Vec2>* … in genVertices() argument
103 const bool isTri = primType == PRIMITIVETYPE_TRIANGLE; in genVertices()
106 const int numVerticesPerPrimitive = getNumVerticesPerPrimitive(primType); in genVertices()
162 …s (const glu::RenderContext& renderCtx, deUint32 program, PrimitiveType primType, int numPrimitive… in drawRandomPrimitives() argument
172 genVertices(primType, numPrimitives, rnd, &vertices); in drawRandomPrimitives()
179 if (primType == PRIMITIVETYPE_POINT || primType == PRIMITIVETYPE_WIDE_POINT) in drawRandomPrimitives()
[all …]
Des31fTessellationTests.cpp474 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, SpacingMo… in getTessellationEvaluationInLayoutString() argument
476 return string() + "layout (" + getTessPrimitiveTypeShaderName(primType) in getTessellationEvaluationInLayoutString()
483 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, SpacingMo… in getTessellationEvaluationInLayoutString() argument
485 return string() + "layout (" + getTessPrimitiveTypeShaderName(primType) in getTessellationEvaluationInLayoutString()
491 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, Winding w… in getTessellationEvaluationInLayoutString() argument
493 return string() + "layout (" + getTessPrimitiveTypeShaderName(primType) in getTessellationEvaluationInLayoutString()
499 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, bool useP… in getTessellationEvaluationInLayoutString() argument
501 return string() + "layout (" + getTessPrimitiveTypeShaderName(primType) in getTessellationEvaluationInLayoutString()
524 static inline int numInnerTessellationLevels (TessPrimitiveType primType) in numInnerTessellationLevels() argument
526 switch (primType) in numInnerTessellationLevels()
[all …]
/external/skia/src/gpu/
DGrVertices.h49 void init(GrPrimitiveType primType, const GrVertexBuffer* vertexBuffer, int startVertex, in init() argument
54 fPrimitiveType = primType; in init()
67 void initIndexed(GrPrimitiveType primType, in initIndexed() argument
80 fPrimitiveType = primType; in initIndexed()
97 void initInstanced(GrPrimitiveType primType, in initInstanced() argument
111 fPrimitiveType = primType; in initInstanced()
DSkGpuDevice.cpp1671 GrPrimitiveType primType = gVertexMode2PrimitiveType[vmode]; in drawVertices() local
1724 primType, in drawVertices()
/external/deqp/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp91 …text& context, const char* name, const char* description, PrimitiveType primType, IndexType indexT…
131 …text& context, const char* name, const char* description, PrimitiveType primType, IndexType indexT… in PrimitiveRestartCase() argument
133 , m_primType (primType) in PrimitiveRestartCase()
658 for (int primType = 0; primType < (int)PrimitiveRestartCase::PRIMITIVE_LAST; primType++) in init() local
660 const char* primTypeName = primType == (int)PrimitiveRestartCase::PRIMITIVE_POINTS ? "points" in init()
661 : primType == (int)PrimitiveRestartCase::PRIMITIVE_LINE_STRIP ? "line_strip" in init()
662 : primType == (int)PrimitiveRestartCase::PRIMITIVE_LINE_LOOP ? "line_loop" in init()
663 : primType == (int)PrimitiveRestartCase::PRIMITIVE_LINES ? "lines" in init()
664 : primType == (int)PrimitiveRestartCase::PRIMITIVE_TRIANGLE_STRIP ? "triangle_strip" in init()
665 : primType == (int)PrimitiveRestartCase::PRIMITIVE_TRIANGLE_FAN ? "triangle_fan" in init()
[all …]
/external/skia/src/gpu/batches/
DGrNonAAStrokeRectBatch.cpp146 GrPrimitiveType primType; in onPrepareDraws() local
148 primType = kTriangleStrip_GrPrimitiveType; in onPrepareDraws()
152 primType = kLineStrip_GrPrimitiveType; in onPrepareDraws()
161 vertices.init(primType, vertexBuffer, firstVertex, vertexCount); in onPrepareDraws()
DGrVertexBatch.cpp19 void* GrVertexBatch::InstancedHelper::init(Target* target, GrPrimitiveType primType, in init() argument
39 fVertices.initInstanced(primType, vertexBuffer, indexBuffer, in init()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_elements.c143 range.primType = hw_prim; in svga_hwtnl_simple_draw_range_elements()
Dsvga_draw_arrays.c199 range.primType = hw_prim; in simple_draw_arrays()
Dsvga_draw.c394 switch (range->primType) { in svga_hwtnl_prim()
/external/skia/tests/
DClipStackTest.cpp188 static void test_bounds(skiatest::Reporter* reporter, SkClipStack::Element::Type primType) { in test_bounds() argument
247 int numBitTests = SkClipStack::Element::kPath_Type == primType ? 4 : 1; in test_bounds()
260 switch (primType) { in test_bounds()
284 if (SkClipStack::Element::kRect_Type == primType) { in test_bounds()
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.c1031 switch((*cmd).primType) { in dump_SVGA3dPrimitiveRange()
1057 _debug_printf("\t\t.primType = %i\n", (*cmd).primType); in dump_SVGA3dPrimitiveRange()
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_reg.h1493 SVGA3dPrimitiveType primType; member