Home
last modified time | relevance | path

Searched refs:GrGeometryProcessor (Results 1 – 25 of 111) sorted by relevance

12345

/third_party/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.h55 class GrDistanceFieldA8TextGeoProc : public GrGeometryProcessor {
65 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make()
79 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make()
131 using INHERITED = GrGeometryProcessor;
140 class GrDistanceFieldPathGeoProc : public GrGeometryProcessor {
149 static GrGeometryProcessor* Make(SkArenaAlloc* arena, const GrShaderCaps& caps, in Make()
192 using INHERITED = GrGeometryProcessor;
201 class GrDistanceFieldLCDTextGeoProc : public GrGeometryProcessor {
224 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make()
269 using INHERITED = GrGeometryProcessor;
DGrBezierEffect.h59 class GrConicEffect : public GrGeometryProcessor {
61 static GrGeometryProcessor* Make(SkArenaAlloc* arena,
107 using INHERITED = GrGeometryProcessor;
121 class GrQuadEffect : public GrGeometryProcessor {
123 static GrGeometryProcessor* Make(SkArenaAlloc* arena,
170 using INHERITED = GrGeometryProcessor;
DGrShadowGeoProc.h22 class GrRRectShadowGeoProc : public GrGeometryProcessor {
24 static GrGeometryProcessor* Make(SkArenaAlloc* arena, const GrSurfaceProxyView& lutView) { in Make()
57 using INHERITED = GrGeometryProcessor;
DGrBitmapTextGeoProc.h24 class GrBitmapTextGeoProc : public GrGeometryProcessor {
32 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make()
81 using INHERITED = GrGeometryProcessor;
DGrShadowGeoProc.cpp20 const GrGeometryProcessor&) override {} in setData() argument
67 std::unique_ptr<GrGeometryProcessor::ProgramImpl> GrRRectShadowGeoProc::makeProgramImpl( in makeProgramImpl()
77 GrGeometryProcessor* GrRRectShadowGeoProc::TestCreate(GrProcessorTestData* d) { in TestCreate()
/third_party/skia/gm/
Dtessellation.cpp30 constexpr static GrGeometryProcessor::Attribute kPositionAttrib =
54 class TessellationTestTriShader : public GrGeometryProcessor {
57 : GrGeometryProcessor(kTessellationTestTriShader_ClassID), fViewMatrix(viewMatrix) { in TessellationTestTriShader()
70 const GrGeometryProcessor& geomProc) override { in setData()
90 SkString getTessControlShaderGLSL(const GrGeometryProcessor&, in getTessControlShaderGLSL() argument
110 SkString getTessEvaluationShaderGLSL(const GrGeometryProcessor&, in getTessEvaluationShaderGLSL() argument
173 class TessellationTestRectShader : public GrGeometryProcessor {
176 : GrGeometryProcessor(kTessellationTestTriShader_ClassID), fViewMatrix(viewMatrix) { in TessellationTestRectShader()
189 const GrGeometryProcessor& geomProc) override { in setData()
206 SkString getTessControlShaderGLSL(const GrGeometryProcessor&, in getTessControlShaderGLSL() argument
[all …]
Dfwidth_squircle.cpp56 static constexpr GrGeometryProcessor::Attribute gVertex =
62 class FwidthSquircleTestProcessor : public GrGeometryProcessor {
64 static GrGeometryProcessor* Make(SkArenaAlloc* arena, const SkMatrix& viewMatrix) { in Make()
78 : GrGeometryProcessor(kFwidthSquircleTestProcessor_ClassID) in FwidthSquircleTestProcessor()
85 using INHERITED = GrGeometryProcessor;
88 std::unique_ptr<GrGeometryProcessor::ProgramImpl> FwidthSquircleTestProcessor::makeProgramImpl( in makeProgramImpl()
94 const GrGeometryProcessor& geomProc) override { in makeProgramImpl()
179 GrGeometryProcessor* geomProc = FwidthSquircleTestProcessor::Make(arena, fViewMatrix); in createProgramInfo()
Dclockwise.cpp59 static constexpr GrGeometryProcessor::Attribute gVertex =
65 class ClockwiseTestProcessor : public GrGeometryProcessor {
67 static GrGeometryProcessor* Make(SkArenaAlloc* arena, bool readSkFragCoord) { in Make()
85 : GrGeometryProcessor(kClockwiseTestProcessor_ClassID) in ClockwiseTestProcessor()
92 using INHERITED = GrGeometryProcessor;
95 std::unique_ptr<GrGeometryProcessor::ProgramImpl> ClockwiseTestProcessor::makeProgramImpl( in makeProgramImpl()
101 const GrGeometryProcessor&) override {} in makeProgramImpl() argument
158 GrGeometryProcessor* geomProc = ClockwiseTestProcessor::Make(arena, fReadSkFragCoord); in createProgramInfo()
/third_party/skia/src/gpu/
DGrGeometryProcessor.h51 class GrGeometryProcessor : public GrProcessor {
143 friend class GrGeometryProcessor;
164 GrGeometryProcessor(ClassID);
277 class GrGeometryProcessor::ProgramImpl {
297 const GrGeometryProcessor& geomProc, in EmitArgs()
315 const GrGeometryProcessor& fGeomProc;
346 const GrGeometryProcessor&) = 0;
350 virtual SkString getTessControlShaderGLSL(const GrGeometryProcessor&, in getTessControlShaderGLSL() argument
356 virtual SkString getTessEvaluationShaderGLSL(const GrGeometryProcessor&, in getTessEvaluationShaderGLSL() argument
490 class GrGeometryProcessor::TextureSampler {
[all …]
DGrProgramDesc.cpp58 const GrGeometryProcessor& geomProc, in add_geomproc_sampler_keys()
63 const GrGeometryProcessor::TextureSampler& sampler = geomProc.textureSampler(i); in add_geomproc_sampler_keys()
83 static void gen_geomproc_key(const GrGeometryProcessor& geomProc, in gen_geomproc_key()
120 b->addBits(GrGeometryProcessor::kCoordTransformKeyBits, in gen_fp_key()
121 GrGeometryProcessor::ComputeCoordTransformsKey(fp), "fpTransforms"); in gen_fp_key()
DGrDefaultGeoProcFactory.cpp34 class DefaultGeoProc : public GrGeometryProcessor {
36 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make()
73 const GrGeometryProcessor& geomProc) override { in setData()
242 using INHERITED = GrGeometryProcessor;
248 GrGeometryProcessor* DefaultGeoProc::TestCreate(GrProcessorTestData* d) { in TestCreate()
282 GrGeometryProcessor* GrDefaultGeoProcFactory::Make(SkArenaAlloc* arena, in Make()
314 GrGeometryProcessor* GrDefaultGeoProcFactory::MakeForDeviceSpace(SkArenaAlloc* arena, in MakeForDeviceSpace()
DGrProcessorUnitTest.h28 class GrGeometryProcessor; variable
108 using GrGeometryProcessorTestFactory = GrProcessorTestFactory<GrGeometryProcessor*>;
133 static GrGeometryProcessor* TestCreate(GrProcessorTestData*);
167 static GrGeometryProcessor* TestCreate(GrProcessorTestData*);
DGrGeometryProcessor.cpp19 GrGeometryProcessor::GrGeometryProcessor(ClassID classID) : GrProcessor(classID) {} in GrGeometryProcessor() function in GrGeometryProcessor
21 const GrGeometryProcessor::TextureSampler& GrGeometryProcessor::textureSampler(int i) const { in textureSampler()
26 uint32_t GrGeometryProcessor::ComputeCoordTransformsKey(const GrFragmentProcessor& fp) { in ComputeCoordTransformsKey()
46 GrGeometryProcessor::TextureSampler::TextureSampler(GrSamplerState samplerState, in TextureSampler()
52 void GrGeometryProcessor::TextureSampler::reset(GrSamplerState samplerState, in reset()
64 using ProgramImpl = GrGeometryProcessor::ProgramImpl;
DGrProgramInfo.h24 const GrGeometryProcessor* geomProc, in GrProgramInfo()
66 const GrGeometryProcessor& geomProc() const { return *fGeomProc; } in geomProc()
111 const GrGeometryProcessor* fGeomProc;
/third_party/skia/src/gpu/gl/
DGrGLProgram.h22 class GrGeometryProcessor; variable
59 std::unique_ptr<GrGeometryProcessor::ProgramImpl>,
107 void bindTextures(const GrGeometryProcessor&,
132 std::unique_ptr<GrGeometryProcessor::ProgramImpl>,
142 void setRenderTargetState(const GrRenderTarget*, GrSurfaceOrigin, const GrGeometryProcessor&);
150 std::unique_ptr<GrGeometryProcessor::ProgramImpl> fGPImpl;
/third_party/skia/src/gpu/tessellate/shaders/
DGrPathTessellationShader_Hardware.cpp57 std::unique_ptr<GrGeometryProcessor::ProgramImpl> HardwareWedgeShader::makeProgramImpl( in makeProgramImpl()
70 SkString getTessControlShaderGLSL(const GrGeometryProcessor&, in makeProgramImpl() argument
125 SkString getTessEvaluationShaderGLSL(const GrGeometryProcessor&, in makeProgramImpl() argument
201 std::unique_ptr<GrGeometryProcessor::ProgramImpl> HardwareCurveShader::makeProgramImpl( in makeProgramImpl()
214 SkString getTessControlShaderGLSL(const GrGeometryProcessor&, in makeProgramImpl() argument
292 SkString getTessEvaluationShaderGLSL(const GrGeometryProcessor&, in makeProgramImpl() argument
DGrStrokeTessellationShader.h147 const GrGeometryProcessor&) final;
163 SkString getTessControlShaderGLSL(const GrGeometryProcessor&,
167 SkString getTessEvaluationShaderGLSL(const GrGeometryProcessor&,
/third_party/skia/tests/
DGrPipelineDynamicStateTest.cpp60 class PipelineDynamicStateTestProcessor : public GrGeometryProcessor {
62 static GrGeometryProcessor* Make(SkArenaAlloc* arena) { in Make()
87 using INHERITED = GrGeometryProcessor;
91 std::unique_ptr<GrGeometryProcessor::ProgramImpl>
93 class Impl : public GrGeometryProcessor::ProgramImpl { in makeProgramImpl()
97 const GrGeometryProcessor&) final {} in makeProgramImpl() argument
DPrimitiveProcessorTest.cpp66 class GP : public GrGeometryProcessor { in onCreateProgramInfo()
68 static GrGeometryProcessor* Make(SkArenaAlloc* arena, int numAttribs) { in onCreateProgramInfo()
81 const GrGeometryProcessor&) override {} in onCreateProgramInfo() argument
125 using INHERITED = GrGeometryProcessor; in onCreateProgramInfo()
128 GrGeometryProcessor* gp = GP::Make(arena, fNumAttribs); in onCreateProgramInfo()
/third_party/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.h43 const GrGeometryProcessor& geometryProcessor() const { return fProgramInfo.geomProc(); } in geometryProcessor()
106 std::unique_ptr<GrGeometryProcessor::ProgramImpl> fGPImpl;
160 void verify(const GrGeometryProcessor&);
168 GrGeometryProcessor::ProgramImpl::FPCoordsMap fFPCoordsMap;
/third_party/skia/src/gpu/ops/
DDashOp.cpp169 GrGeometryProcessor* make_dash_gp(SkArenaAlloc* arena,
293 GrGeometryProcessor* gp; in onCreateProgramInfo()
709 class DashingCircleEffect : public GrGeometryProcessor {
713 static GrGeometryProcessor* Make(SkArenaAlloc* arena,
742 using INHERITED = GrGeometryProcessor;
751 const GrGeometryProcessor&) override;
824 const GrGeometryProcessor& geomProc) { in setData()
835 GrGeometryProcessor* DashingCircleEffect::Make(SkArenaAlloc* arena, in Make()
853 std::unique_ptr<GrGeometryProcessor::ProgramImpl> DashingCircleEffect::makeProgramImpl( in makeProgramImpl()
876 GrGeometryProcessor* DashingCircleEffect::TestCreate(GrProcessorTestData* d) { in TestCreate()
[all …]
DDrawAtlasPathOp.cpp22 class DrawAtlasPathShader : public GrGeometryProcessor {
27 : GrGeometryProcessor(kDrawAtlasPathShader_ClassID) in DrawAtlasPathShader()
67 SkSTArray<kMaxInstanceAttribs, GrGeometryProcessor::Attribute> fAttribs;
74 const GrGeometryProcessor& geomProc) override { in setData()
115 std::unique_ptr<GrGeometryProcessor::ProgramImpl> DrawAtlasPathShader::makeProgramImpl( in makeProgramImpl()
/third_party/skia/src/gpu/d3d/
DGrD3DPipelineState.h36 std::unique_ptr<GrGeometryProcessor::ProgramImpl> gpImpl,
48 const GrGeometryProcessor&,
90 std::unique_ptr<GrGeometryProcessor::ProgramImpl> fGPImpl;
/third_party/skia/src/gpu/vk/
DGrVkPipelineState.h50 std::unique_ptr<GrGeometryProcessor::ProgramImpl>,
63 const GrGeometryProcessor&,
108 std::unique_ptr<GrGeometryProcessor::ProgramImpl> fGPImpl;
/third_party/skia/src/gpu/mtl/
DGrMtlPipelineState.h45 std::unique_ptr<GrGeometryProcessor::ProgramImpl>,
53 void setTextures(const GrGeometryProcessor&,
114 std::unique_ptr<GrGeometryProcessor::ProgramImpl> fGPImpl;

12345