Home
last modified time | relevance | path

Searched refs:SkSamplingOptions (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/libs/hwui/
DRecordingCanvas.h157 void drawImage(DrawImagePayload&&, SkScalar, SkScalar, const SkSamplingOptions&,
159 void drawImageRect(DrawImagePayload&&, const SkRect*, const SkRect&, const SkSamplingOptions&,
169 SkBlendMode, const SkSamplingOptions&, const SkRect*, const SkPaint*);
231 void drawImage(DrawImagePayload&&, SkScalar, SkScalar, const SkSamplingOptions&,
233 void drawImageRect(DrawImagePayload&&, const SkRect&, const SkRect&, const SkSamplingOptions&,
238 void onDrawImage2(const SkImage*, SkScalar, SkScalar, const SkSamplingOptions&,
242 void onDrawImageRect2(const SkImage*, const SkRect&, const SkRect&, const SkSamplingOptions&,
251 SkBlendMode, const SkSamplingOptions&, const SkRect*, const SkPaint*) override;
DLayer.cpp132 SkSamplingOptions sampling; in draw()
134 sampling = SkSamplingOptions(SkFilterMode::kLinear); in draw()
DRecordingCanvas.cpp344 DrawImage(DrawImagePayload&& payload, SkScalar x, SkScalar y, const SkSamplingOptions& sampling, in DrawImage()
359 SkSamplingOptions sampling;
381 const SkSamplingOptions& sampling, const SkPaint* paint, in DrawImageRect()
397 SkSamplingOptions sampling;
586 DrawAtlas(const SkImage* atlas, int count, SkBlendMode mode, const SkSamplingOptions& sampling, in DrawAtlas()
600 SkSamplingOptions sampling;
881 const SkSamplingOptions& sampling, const SkPaint* paint) { in drawImage()
885 const SkRect& dst, const SkSamplingOptions& sampling, in drawImageRect()
935 const SkSamplingOptions& sampling, const SkRect* cull, in drawAtlas()
1211 const SkSamplingOptions& sampling, const SkPaint* paint) { in drawImage()
[all …]
DReadback.cpp229 SkSamplingOptions sampling(SkFilterMode::kNearest); in copySurfaceInto()
236 sampling = SkSamplingOptions(SkFilterMode::kLinear); in copySurfaceInto()
/frameworks/base/libs/hwui/effects/
DGainmapRenderer.h31 const SkRect& dst, const SkSamplingOptions& sampling, const SkPaint* paint,
38 SkTileMode tileModeY, const SkSamplingOptions& sampling);
DGainmapRenderer.cpp69 const SkRect& dst, const SkSamplingOptions& sampling, const SkPaint* paint, in DrawGainmapBitmap()
181 SkTileMode tileModeY, const SkSamplingOptions& samplingOptions) { in setupChildren()
279 SkTileMode tileModeY, const SkSamplingOptions& sampling) { in DeferredGainmapShader()
288 SkTileMode tileModeY, const SkSamplingOptions& sampling) { in Make()
304 SkTileMode tileModeY, const SkSamplingOptions& sampling) { in MakeGainmapShader()
314 SkTileMode tileModeY, const SkSamplingOptions& sampling) { in MakeGainmapShader()
DStretchEffect.cpp213 SkSamplingOptions(SkFilterMode::kLinear), matrix); in getShader()
/frameworks/native/libs/renderengine/skia/filters/
DMouriMap.cpp152 SkSamplingOptions()); in downchunk()
164 input->makeRawShader(SkTileMode::kClamp, SkTileMode::kClamp, SkSamplingOptions()); in blur()
176 SkSamplingOptions(SkFilterMode::kLinear, SkMipmapMode::kNone)); in tonemap()
DGaussianBlurFilter.cpp64 SkSamplingOptions{SkFilterMode::kLinear, SkMipmapMode::kNone}, in generate()
DBlurFilter.cpp88 SkSamplingOptions linearSampling(SkFilterMode::kLinear, SkMipmapMode::kNone); in drawBlurRegion()
DKawaseBlurFilter.cpp104 SkSamplingOptions linear(SkFilterMode::kLinear, SkMipmapMode::kNone); in generate()
/frameworks/base/libs/hwui/tests/unit/
DFatalTestCanvas.h66 SkBlendMode, const SkSamplingOptions&, const SkRect* cull, const SkPaint*) { in onDrawAtlas2() argument
72 void onDrawImageRect2(const SkImage*, const SkRect&, const SkRect&, const SkSamplingOptions&, in onDrawImageRect2() argument
/frameworks/base/libs/hwui/tests/common/
DCallCountingCanvas.h113 void onDrawImageRect2(const SkImage*, const SkRect&, const SkRect&, const SkSamplingOptions&, in onDrawImageRect2() argument
126 const SkColor colors[], int count, SkBlendMode mode, const SkSamplingOptions&, in onDrawAtlas2() argument
/frameworks/base/libs/hwui/hwui/
DPaint.h158 SkSamplingOptions sampling() const { in sampling()
159 return SkSamplingOptions(this->filterMode()); in sampling()
DImageDecoder.cpp464 SkSamplingOptions(SkFilterMode::kLinear)); in decode()
495 canvas.drawImage(tmp.asImage(), 0, 0, SkSamplingOptions(SkFilterMode::kLinear), &paint); in decode()
/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp183 SkSamplingOptions sampling(SkFilterMode::kNearest); in DrawLayer()
185 sampling = SkSamplingOptions(SkFilterMode::kLinear); in DrawLayer()
DBackdropFilterDrawable.cpp90 SkSamplingOptions(SkFilterMode::kLinear), &mPaint, in onDraw()
DVkInteropFunctorDrawable.cpp191 canvas->drawImage(functorImage, 0, 0, SkSamplingOptions(), &paint); in onDraw()
DDumpOpsCanvas.h93 void onDrawImageRect2(const SkImage*, const SkRect&, const SkRect&, const SkSamplingOptions&, in onDrawImageRect2() argument
/frameworks/base/libs/hwui/tests/common/scenes/
DBitmapShaders.cpp57 SkSamplingOptions sampling; in createContent()
DHwBitmapInCompositeShader.cpp79 return image->makeShader(SkSamplingOptions()); in createBitmapShader()
/frameworks/base/libs/hwui/jni/
DShader.cpp64 SkSamplingOptions sampling = maxAniso > 0 ? SkSamplingOptions::Aniso(static_cast<int>(maxAniso)) in BitmapShader_constructor()
65 : SkSamplingOptions(filter ? SkFilterMode::kLinear in BitmapShader_constructor()
DRenderEffect.cpp69 image, srcRect, dstRect, SkSamplingOptions(SkFilterMode::kLinear)); in createBitmapEffect()
/frameworks/base/libs/hwui/canvas/
DCanvasOps.h353 canvas->drawImage(image, left, top, SkSamplingOptions(filter), &paint);
385 SkSamplingOptions(filter),
/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.cpp804 dstCanvas->drawImage(blurInput, 0, 0, SkSamplingOptions(), &paint); in drawLayersInternal()
806 activeSurface->draw(dstCanvas, 0, 0, SkSamplingOptions(), &paint); in drawLayersInternal()
1022 SkSamplingOptions( in drawLayersInternal()
1026 shader = image->makeShader(SkSamplingOptions(), matrix); in drawLayersInternal()

12