Home
last modified time | relevance | path

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

1234567

/third_party/flutter/skia/src/gpu/effects/
DGrBezierEffect.h58 class GrConicEffect : public GrGeometryProcessor {
60 static sk_sp<GrGeometryProcessor> Make(const SkPMColor4f& color,
72 return sk_sp<GrGeometryProcessor>(
79 return sk_sp<GrGeometryProcessor>(
84 return sk_sp<GrGeometryProcessor>(
128 typedef GrGeometryProcessor INHERITED;
142 class GrQuadEffect : public GrGeometryProcessor {
144 static sk_sp<GrGeometryProcessor> Make(const SkPMColor4f& color,
156 return sk_sp<GrGeometryProcessor>(
163 return sk_sp<GrGeometryProcessor>(
[all …]
DGrDistanceFieldGeoProc.h54 class GrDistanceFieldA8TextGeoProc : public GrGeometryProcessor {
64 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make()
69 return sk_sp<GrGeometryProcessor>(new GrDistanceFieldA8TextGeoProc( in Make()
73 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make()
78 return sk_sp<GrGeometryProcessor>(new GrDistanceFieldA8TextGeoProc( in Make()
128 typedef GrGeometryProcessor INHERITED;
137 class GrDistanceFieldPathGeoProc : public GrGeometryProcessor {
146 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make()
152 return sk_sp<GrGeometryProcessor>( in Make()
194 typedef GrGeometryProcessor INHERITED;
[all …]
DGrShadowGeoProc.h20 class GrRRectShadowGeoProc : public GrGeometryProcessor {
22 static sk_sp<GrGeometryProcessor> Make() { in Make()
23 return sk_sp<GrGeometryProcessor>(new GrRRectShadowGeoProc()); in Make()
48 typedef GrGeometryProcessor INHERITED;
DGrBitmapTextGeoProc.h22 class GrBitmapTextGeoProc : public GrGeometryProcessor {
30 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make()
36 return sk_sp<GrGeometryProcessor>( in Make()
81 typedef GrGeometryProcessor INHERITED;
DGrBezierEffect.cpp20 GrGLConicEffect(const GrGeometryProcessor&);
24 static inline void GenKey(const GrGeometryProcessor&,
63 GrGLConicEffect::GrGLConicEffect(const GrGeometryProcessor& processor) in GrGLConicEffect()
207 void GrGLConicEffect::GenKey(const GrGeometryProcessor& gp, in GenKey()
251 sk_sp<GrGeometryProcessor> GrConicEffect::TestCreate(GrProcessorTestData* d) { in TestCreate()
252 sk_sp<GrGeometryProcessor> gp; in TestCreate()
271 GrGLQuadEffect(const GrGeometryProcessor&);
275 static inline void GenKey(const GrGeometryProcessor&,
314 GrGLQuadEffect::GrGLQuadEffect(const GrGeometryProcessor& processor) in GrGLQuadEffect()
407 void GrGLQuadEffect::GenKey(const GrGeometryProcessor& gp, in GenKey()
[all …]
/third_party/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.h55 class GrDistanceFieldA8TextGeoProc : public GrGeometryProcessor {
61 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make()
75 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make()
127 using INHERITED = GrGeometryProcessor;
136 class GrDistanceFieldPathGeoProc : public GrGeometryProcessor {
141 static GrGeometryProcessor* Make(SkArenaAlloc* arena, const GrShaderCaps& caps, in Make()
184 using INHERITED = GrGeometryProcessor;
193 class GrDistanceFieldLCDTextGeoProc : public GrGeometryProcessor {
212 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make()
257 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 {
28 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make()
77 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/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/
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*);
/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
/third_party/flutter/skia/src/gpu/
DGrDefaultGeoProcFactory.cpp35 class DefaultGeoProc : public GrGeometryProcessor {
37 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps* shaderCaps, in Make()
45 return sk_sp<GrGeometryProcessor>(new DefaultGeoProc( in Make()
168 static inline void GenKey(const GrGeometryProcessor& gp, in GenKey()
272 typedef GrGeometryProcessor INHERITED;
278 sk_sp<GrGeometryProcessor> DefaultGeoProc::TestCreate(GrProcessorTestData* d) { in TestCreate()
310 sk_sp<GrGeometryProcessor> GrDefaultGeoProcFactory::Make(const GrShaderCaps* shaderCaps, in Make()
343 sk_sp<GrGeometryProcessor> GrDefaultGeoProcFactory::MakeForDeviceSpace( in MakeForDeviceSpace()
/third_party/flutter/skia/src/gpu/ops/
DGrMeshDrawOp.h42 void recordDraw(Target*, sk_sp<const GrGeometryProcessor>) const;
43 void recordDraw(Target*, sk_sp<const GrGeometryProcessor>,
86 sk_sp<const GrGeometryProcessor>, const GrMesh[], int meshCnt,
93 void recordDraw(sk_sp<const GrGeometryProcessor> gp, const GrMesh meshes[], int meshCnt = 1) {
/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/flutter/skia/gm/
Dbeziereffects.cpp74 BezierTestOp(sk_sp<const GrGeometryProcessor> gp, const SkRect& rect, const SkPMColor4f& color, in BezierTestOp()
89 sk_sp<const GrGeometryProcessor> gp() const { return fGeometryProcessor; } in gp()
97 sk_sp<const GrGeometryProcessor> fGeometryProcessor;
114 sk_sp<const GrGeometryProcessor> gp, in Make()
126 BezierConicTestOp(sk_sp<const GrGeometryProcessor> gp, const SkRect& rect, in BezierConicTestOp()
208 sk_sp<GrGeometryProcessor> gp; in onDraw()
325 sk_sp<const GrGeometryProcessor> gp, in Make()
337 BezierQuadTestOp(sk_sp<const GrGeometryProcessor> gp, const SkRect& rect, in BezierQuadTestOp()
411 sk_sp<GrGeometryProcessor> gp; in onDraw()
/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;

1234567