/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() 673 for (int primType = 0; primType < (int)PrimitiveRestartCase::PRIMITIVE_LAST; primType++) in init() local 675 const char* primTypeName = primType == (int)PrimitiveRestartCase::PRIMITIVE_POINTS ? "points" in init() 676 : primType == (int)PrimitiveRestartCase::PRIMITIVE_LINE_STRIP ? "line_strip" in init() 677 : primType == (int)PrimitiveRestartCase::PRIMITIVE_LINE_LOOP ? "line_loop" in init() 678 : primType == (int)PrimitiveRestartCase::PRIMITIVE_LINES ? "lines" in init() 679 : primType == (int)PrimitiveRestartCase::PRIMITIVE_TRIANGLE_STRIP ? "triangle_strip" in init() 680 : primType == (int)PrimitiveRestartCase::PRIMITIVE_TRIANGLE_FAN ? "triangle_fan" in init() [all …]
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlGpuCommandBuffer.h | 97 void sendMeshToGpu(GrPrimitiveType primType, const GrBuffer* vertexBuffer, int vertexCount, in sendMeshToGpu() argument 99 this->sendInstancedMeshToGpu(primType, vertexBuffer, vertexCount, baseVertex, nullptr, 1, in sendMeshToGpu() 103 void sendIndexedMeshToGpu(GrPrimitiveType primType, const GrBuffer* indexBuffer, int indexCount, in sendIndexedMeshToGpu() argument 108 this->sendIndexedInstancedMeshToGpu(primType, indexBuffer, indexCount, baseIndex, in sendIndexedMeshToGpu()
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpuCommandBuffer.h | 119 void sendMeshToGpu(GrPrimitiveType primType, const GrBuffer* vertexBuffer, int vertexCount, in sendMeshToGpu() argument 121 this->sendInstancedMeshToGpu(primType, vertexBuffer, vertexCount, baseVertex, nullptr, 1, in sendMeshToGpu() 125 void sendIndexedMeshToGpu(GrPrimitiveType primType, const GrBuffer* indexBuffer, int indexCount, in sendIndexedMeshToGpu() argument 130 this->sendIndexedInstancedMeshToGpu(primType, indexBuffer, indexCount, baseIndex, in sendIndexedMeshToGpu()
|
/external/skia/src/gpu/ops/ |
D | GrSimpleMeshDrawOpHelperWithStencil.cpp | 52 GrPrimitiveType primType, in createProgramInfoWithStencil() argument 62 primType, in createProgramInfoWithStencil()
|
D | GrSimpleMeshDrawOpHelper.cpp | 218 GrPrimitiveType primType, in createProgramInfo() argument 228 primType, in createProgramInfo()
|
D | GrDefaultPathRenderer.cpp | 417 GrPrimitiveType primType() const { in primType() function in __anon5192cb150111::DefaultPathOp 458 dstProxyView, gp, this->primType(), in onCreateProgramInfo() 464 PathGeoBuilder pathGeoBuilder(this->primType(), target, &fMeshes); in onPrepareDraws()
|
D | GrDrawVerticesOp.cpp | 600 GrPrimitiveType primType = overridePrimType in Make() local 604 context, std::move(paint), std::move(vertices), primType, aaType, in Make()
|
D | GrStrokeRectOp.cpp | 190 GrPrimitiveType primType = (fStrokeWidth > 0) ? GrPrimitiveType::kTriangleStrip in onCreateProgramInfo() local 194 dstProxyView, gp, primType, in onCreateProgramInfo()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_draw.c | 102 range.primType = svga_translate_prim(info->mode, 12, &hw_count, in retry_draw_auto() 150 range.primType = svga_translate_prim(info->mode, 12, &hw_count, in retry_draw_indirect()
|
D | svga_draw.c | 874 if (svga->state.hw_draw.topology != range->primType) { in draw_vgpu10() 875 ret = SVGA3D_vgpu10_SetTopology(svga->swc, range->primType); in draw_vgpu10() 879 svga->state.hw_draw.topology = range->primType; in draw_vgpu10() 1107 switch (range->primType) { in check_draw_params()
|
D | svga_draw_arrays.c | 189 range.primType = hw_prim; in simple_draw_arrays()
|
D | svga_draw_elements.c | 201 range.primType = hw_prim; in svga_hwtnl_simple_draw_range_elements()
|
D | svga_tgsi_vgpu10.c | 2771 static const VGPU10_PRIMITIVE primType[] = { in emit_vgpu10_property() local 2818 assert(prop->u[0].Data < ARRAY_SIZE(primType)); in emit_vgpu10_property() 2819 emit->gs.prim_type = primType[prop->u[0].Data]; in emit_vgpu10_property()
|
/external/skqp/src/gpu/ops/ |
D | GrStrokeRectOp.cpp | 202 GrPrimitiveType primType; in onPrepareDraws() local 204 primType = GrPrimitiveType::kTriangleStrip; in onPrepareDraws() 208 primType = GrPrimitiveType::kLineStrip; in onPrepareDraws() 216 GrMesh* mesh = target->allocMesh(primType); in onPrepareDraws()
|
D | GrDrawVerticesOp.cpp | 25 GrPrimitiveType primType = overridePrimType ? *overridePrimType in Make() local 28 bones, boneCount, primType, aaType, in Make()
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationUtil.cpp | 477 int numOuterTessellationLevels (const TessPrimitiveType primType) in numOuterTessellationLevels() argument 479 switch (primType) in numOuterTessellationLevels()
|
D | vktTessellationInvarianceTests.cpp | 433 std::vector<OuterEdgeDescription> outerEdgeDescriptions (const TessPrimitiveType primType) in outerEdgeDescriptions() argument 455 switch (primType) in outerEdgeDescriptions()
|
/external/skia/tests/ |
D | ClipStackTest.cpp | 224 SkClipStack::Element::DeviceSpaceType primType) { in test_bounds() argument 283 int numBitTests = SkClipStack::Element::DeviceSpaceType::kPath == primType ? 4 : 1; in test_bounds() 296 switch (primType) { in test_bounds() 321 if (SkClipStack::Element::DeviceSpaceType::kRect == primType) { in test_bounds()
|
/external/skqp/tests/ |
D | ClipStackTest.cpp | 222 SkClipStack::Element::DeviceSpaceType primType) { in test_bounds() argument 281 int numBitTests = SkClipStack::Element::DeviceSpaceType::kPath == primType ? 4 : 1; in test_bounds() 294 switch (primType) { in test_bounds() 318 if (SkClipStack::Element::DeviceSpaceType::kRect == primType) { in test_bounds()
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
D | svga3d_cmd.h | 726 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()
|