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()
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/mtl/
DGrMtlGpuCommandBuffer.h75 GrPrimitiveType primType);
95 void sendMeshToGpu(GrPrimitiveType primType, const GrBuffer* vertexBuffer, int vertexCount, in sendMeshToGpu() argument
97 this->sendInstancedMeshToGpu(primType, vertexBuffer, vertexCount, baseVertex, nullptr, 1, in sendMeshToGpu()
101 void sendIndexedMeshToGpu(GrPrimitiveType primType, const GrBuffer* indexBuffer, int indexCount, in sendIndexedMeshToGpu() argument
106 this->sendIndexedInstancedMeshToGpu(primType, indexBuffer, indexCount, baseIndex, in sendIndexedMeshToGpu()
DGrMtlResourceProvider.mm43 const GrTextureProxy* const primProcProxies[], GrPrimitiveType primType) {
45 pipeline, primType);
96 GrPrimitiveType primType) {
102 if (!GrMtlPipelineStateBuilder::Desc::Build(&desc, renderTarget, primProc, pipeline, primType,
DGrMtlGpuCommandBuffer.mm103 GrPrimitiveType primType) {
117 primType);
/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/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/mesa3d/src/gallium/drivers/svga/
Dsvga_draw.c728 if (svga->state.hw_draw.topology != range->primType) { in draw_vgpu10()
729 ret = SVGA3D_vgpu10_SetTopology(svga->swc, range->primType); in draw_vgpu10()
733 svga->state.hw_draw.topology = range->primType; in draw_vgpu10()
979 switch (range->primType) { in check_draw_params()
Dsvga_draw_elements.c168 range.primType = hw_prim; in svga_hwtnl_simple_draw_range_elements()
Dsvga_draw_arrays.c188 range.primType = hw_prim; in simple_draw_arrays()
Dsvga_tgsi_vgpu10.c1884 static const VGPU10_PRIMITIVE primType[] = { in emit_vgpu10_property() local
1931 assert(prop->u[0].Data < ARRAY_SIZE(primType)); in emit_vgpu10_property()
1932 emit->gs.prim_type = primType[prop->u[0].Data]; in emit_vgpu10_property()
/external/skia/src/gpu/ops/
DGrStrokeRectOp.cpp205 GrPrimitiveType primType; in onPrepareDraws() local
207 primType = GrPrimitiveType::kTriangleStrip; in onPrepareDraws()
211 primType = GrPrimitiveType::kLineStrip; in onPrepareDraws()
219 GrMesh* mesh = target->allocMesh(primType); in onPrepareDraws()
DGrDrawVerticesOp.cpp581 GrPrimitiveType primType = overridePrimType ? *overridePrimType in Make() local
586 primType, aaType, in Make()
/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.cpp634 int numOuterTessellationLevels (const TessPrimitiveType primType) in numOuterTessellationLevels() argument
636 switch (primType) in numOuterTessellationLevels()
DvktTessellationInvarianceTests.cpp433 std::vector<OuterEdgeDescription> outerEdgeDescriptions (const TessPrimitiveType primType) in outerEdgeDescriptions() argument
455 switch (primType) in outerEdgeDescriptions()
/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/skia/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.h651 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()