Searched refs:fRadius (Results 1 - 25 of 50) sorted by relevance

12

/external/chromium_org/third_party/skia/src/gpu/effects/
H A DGr1DKernelEffect.h36 , fRadius(radius) {}
42 int radius() const { return fRadius; }
43 int width() const { return WidthFromRadius(fRadius); }
49 int fRadius; member in class:Gr1DKernelEffect
H A DGrConvolutionEffect.cpp35 int width() const { return Gr1DKernelEffect::WidthFromRadius(fRadius); }
39 int fRadius; member in class:GrGLConvolutionEffect
53 fRadius = c.radius();
83 fsBuilder->codeAppendf("\t\tvec2 coord = %s - %d.0 * %s;\n", coords2D.c_str(), fRadius, imgInc);
113 SkASSERT(conv.radius() == fRadius);
/external/skia/src/gpu/effects/
H A DGr1DKernelEffect.h36 , fRadius(radius) {}
42 int radius() const { return fRadius; }
43 int width() const { return WidthFromRadius(fRadius); }
49 int fRadius; member in class:Gr1DKernelEffect
H A DGrConvolutionEffect.cpp34 int width() const { return Gr1DKernelEffect::WidthFromRadius(fRadius); }
38 int fRadius; member in class:GrGLConvolutionEffect
52 fRadius = c.radius();
80 builder->fsCodeAppendf("\t\tvec2 coord = %s - %d.0 * %s;\n", coords2D.c_str(), fRadius, imgInc);
110 SkASSERT(conv.radius() == fRadius);
/external/chromium_org/third_party/skia/bench/
H A DMorphologyBench.cpp31 SkScalar fRadius; member in class:MorphologyBench
38 fRadius = rad;
63 r.offset(fRadius, fRadius);
65 if (fRadius > 0) {
69 mf = SkDilateImageFilter::Create(SkScalarFloorToInt(fRadius),
70 SkScalarFloorToInt(fRadius));
73 mf = SkErodeImageFilter::Create(SkScalarFloorToInt(fRadius),
74 SkScalarFloorToInt(fRadius));
H A DBlurBench.cpp31 SkScalar fRadius; member in class:BlurBench
38 fRadius = rad;
66 r.offset(fRadius, fRadius);
68 if (fRadius > 0) {
70 SkBlurMask::ConvertRadiusToSigma(fRadius),
H A DBlurRectBench.cpp25 SkScalar fRadius; member in class:BlurRectBench
30 fRadius = rad;
32 if (fRadius > SkIntToScalar(25)) {
34 } else if (fRadius > SkIntToScalar(5)) {
47 return fRadius;
60 SkScalar pad = fRadius*3/2 + SK_Scalar1;
/external/skia/bench/
H A DMorphologyBench.cpp31 SkScalar fRadius; member in class:MorphologyBench
38 fRadius = rad;
63 r.offset(fRadius, fRadius);
65 if (fRadius > 0) {
69 mf = SkDilateImageFilter::Create(SkScalarFloorToInt(fRadius),
70 SkScalarFloorToInt(fRadius));
73 mf = SkErodeImageFilter::Create(SkScalarFloorToInt(fRadius),
74 SkScalarFloorToInt(fRadius));
H A DBlurBench.cpp30 SkScalar fRadius; member in class:BlurBench
37 fRadius = rad;
65 r.offset(fRadius, fRadius);
67 if (fRadius > 0) {
69 SkBlurMask::ConvertRadiusToSigma(fRadius),
H A DBlurRectBench.cpp25 SkScalar fRadius; member in class:BlurRectBench
30 fRadius = rad;
32 if (fRadius > SkIntToScalar(25)) {
34 } else if (fRadius > SkIntToScalar(5)) {
47 return fRadius;
60 SkScalar pad = fRadius*3/2 + SK_Scalar1;
/external/chromium_org/third_party/skia/tests/
H A DGradientTest.cpp20 const SkScalar* fRadius; // 2 member in struct:GradRec
74 rec.fRadius[0],
83 REPORTER_ASSERT(reporter, info.fRadius[0] == rec.fRadius[0]);
88 rec.fRadius[0],
90 rec.fRadius[1],
99 REPORTER_ASSERT(reporter, !memcmp(info.fRadius, rec.fRadius, 2 * sizeof(SkScalar)));
116 rec.fRadius[0],
118 rec.fRadius[
[all...]
/external/skia/tests/
H A DGradientTest.cpp21 const SkScalar* fRadius; // 2 member in struct:GradRec
75 rec.fRadius[0],
84 REPORTER_ASSERT(reporter, info.fRadius[0] == rec.fRadius[0]);
89 rec.fRadius[0],
91 rec.fRadius[1],
100 REPORTER_ASSERT(reporter, !memcmp(info.fRadius, rec.fRadius, 2 * sizeof(SkScalar)));
117 rec.fRadius[0],
119 rec.fRadius[
[all...]
/external/skia/src/effects/
H A DSkCornerPathEffect.cpp16 SkCornerPathEffect::SkCornerPathEffect(SkScalar radius) : fRadius(radius) {}
36 if (0 == fRadius) {
71 bool drawSegment = ComputeStep(pts[0], pts[1], fRadius, &step);
133 buffer.writeScalar(fRadius);
137 fRadius = buffer.readScalar();
/external/chromium_org/third_party/skia/include/effects/
H A DSkCornerPathEffect.h41 SkScalar fRadius; member in class:SkCornerPathEffect
/external/skia/include/effects/
H A DSkCornerPathEffect.h39 SkScalar fRadius; member in class:SkCornerPathEffect
/external/chromium_org/third_party/skia/src/effects/
H A DSkCornerPathEffect.cpp16 SkCornerPathEffect::SkCornerPathEffect(SkScalar radius) : fRadius(radius) {}
36 if (0 == fRadius) {
71 bool drawSegment = ComputeStep(pts[0], pts[1], fRadius, &step);
136 buffer.writeScalar(fRadius);
141 fRadius = buffer.readScalar();
H A DSkMorphologyImageFilter.cpp27 fRadius.fWidth = buffer.readInt();
28 fRadius.fHeight = buffer.readInt();
29 buffer.validate((fRadius.fWidth >= 0) &&
30 (fRadius.fHeight >= 0));
39 : INHERITED(1, &input, cropRect, uniqueID), fRadius(SkISize::Make(radiusX, radiusY)) {
44 buffer.writeInt(fRadius.fWidth);
45 buffer.writeInt(fRadius.fHeight);
246 dst->outset(SkIntToScalar(fRadius.width()), SkIntToScalar(fRadius.height()));
347 int width() const { return GrMorphologyEffect::WidthFromRadius(fRadius); }
349 int fRadius; member in class:GrGLMorphologyEffect
[all...]
/external/skia/src/effects/gradients/
H A DSkTwoPointConicalGradient.cpp87 fRadius = SkScalarToFloat(rad0);
88 fDRadius = SkScalarToFloat(rad1) - fRadius;
91 fRadius2 = sqr(fRadius);
92 fRDR = fRadius * fDRadius;
124 float r = lerp(fRec.fRadius, fRec.fDRadius, t);
127 r = lerp(fRec.fRadius, fRec.fDRadius, t);
336 info->fRadius[0] = fRadius1;
337 info->fRadius[1] = fRadius2;
340 SkTSwap(info->fRadius[0], info->fRadius[
[all...]
H A DSkRadialGradient.h49 const SkScalar fRadius; member in class:SkRadialGradient
/external/chromium_org/third_party/skia/samplecode/
H A DClockFaceView.cpp73 : Sk2DPathEffect(matrix), fRadius(radius), fPts(pts) {}
90 dst->addCircle(loc.fX, loc.fY, fRadius);
95 fRadius = buffer.readScalar();
102 buffer.writeScalar(fRadius);
106 SkScalar fRadius; member in class:Dot2DPathEffect
/external/skia/samplecode/
H A DClockFaceView.cpp73 : Sk2DPathEffect(matrix), fRadius(radius), fPts(pts) {}
90 dst->addCircle(loc.fX, loc.fY, fRadius);
94 fRadius = buffer.readScalar();
100 buffer.writeScalar(fRadius);
104 SkScalar fRadius; member in class:Dot2DPathEffect
/external/chromium_org/third_party/skia/src/pdf/
H A DSkPDFShader.cpp303 SkScalar sr = info.fRadius[0];
305 bool posRoot = info.fRadius[1] > info.fRadius[0];
354 SkScalar r0 = info.fRadius[0];
355 SkScalar dr = info.fRadius[1] - info.fRadius[0];
850 transformPoints[1].fX += info->fRadius[0];
856 if (info->fRadius[0] == info->fRadius[1]) {
860 SkScalar dr = info->fRadius[
[all...]
/external/skia/src/pdf/
H A DSkPDFShader.cpp303 SkScalar sr = info.fRadius[0];
305 bool posRoot = info.fRadius[1] > info.fRadius[0];
354 SkScalar r0 = info.fRadius[0];
355 SkScalar dr = info.fRadius[1] - info.fRadius[0];
850 transformPoints[1].fX += info->fRadius[0];
856 if (info->fRadius[0] == info->fRadius[1]) {
860 SkScalar dr = info->fRadius[
[all...]
/external/chromium_org/third_party/skia/src/effects/gradients/
H A DSkRadialGradient.h50 const SkScalar fRadius; member in class:SkRadialGradient
H A DSkTwoPointConicalGradient.cpp87 fRadius = SkScalarToFloat(rad0);
88 fDRadius = SkScalarToFloat(rad1) - fRadius;
91 fRadius2 = sqr(fRadius);
92 fRDR = fRadius * fDRadius;
124 float r = lerp(fRec.fRadius, fRec.fDRadius, t);
127 r = lerp(fRec.fRadius, fRec.fDRadius, t);
336 info->fRadius[0] = fRadius1;
337 info->fRadius[1] = fRadius2;
340 SkTSwap(info->fRadius[0], info->fRadius[
[all...]

Completed in 559 milliseconds

12