Searched refs:Make (Results 276 - 300 of 946) sorted by relevance

<<11121314151617181920>>

/external/skia/gm/
H A Dlightingshader.cpp52 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f),
53 SkVector3::Make(SK_ScalarRoot2Over2,
56 builder.setAmbientLightColor(SkColor3f::Make(0.2f, 0.2f, 0.2f));
77 return SkISize::Make(kGMSize, kGMSize);
108 paint.setShader(SkLightingShader::Make(std::move(diffuseShader), std::move(normalSource),
H A Dperlinnoise.cpp15 fSize = SkISize::Make(80, 80);
24 return SkISize::Make(200, 500);
39 SkISize tileSize = SkISize::Make(fSize.width() / 2, fSize.height() / 2);
98 fSize = SkISize::Make(80, 80);
107 return SkISize::Make(640, 480);
H A Dstrokedlines.cpp66 const SkPoint posOffset = SkPoint::Make(0.5f * cos, 0.5f * sin);
70 const SkPoint negOffset = SkPoint::Make(-0.5f * cos, -0.5f * sin);
112 return SkISize::Make(kNumColumns * (2*kRadius+2*kPad), kNumRows * (2*kRadius+2*kPad));
140 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, kStrokeWidth));
166 p.setMaskFilter(SkBlurMaskFilter::Make(kOuter_SkBlurStyle, 3.0f,
H A Daaa.cpp26 return SkISize::Make(W, H);
95 return SkISize::Make(W, H);
143 return SkISize::Make(W, H);
H A Dbitmapfilters.cpp22 bm->allocPixels(SkImageInfo::Make(2, 2, kIndex_8_SkColorType,
92 return SkISize::Make(540, 330);
118 // Make a bitmap with per-pixels alpha (stroked circle)
144 return SkISize::Make(540, 330);
H A Dfilltypespersp.cpp34 return SkISize::Make(835, 840);
55 SkPoint center = SkPoint::Make(SkIntToScalar(100), SkIntToScalar(100));
81 SkPoint center = SkPoint::Make(SkIntToScalar(100),
H A Dgradtext.cpp45 virtual SkISize onISize() { return SkISize::Make(500, 480); }
74 virtual SkISize onISize() { return SkISize::Make(500, 480); }
107 SkISize onISize() override { return SkISize::Make(500, 480); }
H A Dresizeimagefilter.cpp58 return SkISize::Make(520, 100);
66 SkSize deviceSize = SkSize::Make(16, 16);
108 SkImageSource::Make(std::move(image), inRect, outRect, kHigh_SkFilterQuality));
/external/skia/src/effects/
H A DSkTileImageFilter.cpp23 sk_sp<SkImageFilter> SkTileImageFilter::Make(const SkRect& srcRect, const SkRect& dstRect, function in class:SkTileImageFilter
34 return SkOffsetImageFilter::Make(dstRect.x() - srcRect.x(),
45 SkIPoint inputOffset = SkIPoint::Make(0, 0);
53 if (!dstRect.intersect(SkRect::Make(ctx.clipBounds()))) {
140 return Make(src, dst, common.getInput(0));
H A DSkMorphologyImageFilter.cpp35 sk_sp<SkImageFilter> SkDilateImageFilter::Make(int radiusX, int radiusY, function in class:SkDilateImageFilter
47 sk_sp<SkImageFilter> SkErodeImageFilter::Make(int radiusX, int radiusY, function in class:SkErodeImageFilter
63 , fRadius(SkISize::Make(radiusX, radiusY)) {
96 SkVector radius = SkVector::Make(SkIntToScalar(this->radius().width()),
106 return Make(width, height, common.getInput(0), &common.cropRect());
113 return Make(width, height, common.getInput(0), &common.cropRect());
148 static sk_sp<GrFragmentProcessor> Make(GrResourceProvider* resourceProvider, function in class:GrMorphologyEffect
155 static sk_sp<GrFragmentProcessor> Make(GrResourceProvider* resourceProvider, function in class:GrMorphologyEffect
393 return GrMorphologyEffect::Make(d->resourceProvider(),
413 paint.addColorFragmentProcessor(GrMorphologyEffect::Make(resourceProvide
[all...]
H A DSkColorFilterImageFilter.cpp17 sk_sp<SkImageFilter> SkColorFilterImageFilter::Make(sk_sp<SkColorFilter> cf, function in class:SkColorFilterImageFilter
52 return Make(std::move(cf), common.getInput(0), &common.cropRect());
63 SkIPoint inputOffset = SkIPoint::Make(0, 0);
H A DSkEmbossMaskFilter.cpp16 sk_sp<SkMaskFilter> SkEmbossMaskFilter::Make(SkScalar blurSigma, const Light& light) { function in class:SkEmbossMaskFilter
36 return SkEmbossMaskFilter::Make(blurSigma, light);
115 return Make(sigma, light);
H A DSkImageSource.cpp18 sk_sp<SkImageFilter> SkImageSource::Make(sk_sp<SkImage> image) { function in class:SkImageSource
26 sk_sp<SkImageFilter> SkImageSource::Make(sk_sp<SkImage> image, function in class:SkImageSource
70 return SkImageSource::Make(std::move(image), src, dst, filterQuality);
H A DSkOffsetImageFilter.cpp18 sk_sp<SkImageFilter> SkOffsetImageFilter::Make(SkScalar dx, SkScalar dy, function in class:SkOffsetImageFilter
31 SkIPoint srcOffset = SkIPoint::Make(0, 0);
97 return Make(offset.x(), offset.y(), common.getInput(0), &common.cropRect());
/external/skia/src/gpu/effects/
H A DGrDistanceFieldGeoProc.h52 static sk_sp<GrGeometryProcessor> Make(GrResourceProvider* resourceProvider, function in class:GrDistanceFieldA8TextGeoProc
62 static sk_sp<GrGeometryProcessor> Make(GrResourceProvider* resourceProvider,
126 static sk_sp<GrGeometryProcessor> Make(GrResourceProvider* resourceProvider, GrColor color, function in class:GrDistanceFieldPathGeoProc
180 static DistanceAdjust Make(SkScalar r, SkScalar g, SkScalar b) { function in struct:GrDistanceFieldLCDTextGeoProc::DistanceAdjust
193 static sk_sp<GrGeometryProcessor> Make(GrResourceProvider* resourceProvider, GrColor color, function in class:GrDistanceFieldLCDTextGeoProc
H A DGrTextureDomain.h66 return SkRect::Make(texelRect);
156 static sk_sp<GrFragmentProcessor> Make(GrResourceProvider*,
201 static sk_sp<GrFragmentProcessor> Make(GrResourceProvider*, sk_sp<GrTextureProxy>,
/external/skia/src/gpu/ops/
H A DGrAtlasTextOp.cpp103 flushInfo.fGeometryProcessor = GrBitmapTextGeoProc::Make(
252 GrDistanceFieldLCDTextGeoProc::DistanceAdjust::Make(
255 return GrDistanceFieldLCDTextGeoProc::Make(resourceProvider,
264 return GrDistanceFieldA8TextGeoProc::Make(resourceProvider, color,
269 return GrDistanceFieldA8TextGeoProc::Make(resourceProvider, color,
H A DGrNonAAStrokeRectOp.cpp66 static std::unique_ptr<GrMeshDrawOp> Make(GrColor color, const SkMatrix& viewMatrix, function in class:final
119 gp = GrDefaultGeoProcFactory::Make(color, Coverage::kSolid_Type, localCoordsType,
189 std::unique_ptr<GrMeshDrawOp> Make(GrColor color, function in namespace:GrNonAAStrokeRectOp
194 return NonAAStrokeRectOp::Make(color, viewMatrix, rect, stroke, snapToPixelCenters);
210 return GrNonAAStrokeRectOp::Make(color, viewMatrix, rect, strokeRec, random->nextBool());
/external/skia/bench/
H A DMeasureBench.cpp40 auto p1 = SkPoint::Make(0, 0);
41 auto p2 = SkPoint::Make(30*fSize, 0);
42 auto p3 = SkPoint::Make(15*fSize, 15*fSize);
/external/skia/samplecode/
H A DSampleBlur.cpp25 bm.allocPixels(SkImageInfo::Make(256, 256, kIndex_8_SkColorType,
101 paint.setMaskFilter(SkBlurMaskFilter::Make(gRecs[i].fStyle,
112 paint.setMaskFilter(SkBlurMaskFilter::Make(kNormal_SkBlurStyle,
/external/skia/src/core/
H A DSkGpuBlurUtils.cpp84 sk_sp<GrFragmentProcessor> conv(GrGaussianConvolutionFragmentProcessor::Make(
91 SkRect::Make(dstRect), localMatrix);
106 SkISize size = SkISize::Make(2 * radiusX + 1, 2 * radiusY + 1);
107 SkIPoint kernelOffset = SkIPoint::Make(radiusX, radiusY);
121 SkRect::Make(dstRect), localMatrix);
218 SkIPoint srcOffset = SkIPoint::Make(-dstBounds.x(), -dstBounds.y());
279 SkRect domain = SkRect::Make(*srcBounds);
282 sk_sp<GrFragmentProcessor> fp(GrTextureDomainEffect::Make(
302 SkRect::Make(dstRect), SkRect::Make(srcRec
[all...]
H A DSkSpecialSurface.cpp76 fCanvas->clipRect(SkRect::Make(subset));
123 sk_sp<SkBaseDevice> device(SkGpuDevice::Make(context, fRenderTargetContext, width, height,
130 fCanvas->clipRect(SkRect::Make(subset));
/external/skia/tests/
H A DImageStorageTest.cpp23 static sk_sp<GrFragmentProcessor> Make(sk_sp<GrTexture> texture, GrSLMemoryModel mm, function in class:TestFP
138 paint.addColorFragmentProcessor(TestFP::Make(imageStorageTexture, mm, restrict));
141 SkImageInfo info = SkImageInfo::Make(kS, kS, kRGBA_8888_SkColorType,
H A DPathCoverageTest.cpp114 path[1] = SkPoint::Make(SkIntToScalar(array[0]), SkIntToScalar(array[1]));
115 path[2] = SkPoint::Make(SkIntToScalar(array[2]), SkIntToScalar(array[3]));
120 path[2] = SkPoint::Make(SkIntToScalar(array[i]),
H A DPrimitiveProcessorTest.cpp34 static std::unique_ptr<GrMeshDrawOp> Make(int numAttribs) { function in class:__anon17269::Op
130 Op::Make(attribCnt));
138 Op::Make(attribCnt + 1));

Completed in 2347 milliseconds

<<11121314151617181920>>