Home
last modified time | relevance | path

Searched refs:maxTessellationSegments (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/src/gpu/tessellate/shaders/
DGrPathTessellationShader_Hardware.cpp47 int maxTessellationSegments(const GrShaderCaps& shaderCaps) const override { in maxTessellationSegments() function in __anonbcd543fc0111::HardwareWedgeShader
48 return shaderCaps.maxTessellationSegments(); in maxTessellationSegments()
76 #define MAX_TESSELLATION_SEGMENTS %i)", shaderCaps.maxTessellationSegments()); in makeProgramImpl()
188 int maxTessellationSegments(const GrShaderCaps& shaderCaps) const override { in maxTessellationSegments() function in __anonbcd543fc0111::HardwareCurveShader
192 return shaderCaps.maxTessellationSegments() * 2; in maxTessellationSegments()
220 #define MAX_TESSELLATION_SEGMENTS %i)", shaderCaps.maxTessellationSegments()); in makeProgramImpl()
DGrStrokeTessellationShader_HardwareImpl.cpp32 args.fShaderCaps->maxTessellationSegments()); // 1/128 of a segment. in onEmitCode()
336 code.appendf("#define MAX_TESSELLATION_SEGMENTS %i.0\n", shaderCaps.maxTessellationSegments()); in getTessControlShaderGLSL()
DGrPathTessellationShader.h123 virtual int maxTessellationSegments(const GrShaderCaps&) const = 0;
DGrPathTessellationShader_MiddleOut.cpp69 int maxTessellationSegments(const GrShaderCaps&) const override { in maxTessellationSegments() function in __anon748214f50111::MiddleOutShader
DGrPathTessellationShader.cpp31 int maxTessellationSegments(const GrShaderCaps&) const override { SkUNREACHABLE; } in maxTessellationSegments() function in __anon44e4590f0111::SimpleTriangleShader
/third_party/skia/src/gpu/tessellate/
DPathTessellator.h78 int maxTessellationSegments,
88 int maxTessellationSegments, in prepare() argument
95 this->writePatches(patchWriter, maxTessellationSegments, shaderMatrix, pathDrawList); in prepare()
DPathCurveTessellator.cpp37 int maxTessellationSegments, in writePatches() argument
40 float maxSegments_pow2 = pow2(maxTessellationSegments); in writePatches()
DPathWedgeTessellator.h35 int maxTessellationSegments,
DPathWedgeTessellator.cpp136 int maxTessellationSegments, in writePatches() argument
139 float maxSegments_pow2 = pow2(maxTessellationSegments); in writePatches()
DPathCurveTessellator.h33 int maxTessellationSegments,
DStrokeHardwareTessellator.cpp69 , fMaxTessellationSegments(target->caps().shaderCaps()->maxTessellationSegments() - 2) in PatchWriter()
/third_party/skia/gm/
Dwidebuttcaps.cpp57 canvas->recordingContext()->priv().caps()->shaderCaps()->maxTessellationSegments() == 5) { in draw_test()
137 if (dContext->priv().caps()->shaderCaps()->maxTessellationSegments() != in onDraw()
Dtrickycubicstrokes.cpp109 canvas->recordingContext()->priv().caps()->shaderCaps()->maxTessellationSegments() == 5) { in draw_test()
230 if (dContext->priv().caps()->shaderCaps()->maxTessellationSegments() != in onDraw()
/third_party/skia/tools/flags/
DCommonFlagsGpu.cpp26 static DEFINE_int(maxTessellationSegments, 0,
/third_party/skia/src/gpu/ops/
DPathInnerTriangulateOp.cpp47 int maxTessellationSegments(const GrShaderCaps&) const override { SkUNREACHABLE; } in maxTessellationSegments() function in __anonb53235a60111::HullShader
450 tessShader->maxTessellationSegments(*caps.shaderCaps()), in onPrepare()
DPathTessellateOp.cpp114 tessShader->maxTessellationSegments(*flushState->caps().shaderCaps()), in onPrepare()
DStrokeTessellateOp.cpp200 maxParametricSegments_log2 = SkNextLog2(caps.shaderCaps()->maxTessellationSegments()); in prePrepareTessellator()
DPathStencilCoverOp.cpp264 tessShader->maxTessellationSegments(*flushState->caps().shaderCaps()), in onPrepare()
/third_party/skia/src/gpu/
DGrShaderCaps.h262 int maxTessellationSegments() const { return fMaxTessellationSegments; } in maxTessellationSegments() function
/third_party/skia/samplecode/
DSamplePathTessellators.cpp152 tessShader->maxTessellationSegments(*caps.shaderCaps()), in onPrepare()