Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/effects/
DGrBezierEffect.h58 class GrConicEffect : public GrGeometryProcessor {
60 static sk_sp<GrGeometryProcessor> Make(GrColor color,
72 return sk_sp<GrGeometryProcessor>(
79 return sk_sp<GrGeometryProcessor>(
84 return sk_sp<GrGeometryProcessor>(
126 typedef GrGeometryProcessor INHERITED;
140 class GrQuadEffect : public GrGeometryProcessor {
142 static sk_sp<GrGeometryProcessor> Make(GrColor color,
154 return sk_sp<GrGeometryProcessor>(
161 return sk_sp<GrGeometryProcessor>(
[all …]
DGrDistanceFieldGeoProc.h49 class GrDistanceFieldA8TextGeoProc : public GrGeometryProcessor {
52 static sk_sp<GrGeometryProcessor> Make(GrResourceProvider* resourceProvider, in Make()
57 return sk_sp<GrGeometryProcessor>( in Make()
62 static sk_sp<GrGeometryProcessor> Make(GrResourceProvider* resourceProvider,
67 return sk_sp<GrGeometryProcessor>(
114 typedef GrGeometryProcessor INHERITED;
124 class GrDistanceFieldPathGeoProc : public GrGeometryProcessor {
126 static sk_sp<GrGeometryProcessor> Make(GrResourceProvider* resourceProvider, GrColor color, in Make()
130 return sk_sp<GrGeometryProcessor>( in Make()
167 typedef GrGeometryProcessor INHERITED;
[all …]
DGrShadowGeoProc.h20 class GrRRectShadowGeoProc : public GrGeometryProcessor {
22 static sk_sp<GrGeometryProcessor> Make(const SkMatrix& localMatrix) { in Make()
23 return sk_sp<GrGeometryProcessor>(new GrRRectShadowGeoProc(localMatrix)); in Make()
51 typedef GrGeometryProcessor INHERITED;
DGrBitmapTextGeoProc.h22 class GrBitmapTextGeoProc : public GrGeometryProcessor {
24 static sk_sp<GrGeometryProcessor> Make(GrResourceProvider* resourceProvider, GrColor color, in Make()
28 return sk_sp<GrGeometryProcessor>( in Make()
66 typedef GrGeometryProcessor INHERITED;
DGrBezierEffect.cpp20 GrGLConicEffect(const GrGeometryProcessor&);
24 static inline void GenKey(const GrGeometryProcessor&,
65 GrGLConicEffect::GrGLConicEffect(const GrGeometryProcessor& processor) in GrGLConicEffect()
217 void GrGLConicEffect::GenKey(const GrGeometryProcessor& gp, in GenKey()
261 sk_sp<GrGeometryProcessor> GrConicEffect::TestCreate(GrProcessorTestData* d) { in TestCreate()
262 sk_sp<GrGeometryProcessor> gp; in TestCreate()
281 GrGLQuadEffect(const GrGeometryProcessor&);
285 static inline void GenKey(const GrGeometryProcessor&,
326 GrGLQuadEffect::GrGLQuadEffect(const GrGeometryProcessor& processor) in GrGLQuadEffect()
420 void GrGLQuadEffect::GenKey(const GrGeometryProcessor& gp, in GenKey()
[all …]
DGrShadowGeoProc.cpp64 static inline void GenKey(const GrGeometryProcessor& gp, in GenKey()
103 sk_sp<GrGeometryProcessor> GrRRectShadowGeoProc::TestCreate(GrProcessorTestData* d) { in TestCreate()
DGrDistanceFieldGeoProc.cpp195 static inline void GenKey(const GrGeometryProcessor& gp, in GenKey()
268 sk_sp<GrGeometryProcessor> GrDistanceFieldA8TextGeoProc::TestCreate(GrProcessorTestData* d) { in TestCreate()
453 static inline void GenKey(const GrGeometryProcessor& gp, in GenKey()
511 sk_sp<GrGeometryProcessor> GrDistanceFieldPathGeoProc::TestCreate(GrProcessorTestData* d) { in TestCreate()
750 static inline void GenKey(const GrGeometryProcessor& gp, in GenKey()
815 sk_sp<GrGeometryProcessor> GrDistanceFieldLCDTextGeoProc::TestCreate(GrProcessorTestData* d) { in TestCreate()
/external/skia/src/gpu/
DGrDefaultGeoProcFactory.cpp31 class DefaultGeoProc : public GrGeometryProcessor {
33 static sk_sp<GrGeometryProcessor> Make(uint32_t gpTypeFlags, in Make()
39 return sk_sp<GrGeometryProcessor>(new DefaultGeoProc( in Make()
136 static inline void GenKey(const GrGeometryProcessor& gp, in GenKey()
234 typedef GrGeometryProcessor INHERITED;
240 sk_sp<GrGeometryProcessor> DefaultGeoProc::TestCreate(GrProcessorTestData* d) { in TestCreate()
265 sk_sp<GrGeometryProcessor> GrDefaultGeoProcFactory::Make(const Color& color, in Make()
290 sk_sp<GrGeometryProcessor> GrDefaultGeoProcFactory::MakeForDeviceSpace( in MakeForDeviceSpace()
DGrProcessor.cpp30 class GrGeometryProcessor;
44 SkTArray<GrProcessorTestFactory<GrGeometryProcessor>*, true>*
45 GrProcessorTestFactory<GrGeometryProcessor>::GetFactories() { in GetFactories()
46 static SkTArray<GrProcessorTestFactory<GrGeometryProcessor>*, true> gFactories; in GetFactories()
74 void GrProcessorTestFactory<GrGeometryProcessor>::VerifyFactoryCount() { in VerifyFactoryCount()
DGrGeometryProcessor.h20 class GrGeometryProcessor : public GrPrimitiveProcessor {
22 GrGeometryProcessor() in GrGeometryProcessor() function
DGrDefaultGeoProcFactory.h110 sk_sp<GrGeometryProcessor> Make(const Color&,
120 sk_sp<GrGeometryProcessor> MakeForDeviceSpace(const Color&,
/external/skia/src/gpu/glsl/
DGrGLSLVarying.h129 void addPassThroughAttribute(const GrGeometryProcessor::Attribute*, const char* output,
131 void addFlatPassThroughAttribute(const GrGeometryProcessor::Attribute*, const char* output,
134 void emitAttributes(const GrGeometryProcessor& gp);
171 void writePassThroughAttribute(const GrGeometryProcessor::Attribute*, const char* output,
DGrGLSLVarying.cpp12 void GrGLSLVaryingHandler::addPassThroughAttribute(const GrGeometryProcessor::Attribute* input, in addPassThroughAttribute()
20 void GrGLSLVaryingHandler::addFlatPassThroughAttribute(const GrGeometryProcessor::Attribute* input, in addFlatPassThroughAttribute()
29 void GrGLSLVaryingHandler::writePassThroughAttribute(const GrGeometryProcessor::Attribute* input, in writePassThroughAttribute()
65 void GrGLSLVaryingHandler::emitAttributes(const GrGeometryProcessor& gp) { in emitAttributes()
68 const GrGeometryProcessor::Attribute& attr = gp.getAttrib(i); in emitAttributes()
/external/skia/include/gpu/
DGrProcessorUnitTest.h142 static GrProcessorTestFactory<GrGeometryProcessor> gTestFactory SK_UNUSED; \
143 static sk_sp<GrGeometryProcessor> TestCreate(GrProcessorTestData*)
161 GrProcessorTestFactory<GrGeometryProcessor> Effect::gTestFactory(Effect::TestCreate)
177 static sk_sp<GrGeometryProcessor> TestCreate(GrProcessorTestData*)
/external/skia/src/gpu/ops/
DGrDashOp.cpp234 static sk_sp<GrGeometryProcessor> make_dash_gp(GrColor,
337 sk_sp<GrGeometryProcessor> gp; in onPrepareDraws()
751 class DashingCircleEffect : public GrGeometryProcessor {
755 static sk_sp<GrGeometryProcessor> Make(GrColor,
794 typedef GrGeometryProcessor INHERITED;
805 static inline void GenKey(const GrGeometryProcessor&,
894 void GLDashingCircleEffect::GenKey(const GrGeometryProcessor& gp, in GenKey()
906 sk_sp<GrGeometryProcessor> DashingCircleEffect::Make(GrColor color, in Make()
910 return sk_sp<GrGeometryProcessor>( in Make()
940 sk_sp<GrGeometryProcessor> DashingCircleEffect::TestCreate(GrProcessorTestData* d) { in TestCreate()
[all …]
DGrAnalyticRectOp.cpp52 class RectGeometryProcessor : public GrGeometryProcessor {
186 static void GenKey(const GrGeometryProcessor& gp, in GenKey()
220 typedef GrGeometryProcessor INHERITED;
226 sk_sp<GrGeometryProcessor> RectGeometryProcessor::TestCreate(GrProcessorTestData* d) { in TestCreate()
227 return sk_sp<GrGeometryProcessor>(new RectGeometryProcessor(GrTest::TestMatrix(d->fRandom))); in TestCreate()
292 sk_sp<GrGeometryProcessor> gp(new RectGeometryProcessor(localMatrix)); in onPrepareDraws()
DGrMeshDrawOp.h73 void recordDraw(Target*, const GrGeometryProcessor*);
128 GrPendingProgramElement<const GrGeometryProcessor> fGeometryProcessor;
DGrMSAAPathRenderer.cpp113 class MSAAQuadProcessor : public GrGeometryProcessor {
115 static GrGeometryProcessor* Create(const SkMatrix& viewMatrix) { in Create()
130 GLSLProcessor(const GrGeometryProcessor& qpr) {} in GLSLProcessor()
161 static inline void GenKey(const GrGeometryProcessor& gp, in GenKey()
215 typedef GrGeometryProcessor INHERITED;
402 sk_sp<GrGeometryProcessor> lineGP; in onPrepareDraws()
425 sk_sp<const GrGeometryProcessor> quadGP(MSAAQuadProcessor::Create(fViewMatrix)); in onPrepareDraws()
DGrAAConvexPathRenderer.cpp525 class QuadEdgeEffect : public GrGeometryProcessor {
528 static sk_sp<GrGeometryProcessor> Make(GrColor color, const SkMatrix& localMatrix, in Make()
530 return sk_sp<GrGeometryProcessor>(new QuadEdgeEffect(color, localMatrix, usesLocalCoords)); in Make()
598 static inline void GenKey(const GrGeometryProcessor& gp, in GenKey()
651 typedef GrGeometryProcessor INHERITED;
657 sk_sp<GrGeometryProcessor> QuadEdgeEffect::TestCreate(GrProcessorTestData* d) { in TestCreate()
708 static sk_sp<GrGeometryProcessor> create_fill_gp(bool tweakAlphaForCoverage, in create_fill_gp()
768 sk_sp<GrGeometryProcessor> gp(create_fill_gp( in prepareLinesOnlyDraws()
841 sk_sp<GrGeometryProcessor> quadProcessor( in onPrepareDraws()
DGrTessellatingPathRenderer.cpp202 void draw(Target* target, const GrGeometryProcessor* gp) const { in draw()
253 void drawAA(Target* target, const GrGeometryProcessor* gp) const { in drawAA()
274 sk_sp<GrGeometryProcessor> gp; in onPrepareDraws()
311 void drawVertices(Target* target, const GrGeometryProcessor* gp, const GrBuffer* vb, in drawVertices()
DGrMeshDrawOp.cpp46 void GrMeshDrawOp::InstancedHelper::recordDraw(Target* target, const GrGeometryProcessor* gp) { in recordDraw()
92 void GrMeshDrawOp::Target::draw(const GrGeometryProcessor* gp, const GrMesh& mesh) { in draw()
DGrOvalOpFactory.cpp75 class CircleGeometryProcessor : public GrGeometryProcessor {
209 static void GenKey(const GrGeometryProcessor& gp, in GenKey()
243 typedef GrGeometryProcessor INHERITED;
249 sk_sp<GrGeometryProcessor> CircleGeometryProcessor::TestCreate(GrProcessorTestData* d) { in TestCreate()
250 return sk_sp<GrGeometryProcessor>(new CircleGeometryProcessor( in TestCreate()
266 class EllipseGeometryProcessor : public GrGeometryProcessor {
353 static void GenKey(const GrGeometryProcessor& gp, in GenKey()
381 typedef GrGeometryProcessor INHERITED;
387 sk_sp<GrGeometryProcessor> EllipseGeometryProcessor::TestCreate(GrProcessorTestData* d) { in TestCreate()
388 return sk_sp<GrGeometryProcessor>( in TestCreate()
[all …]
/external/skia/gm/
Dbeziereffects.cpp33 static std::unique_ptr<GrMeshDrawOp> Make(sk_sp<GrGeometryProcessor> gp, const SkRect& rect, in Make()
40 BezierCubicOrConicTestOp(sk_sp<GrGeometryProcessor> gp, const SkRect& rect, GrColor color, in BezierCubicOrConicTestOp()
74 sk_sp<GrGeometryProcessor> fGeometryProcessor;
138 sk_sp<GrGeometryProcessor> gp; in onDraw()
278 sk_sp<GrGeometryProcessor> gp; in onDraw()
399 static std::unique_ptr<GrMeshDrawOp> Make(sk_sp<GrGeometryProcessor> gp, const SkRect& rect, in Make()
406 BezierQuadTestOp(sk_sp<GrGeometryProcessor> gp, const SkRect& rect, GrColor color, in BezierQuadTestOp()
434 sk_sp<GrGeometryProcessor> fGeometryProcessor;
497 sk_sp<GrGeometryProcessor> gp; in onDraw()
/external/skia/src/gpu/instanced/
DInstanceProcessor.h23 class InstanceProcessor : public GrGeometryProcessor {
64 typedef GrGeometryProcessor INHERITED;
/external/skia/tests/
DPrimitiveProcessorTest.cpp52 class GP : public GrGeometryProcessor { in onPrepareDraws()
91 sk_sp<GrGeometryProcessor> gp(new GP(fNumAttribs)); in onPrepareDraws()

12