Home
last modified time | relevance | path

Searched refs:GrStrokeTessellationShader (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/src/gpu/tessellate/shaders/
DGrStrokeTessellationShader.cpp15 GrStrokeTessellationShader::GrStrokeTessellationShader(const GrShaderCaps& shaderCaps, in GrStrokeTessellationShader() function in GrStrokeTessellationShader
108 const char* GrStrokeTessellationShader::Impl::kCosineBetweenVectorsFn = R"(
118 const char* GrStrokeTessellationShader::Impl::kMiterExtentFn = R"(
126 const char* GrStrokeTessellationShader::Impl::kNumRadialSegmentsPerRadianFn = R"(
134 const char* GrStrokeTessellationShader::Impl::kUncheckedMixFn = R"(
145 void GrStrokeTessellationShader::Impl::emitTessellationCode( in emitTessellationCode()
146 const GrStrokeTessellationShader& shader, SkString* code, GrGPArgs* gpArgs, in emitTessellationCode()
339 void GrStrokeTessellationShader::Impl::emitFragmentCode(const GrStrokeTessellationShader& shader, in emitFragmentCode()
355 void GrStrokeTessellationShader::Impl::setData(const GrGLSLProgramDataManager& pdman, in setData()
358 const auto& shader = geomProc.cast<GrStrokeTessellationShader>(); in setData()
[all …]
DGrStrokeTessellationShader.h25 class GrStrokeTessellationShader : public GrTessellationShader {
37 GrStrokeTessellationShader(const GrShaderCaps&, Mode, PatchAttribs, const SkMatrix& viewMatrix,
90 class GrStrokeTessellationShader::Impl : public ProgramImpl {
139 void emitTessellationCode(const GrStrokeTessellationShader& shader, SkString* code,
144 void emitFragmentCode(const GrStrokeTessellationShader&, const EmitArgs&);
157 class GrStrokeTessellationShader::InstancedImpl : public GrStrokeTessellationShader::Impl {
161 class GrStrokeTessellationShader::HardwareImpl : public GrStrokeTessellationShader::Impl {
DGrStrokeTessellationShader_HardwareImpl.cpp15 void GrStrokeTessellationShader::HardwareImpl::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode()
16 const auto& shader = args.fGeomProc.cast<GrStrokeTessellationShader>(); in onEmitCode()
316 SkString GrStrokeTessellationShader::HardwareImpl::getTessControlShaderGLSL( in getTessControlShaderGLSL()
321 const auto& shader = geomProc.cast<GrStrokeTessellationShader>(); in getTessControlShaderGLSL()
322 SkASSERT(shader.mode() == GrStrokeTessellationShader::Mode::kHardwareTessellation); in getTessControlShaderGLSL()
524 SkString GrStrokeTessellationShader::HardwareImpl::getTessEvaluationShaderGLSL( in getTessEvaluationShaderGLSL()
529 const auto& shader = geomProc.cast<GrStrokeTessellationShader>(); in getTessEvaluationShaderGLSL()
530 SkASSERT(shader.mode() == GrStrokeTessellationShader::Mode::kHardwareTessellation); in getTessEvaluationShaderGLSL()
DGrStrokeTessellationShader_InstancedImpl.cpp17 void GrStrokeTessellationShader::InstancedImpl::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode()
18 const auto& shader = args.fGeomProc.cast<GrStrokeTessellationShader>(); in onEmitCode()
66 if (shader.mode() == GrStrokeTessellationShader::Mode::kLog2Indirect) { in onEmitCode()
70 SkASSERT(shader.mode() == GrStrokeTessellationShader::Mode::kFixedCount); in onEmitCode()
165 if (shader.mode() == GrStrokeTessellationShader::Mode::kLog2Indirect) { in onEmitCode()
/third_party/skia/src/gpu/ops/
DStrokeTessellateOp.h17 class GrStrokeTessellationShader; variable
77 GrStrokeTessellationShader* fTessellationShader;
DStrokeTessellateOp.cpp191 GrStrokeTessellationShader::Mode shaderMode; in prePrepareTessellator()
197 shaderMode = GrStrokeTessellationShader::Mode::kHardwareTessellation; in prePrepareTessellator()
203 shaderMode = GrStrokeTessellationShader::Mode::kFixedCount; in prePrepareTessellator()
207 fTessellationShader = args.fArena->make<GrStrokeTessellationShader>(*caps.shaderCaps(), in prePrepareTessellator()
/third_party/skia/src/gpu/
DBUILD.bazel410 "tessellate/shaders/GrStrokeTessellationShader.cpp",
411 "tessellate/shaders/GrStrokeTessellationShader.h",
/third_party/skia/gn/
Dgpu.gni346 "$_src/gpu/tessellate/shaders/GrStrokeTessellationShader.cpp",
347 "$_src/gpu/tessellate/shaders/GrStrokeTessellationShader.h",