Home
last modified time | relevance | path

Searched refs:primType (Results 1 – 25 of 27) sorted by relevance

12

/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnGpuCommandBuffer.h86 void sendMeshToGpu(GrPrimitiveType primType, const GrBuffer* vertexBuffer, int vertexCount, in sendMeshToGpu() argument
88 this->sendInstancedMeshToGpu(primType, vertexBuffer, vertexCount, baseVertex, in sendMeshToGpu()
92 void sendIndexedMeshToGpu(GrPrimitiveType primType, in sendIndexedMeshToGpu() argument
97 this->sendIndexedInstancedMeshToGpu(primType, indexBuffer, indexCount, baseIndex, in sendIndexedMeshToGpu()
/third_party/flutter/skia/src/gpu/vk/
DGrVkGpuCommandBuffer.h156 void sendMeshToGpu(GrPrimitiveType primType, const GrBuffer* vertexBuffer, int vertexCount, in sendMeshToGpu() argument
158 this->sendInstancedMeshToGpu(primType, vertexBuffer, vertexCount, baseVertex, nullptr, 1, in sendMeshToGpu()
162 void sendIndexedMeshToGpu(GrPrimitiveType primType, const GrBuffer* indexBuffer, int indexCount, in sendIndexedMeshToGpu() argument
167 this->sendIndexedInstancedMeshToGpu(primType, indexBuffer, indexCount, baseIndex, in sendIndexedMeshToGpu()
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlGpuCommandBuffer.h84 GrPrimitiveType primType);
106 void sendMeshToGpu(GrPrimitiveType primType, const GrBuffer* vertexBuffer, int vertexCount,
109 void sendIndexedMeshToGpu(GrPrimitiveType primType, const GrBuffer* indexBuffer, int indexCount,
DGrMtlResourceProvider.mm43 const GrTextureProxy* const primProcProxies[], GrPrimitiveType primType) {
45 pipeline, primType);
144 GrPrimitiveType primType) {
150 if (!GrMtlPipelineStateBuilder::Desc::Build(&desc, renderTarget, primProc, pipeline, primType,
DGrMtlGpuCommandBuffer.mm83 GrPrimitiveType primType) {
97 primType);
/third_party/skia/src/gpu/ops/
DGrSimpleMeshDrawOpHelperWithStencil.cpp53 GrPrimitiveType primType, in createProgramInfoWithStencil() argument
64 primType, in createProgramInfoWithStencil()
DGrSimpleMeshDrawOpHelper.cpp222 GrPrimitiveType primType, in createProgramInfo() argument
233 primType, in createProgramInfo()
DDefaultPathRenderer.cpp448 GrPrimitiveType primType() const { in primType() function in __anon416918880111::DefaultPathOp
491 gp, this->primType(), in onCreateProgramInfo()
497 PathGeoBuilder pathGeoBuilder(this->primType(), target, &fMeshes); in onPrepareDraws()
DDrawVerticesOp.cpp596 GrPrimitiveType primType = overridePrimType in Make() local
602 primType, in Make()
DStrokeRectOp.cpp194 GrPrimitiveType primType = (fStrokeWidth > 0) ? GrPrimitiveType::kTriangleStrip in onCreateProgramInfo() local
198 std::move(clip), dstProxyView, gp, primType, in onCreateProgramInfo()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_draw.c104 range.primType = svga_translate_prim(info->mode, 12, &hw_count, in retry_draw_auto()
153 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.c202 range.primType = hw_prim; in svga_hwtnl_simple_draw_range_elements()
/third_party/flutter/skia/src/gpu/ops/
DGrStrokeRectOp.cpp207 GrPrimitiveType primType; in onPrepareDraws() local
209 primType = GrPrimitiveType::kTriangleStrip; in onPrepareDraws()
213 primType = GrPrimitiveType::kLineStrip; in onPrepareDraws()
221 GrMesh* mesh = target->allocMesh(primType); in onPrepareDraws()
DGrDrawVerticesOp.cpp582 GrPrimitiveType primType = overridePrimType ? *overridePrimType in Make() local
587 primType, aaType, in Make()
/third_party/skia/tests/
DClipStackTest.cpp207 SkClipStack::Element::DeviceSpaceType primType) { in test_bounds() argument
251 int numBitTests = SkClipStack::Element::DeviceSpaceType::kPath == primType ? 4 : 1; in test_bounds()
264 switch (primType) { in test_bounds()
289 if (SkClipStack::Element::DeviceSpaceType::kRect == primType) { in test_bounds()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationUtil.cpp477 int numOuterTessellationLevels (const TessPrimitiveType primType) in numOuterTessellationLevels() argument
479 switch (primType) in numOuterTessellationLevels()
/third_party/flutter/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()
320 if (SkClipStack::Element::DeviceSpaceType::kRect == primType) { in test_bounds()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderMiscTests.cpp2670 for (const auto primType : types) in createMeshShaderMiscTests() local
2677 params->primitiveType = primType; in createMeshShaderMiscTests()
2680 const auto primName = primitiveTypeName(primType); in createMeshShaderMiscTests()
/third_party/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_cmd.h726 SVGA3dPrimitiveType primType; member
/third_party/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()

12