Home
last modified time | relevance | path

Searched refs:primType (Results 1 – 23 of 23) 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.cpp476 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/
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()
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/
DGrMtlGpuCommandBuffer.h97 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/
DGrVkGpuCommandBuffer.h119 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/
DGrSimpleMeshDrawOpHelperWithStencil.cpp52 GrPrimitiveType primType, in createProgramInfoWithStencil() argument
62 primType, in createProgramInfoWithStencil()
DGrSimpleMeshDrawOpHelper.cpp218 GrPrimitiveType primType, in createProgramInfo() argument
228 primType, in createProgramInfo()
DGrDefaultPathRenderer.cpp417 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()
DGrDrawVerticesOp.cpp600 GrPrimitiveType primType = overridePrimType in Make() local
604 context, std::move(paint), std::move(vertices), primType, aaType, in Make()
DGrStrokeRectOp.cpp190 GrPrimitiveType primType = (fStrokeWidth > 0) ? GrPrimitiveType::kTriangleStrip in onCreateProgramInfo() local
194 dstProxyView, gp, primType, in onCreateProgramInfo()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_draw.c102 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()
Dsvga_draw.c874 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()
Dsvga_draw_arrays.c189 range.primType = hw_prim; in simple_draw_arrays()
Dsvga_draw_elements.c201 range.primType = hw_prim; in svga_hwtnl_simple_draw_range_elements()
Dsvga_tgsi_vgpu10.c2771 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/
DGrStrokeRectOp.cpp202 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()
DGrDrawVerticesOp.cpp25 GrPrimitiveType primType = overridePrimType ? *overridePrimType in Make() local
28 bones, boneCount, primType, aaType, in Make()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationUtil.cpp477 int numOuterTessellationLevels (const TessPrimitiveType primType) in numOuterTessellationLevels() argument
479 switch (primType) in numOuterTessellationLevels()
DvktTessellationInvarianceTests.cpp433 std::vector<OuterEdgeDescription> outerEdgeDescriptions (const TessPrimitiveType primType) in outerEdgeDescriptions() argument
455 switch (primType) in outerEdgeDescriptions()
/external/skia/tests/
DClipStackTest.cpp224 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/
DClipStackTest.cpp222 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/
Dsvga3d_cmd.h726 SVGA3dPrimitiveType primType; member
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.c1086 switch((*cmd).primType) { in dump_SVGA3dPrimitiveRange()
1112 _debug_printf("\t\t.primType = %i\n", (*cmd).primType); in dump_SVGA3dPrimitiveRange()