/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 | 476 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, SpacingMo… in getTessellationEvaluationInLayoutString() argument 478 return string() + "layout (" + getTessPrimitiveTypeShaderName(primType) in getTessellationEvaluationInLayoutString() 485 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, SpacingMo… in getTessellationEvaluationInLayoutString() argument 487 return string() + "layout (" + getTessPrimitiveTypeShaderName(primType) in getTessellationEvaluationInLayoutString() 493 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, Winding w… in getTessellationEvaluationInLayoutString() argument 495 return string() + "layout (" + getTessPrimitiveTypeShaderName(primType) in getTessellationEvaluationInLayoutString() 501 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, bool useP… in getTessellationEvaluationInLayoutString() argument 503 return string() + "layout (" + getTessPrimitiveTypeShaderName(primType) in getTessellationEvaluationInLayoutString() 526 static inline int numInnerTessellationLevels (TessPrimitiveType primType) in numInnerTessellationLevels() argument 528 switch (primType) in numInnerTessellationLevels() [all …]
|
/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/skqp/src/gpu/vk/ |
D | GrVkGpuCommandBuffer.h | 104 void sendMeshToGpu(const GrPrimitiveProcessor& primProc, GrPrimitiveType primType, in sendMeshToGpu() argument 106 this->sendInstancedMeshToGpu(primProc, primType, vertexBuffer, vertexCount, baseVertex, in sendMeshToGpu() 110 void sendIndexedMeshToGpu(const GrPrimitiveProcessor& primProc, GrPrimitiveType primType, in sendIndexedMeshToGpu() argument 114 this->sendIndexedInstancedMeshToGpu(primProc, primType, indexBuffer, indexCount, baseIndex, in sendIndexedMeshToGpu()
|
/external/skia/src/gpu/vk/ |
D | GrVkGpuCommandBuffer.h | 104 void sendMeshToGpu(const GrPrimitiveProcessor& primProc, GrPrimitiveType primType, in sendMeshToGpu() argument 106 this->sendInstancedMeshToGpu(primProc, primType, vertexBuffer, vertexCount, baseVertex, in sendMeshToGpu() 110 void sendIndexedMeshToGpu(const GrPrimitiveProcessor& primProc, GrPrimitiveType primType, in sendIndexedMeshToGpu() argument 114 this->sendIndexedInstancedMeshToGpu(primProc, primType, indexBuffer, indexCount, baseIndex, in sendIndexedMeshToGpu()
|
/external/skia/src/gpu/ops/ |
D | GrNonAAStrokeRectOp.cpp | 173 GrPrimitiveType primType; in onPrepareDraws() local 175 primType = GrPrimitiveType::kTriangleStrip; in onPrepareDraws() 179 primType = GrPrimitiveType::kLineStrip; in onPrepareDraws() 187 GrMesh mesh(primType); in onPrepareDraws()
|
D | GrDrawVerticesOp.cpp | 21 GrPrimitiveType primType = overridePrimType ? *overridePrimType in Make() local 23 return Helper::FactoryHelper<GrDrawVerticesOp>(std::move(paint), std::move(vertices), primType, in Make()
|
/external/skqp/src/gpu/ops/ |
D | GrNonAAStrokeRectOp.cpp | 173 GrPrimitiveType primType; in onPrepareDraws() local 175 primType = GrPrimitiveType::kTriangleStrip; in onPrepareDraws() 179 primType = GrPrimitiveType::kLineStrip; in onPrepareDraws() 187 GrMesh mesh(primType); in onPrepareDraws()
|
D | GrDrawVerticesOp.cpp | 21 GrPrimitiveType primType = overridePrimType ? *overridePrimType in Make() local 23 return Helper::FactoryHelper<GrDrawVerticesOp>(std::move(paint), std::move(vertices), primType, in Make()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_draw.c | 623 if (svga->state.hw_draw.topology != range->primType) { in draw_vgpu10() 624 ret = SVGA3D_vgpu10_SetTopology(svga->swc, range->primType); in draw_vgpu10() 628 svga->state.hw_draw.topology = range->primType; in draw_vgpu10() 874 switch (range->primType) { in check_draw_params()
|
D | svga_draw_elements.c | 168 range.primType = hw_prim; in svga_hwtnl_simple_draw_range_elements()
|
D | svga_draw_arrays.c | 188 range.primType = hw_prim; in simple_draw_arrays()
|
D | svga_tgsi_vgpu10.c | 1878 static const VGPU10_PRIMITIVE primType[] = { in emit_vgpu10_property() local 1925 assert(prop->u[0].Data < ARRAY_SIZE(primType)); in emit_vgpu10_property() 1926 emit->gs.prim_type = primType[prop->u[0].Data]; in emit_vgpu10_property()
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationUtil.cpp | 823 int numOuterTessellationLevels (const TessPrimitiveType primType) in numOuterTessellationLevels() argument 825 switch (primType) in numOuterTessellationLevels()
|
D | vktTessellationInvarianceTests.cpp | 429 std::vector<OuterEdgeDescription> outerEdgeDescriptions (const TessPrimitiveType primType) in outerEdgeDescriptions() argument 451 switch (primType) in outerEdgeDescriptions()
|
/external/skqp/tests/ |
D | ClipStackTest.cpp | 200 SkClipStack::Element::DeviceSpaceType primType) { in test_bounds() argument 259 int numBitTests = SkClipStack::Element::DeviceSpaceType::kPath == primType ? 4 : 1; in test_bounds() 272 switch (primType) { in test_bounds() 296 if (SkClipStack::Element::DeviceSpaceType::kRect == primType) { in test_bounds()
|
/external/skia/tests/ |
D | ClipStackTest.cpp | 200 SkClipStack::Element::DeviceSpaceType primType) { in test_bounds() argument 259 int numBitTests = SkClipStack::Element::DeviceSpaceType::kPath == primType ? 4 : 1; in test_bounds() 272 switch (primType) { in test_bounds() 296 if (SkClipStack::Element::DeviceSpaceType::kRect == primType) { in test_bounds()
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
D | svga3d_cmd.h | 651 SVGA3dPrimitiveType primType; member
|
/external/mesa3d/src/gallium/drivers/svga/svgadump/ |
D | svga_dump.c | 1086 switch((*cmd).primType) { in dump_SVGA3dPrimitiveRange() 1112 _debug_printf("\t\t.primType = %i\n", (*cmd).primType); in dump_SVGA3dPrimitiveRange()
|