Lines Matching defs:const
60 FixedFunctionFlags fixedFunctionFlags() const override { return FixedFunctionFlags::kNone; }
63 const GrCaps& caps, const GrAppliedClip* clip, GrClampType clampType) override {
69 void visitProxies(const GrVisitProxyFunc& func) const override {
78 BezierTestOp(const SkRect& rect, const SkPMColor4f& color, int32_t classID)
86 virtual GrGeometryProcessor* makeGP(const GrCaps& caps, SkArenaAlloc* arena) = 0;
90 void onCreateProgramInfo(const GrCaps* caps,
92 const GrSurfaceProxyView& writeView,
95 const GrDstProxyView& dstProxyView,
116 void onExecute(GrOpFlushState* flushState, const SkRect& chainBounds) final {
130 const SkRect& rect() const { return fRect; }
131 const SkPMColor4f& color() const { return fColor; }
152 const char* name() const final { return "BezierConicTestOp"; }
155 const SkRect& rect,
156 const SkPMColor4f& color,
157 const SkMatrix& klm) {
164 BezierConicTestOp(const SkRect& rect, const SkPMColor4f& color, const SkMatrix& klm)
173 GrGeometryProcessor* makeGP(const GrCaps& caps, SkArenaAlloc* arena) final {
218 static const int kNumConics = 10;
219 static const int kCellWidth = 128;
220 static const int kCellHeight = 128;
237 const SkScalar w = kCellWidth, h = kCellHeight;
238 const SkPMColor4f kOpaqueBlack = SkPMColor4f::FromBytes_RGBA(0xff000000);
240 const SkPoint baseControlPts[kNumConics][3] = {
252 const SkScalar weights[kNumConics] = { 0.62f, 0.01f, 0.95f, 1.48f, 0.37f,
318 static int SplitConic(const SkPoint src[3], SkConic dst[2], const SkScalar weight) {
341 static int ChopConic(const SkPoint src[3], SkConic dst[4], const SkScalar weight) {
361 const char* name() const override { return "BezierQuadTestOp"; }
364 const SkRect& rect,
365 const SkPMColor4f& color,
366 const GrPathUtils::QuadUVMatrix& devToUV) {
373 BezierQuadTestOp(const SkRect& rect, const SkPMColor4f& color,
374 const GrPathUtils::QuadUVMatrix& devToUV)
383 GrGeometryProcessor* makeGP(const GrCaps& caps, SkArenaAlloc* arena) final {
424 static const int kNumQuads = 5;
425 static const int kCellWidth = 128;
426 static const int kCellHeight = 128;
443 const SkScalar w = kCellWidth, h = kCellHeight;
444 const SkPMColor4f kOpaqueBlack = SkPMColor4f::FromBytes_RGBA(0xff000000);
446 const SkPoint baseControlPts[kNumQuads][3] = {