Home
last modified time | relevance | path

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

1234567

/external/skqp/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 {
60 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make()
65 return sk_sp<GrGeometryProcessor>(new GrDistanceFieldA8TextGeoProc( in Make()
69 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make()
74 return sk_sp<GrGeometryProcessor>(new GrDistanceFieldA8TextGeoProc( in Make()
124 typedef GrGeometryProcessor INHERITED;
133 class GrDistanceFieldPathGeoProc : public GrGeometryProcessor {
138 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make()
144 return sk_sp<GrGeometryProcessor>( in Make()
186 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 {
26 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make()
32 return sk_sp<GrGeometryProcessor>( in Make()
77 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 …]
/external/skia/src/gpu/
DGrGeometryProcessor.cpp25 GrGeometryProcessor::GrGeometryProcessor(ClassID classID) : GrProcessor(classID) {} in GrGeometryProcessor() function in GrGeometryProcessor
27 const GrGeometryProcessor::TextureSampler& GrGeometryProcessor::textureSampler(int i) const { in textureSampler()
32 uint32_t GrGeometryProcessor::ComputeCoordTransformsKey(const GrFragmentProcessor& fp) { in ComputeCoordTransformsKey()
59 GrGeometryProcessor::TextureSampler::TextureSampler(GrSamplerState samplerState, in TextureSampler()
65 void GrGeometryProcessor::TextureSampler::reset(GrSamplerState samplerState, in reset()
DGrGeometryProcessor.h46 class GrGeometryProcessor : public GrProcessor, public GrNonAtomicRef<GrGeometryProcessor> {
130 friend class GrGeometryProcessor;
151 GrGeometryProcessor(ClassID);
277 class GrGeometryProcessor::TextureSampler {
303 const GrGeometryProcessor::TextureSampler& GrGeometryProcessor::IthTextureSampler(int i) { in IthTextureSampler()
378 constexpr size_t GrGeometryProcessor::Attribute::size() const { in size()
DGrDefaultGeoProcFactory.cpp33 class DefaultGeoProc : public GrGeometryProcessor {
35 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make()
151 static inline void GenKey(const GrGeometryProcessor& gp, in GenKey()
170 const GrGeometryProcessor& geomProc) override { in setData()
254 using INHERITED = GrGeometryProcessor;
260 GrGeometryProcessor* DefaultGeoProc::TestCreate(GrProcessorTestData* d) { in TestCreate()
293 GrGeometryProcessor* GrDefaultGeoProcFactory::Make(SkArenaAlloc* arena, in Make()
323 GrGeometryProcessor* GrDefaultGeoProcFactory::MakeForDeviceSpace(SkArenaAlloc* arena, in MakeForDeviceSpace()
DGrProgramDesc.cpp57 const GrGeometryProcessor& geomProc, in add_geomproc_sampler_keys()
62 const GrGeometryProcessor::TextureSampler& sampler = geomProc.textureSampler(i); in add_geomproc_sampler_keys()
82 static void gen_geomproc_key(const GrGeometryProcessor& geomProc, in gen_geomproc_key()
115 b->addBits(GrGeometryProcessor::kCoordTransformKeyBits, in gen_fp_key()
116 GrGeometryProcessor::ComputeCoordTransformsKey(fp), "fpTransforms"); in gen_fp_key()
DGrProcessorUnitTest.h29 class GrGeometryProcessor; variable
115 using GrGeometryProcessorTestFactory = GrProcessorTestFactory<GrGeometryProcessor*>;
140 static GrGeometryProcessor* TestCreate(GrProcessorTestData*);
174 static GrGeometryProcessor* TestCreate(GrProcessorTestData*);
/external/skia/gm/
Dtessellation.cpp30 constexpr static GrGeometryProcessor::Attribute kPositionAttrib =
54 class TessellationTestTriShader : public GrGeometryProcessor {
57 : GrGeometryProcessor(kTessellationTestTriShader_ClassID), fViewMatrix(viewMatrix) { in TessellationTestTriShader()
80 SkString getTessControlShaderGLSL(const GrGeometryProcessor&, in getTessControlShaderGLSL() argument
99 SkString getTessEvaluationShaderGLSL(const GrGeometryProcessor&, in getTessEvaluationShaderGLSL() argument
152 const GrGeometryProcessor& geomProc) override { in setData()
166 class TessellationTestRectShader : public GrGeometryProcessor {
169 : GrGeometryProcessor(kTessellationTestTriShader_ClassID), fViewMatrix(viewMatrix) { in TessellationTestRectShader()
188 SkString getTessControlShaderGLSL(const GrGeometryProcessor&, in getTessControlShaderGLSL() argument
211 SkString getTessEvaluationShaderGLSL(const GrGeometryProcessor&, in getTessEvaluationShaderGLSL() 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()
87 using INHERITED = GrGeometryProcessor;
130 const GrGeometryProcessor& geomProc) override { in setData()
174 GrGeometryProcessor* geomProc = FwidthSquircleTestProcessor::Make(arena, fViewMatrix); in createProgramInfo()
Dclockwise.cpp59 static constexpr GrGeometryProcessor::Attribute gVertex =
76 class ClockwiseTestProcessor : public GrGeometryProcessor {
78 static GrGeometryProcessor* Make(SkArenaAlloc* arena, bool readSkFragCoord) { in Make()
96 : GrGeometryProcessor(kClockwiseTestProcessor_ClassID) in ClockwiseTestProcessor()
103 using INHERITED = GrGeometryProcessor;
109 const GrGeometryProcessor&) override {} in setData() argument
165 GrGeometryProcessor* geomProc = ClockwiseTestProcessor::Make(arena, fReadSkFragCoord); in createProgramInfo()
/external/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()
135 using INHERITED = GrGeometryProcessor;
144 class GrDistanceFieldPathGeoProc : public GrGeometryProcessor {
149 static GrGeometryProcessor* Make(SkArenaAlloc* arena, const GrShaderCaps& caps, in Make()
197 using INHERITED = GrGeometryProcessor;
206 class GrDistanceFieldLCDTextGeoProc : public GrGeometryProcessor {
225 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make()
276 using INHERITED = GrGeometryProcessor;
DGrBezierEffect.h59 class GrConicEffect : public GrGeometryProcessor {
61 static GrGeometryProcessor* Make(SkArenaAlloc* arena,
112 using INHERITED = GrGeometryProcessor;
126 class GrQuadEffect : public GrGeometryProcessor {
128 static GrGeometryProcessor* Make(SkArenaAlloc* arena,
180 using INHERITED = GrGeometryProcessor;
DGrBezierEffect.cpp19 GrGLConicEffect(const GrGeometryProcessor&);
23 static inline void GenKey(const GrGeometryProcessor&,
29 const GrGeometryProcessor& geomProc) override { in setData()
59 GrGLConicEffect::GrGLConicEffect(const GrGeometryProcessor& processor) in GrGLConicEffect()
164 void GrGLConicEffect::GenKey(const GrGeometryProcessor& gp, in GenKey()
180 constexpr GrGeometryProcessor::Attribute GrConicEffect::kAttributes[];
209 GrGeometryProcessor* GrConicEffect::TestCreate(GrProcessorTestData* d) { in TestCreate()
229 GrGLQuadEffect(const GrGeometryProcessor&);
233 static inline void GenKey(const GrGeometryProcessor&,
239 const GrGeometryProcessor& geomProc) override { in setData()
[all …]
DGrShadowGeoProc.h22 class GrRRectShadowGeoProc : public GrGeometryProcessor {
24 static GrGeometryProcessor* Make(SkArenaAlloc* arena, const GrSurfaceProxyView& lutView) { in Make()
55 using INHERITED = GrGeometryProcessor;
DGrBitmapTextGeoProc.h24 class GrBitmapTextGeoProc : public GrGeometryProcessor {
28 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make()
83 using INHERITED = GrGeometryProcessor;
/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.h16 class GrGeometryProcessor; variable
75 const GrGeometryProcessor& geomProc, in EmitArgs()
97 const GrGeometryProcessor& fGeomProc;
131 const GrGeometryProcessor&) = 0;
135 virtual SkString getTessControlShaderGLSL(const GrGeometryProcessor&, in getTessControlShaderGLSL() argument
141 virtual SkString getTessEvaluationShaderGLSL(const GrGeometryProcessor&, in getTessEvaluationShaderGLSL() argument
/external/skia/tests/
DPrimitiveProcessorTest.cpp66 class GP : public GrGeometryProcessor { in onCreateProgramInfo()
68 static GrGeometryProcessor* Make(SkArenaAlloc* arena, int numAttribs) { in onCreateProgramInfo()
90 const GrGeometryProcessor&) override {} in onCreateProgramInfo() argument
123 using INHERITED = GrGeometryProcessor; in onCreateProgramInfo()
126 GrGeometryProcessor* gp = GP::Make(arena, fNumAttribs); in onCreateProgramInfo()
/external/skqp/src/gpu/
DGrDefaultGeoProcFactory.h90 sk_sp<GrGeometryProcessor> Make(const GrShaderCaps*,
101 sk_sp<GrGeometryProcessor> MakeForDeviceSpace(const GrShaderCaps*,
112 sk_sp<GrGeometryProcessor> MakeWithBones(const GrShaderCaps*,
DGrDefaultGeoProcFactory.cpp40 class DefaultGeoProc : public GrGeometryProcessor {
42 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps* shaderCaps, in Make()
52 return sk_sp<GrGeometryProcessor>(new DefaultGeoProc( in Make()
229 static inline void GenKey(const GrGeometryProcessor& gp, in GenKey()
389 typedef GrGeometryProcessor INHERITED;
404 sk_sp<GrGeometryProcessor> DefaultGeoProc::TestCreate(GrProcessorTestData* d) { in TestCreate()
441 sk_sp<GrGeometryProcessor> GrDefaultGeoProcFactory::Make(const GrShaderCaps* shaderCaps, in Make()
476 sk_sp<GrGeometryProcessor> GrDefaultGeoProcFactory::MakeForDeviceSpace( in MakeForDeviceSpace()
498 sk_sp<GrGeometryProcessor> GrDefaultGeoProcFactory::MakeWithBones(const GrShaderCaps* shaderCaps, in MakeWithBones()
DGrProcessorUnitTest.h27 class GrGeometryProcessor; variable
123 using GrGeometryProcessorTestFactory = GrProcessorTestFactory<sk_sp<GrGeometryProcessor>>;
152 static sk_sp<GrGeometryProcessor> TestCreate(GrProcessorTestData*);
186 static sk_sp<GrGeometryProcessor> TestCreate(GrProcessorTestData*);
/external/skia/src/gpu/tessellate/
DGrStencilPathShader.cpp98 const GrGeometryProcessor& geomProc) override { in setData()
114 SkString getTessControlShaderGLSL(const GrGeometryProcessor&, in createGLSLInstance() argument
171 SkString getTessEvaluationShaderGLSL(const GrGeometryProcessor&, in createGLSLInstance() argument
213 SkString getTessControlShaderGLSL(const GrGeometryProcessor&, in createGLSLInstance() argument
260 SkString getTessEvaluationShaderGLSL(const GrGeometryProcessor&, in createGLSLInstance() argument
/external/skia/src/gpu/ops/
DGrDashOp.cpp203 static GrGeometryProcessor* make_dash_gp(SkArenaAlloc* arena,
326 GrGeometryProcessor* gp; in onCreateProgramInfo()
812 class DashingCircleEffect : public GrGeometryProcessor {
816 static GrGeometryProcessor* Make(SkArenaAlloc* arena,
853 using INHERITED = GrGeometryProcessor;
864 static inline void GenKey(const GrGeometryProcessor&,
870 const GrGeometryProcessor&) override;
951 const GrGeometryProcessor& geomProc) { in setData()
960 void GLDashingCircleEffect::GenKey(const GrGeometryProcessor& gp, in GenKey()
973 GrGeometryProcessor* DashingCircleEffect::Make(SkArenaAlloc* arena, in Make()
[all …]

1234567