/external/deqp/modules/gles31/functional/ |
D | es31fShaderHelperInvocationTests.cpp | 71 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 …]
|
D | es31fTessellationTests.cpp | 474 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/ |
D | GrVertices.h | 49 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()
|
D | SkGpuDevice.cpp | 1671 GrPrimitiveType primType = gVertexMode2PrimitiveType[vmode]; in drawVertices() local 1724 primType, in drawVertices()
|
/external/deqp/modules/gles3/functional/ |
D | es3fPrimitiveRestartTests.cpp | 91 …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/ |
D | GrNonAAStrokeRectBatch.cpp | 146 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()
|
D | GrVertexBatch.cpp | 19 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/ |
D | svga_draw_elements.c | 143 range.primType = hw_prim; in svga_hwtnl_simple_draw_range_elements()
|
D | svga_draw_arrays.c | 199 range.primType = hw_prim; in simple_draw_arrays()
|
D | svga_draw.c | 394 switch (range->primType) { in svga_hwtnl_prim()
|
/external/skia/tests/ |
D | ClipStackTest.cpp | 188 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/ |
D | svga_dump.c | 1031 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/ |
D | svga3d_reg.h | 1493 SVGA3dPrimitiveType primType; member
|