Home
last modified time | relevance | path

Searched refs:SkFilterMode (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp144 SkSamplingOptions sampling(SkFilterMode::kNearest); in DrawLayer()
147 sampling = SkSamplingOptions(SkFilterMode::kLinear); in DrawLayer()
153 SkSamplingOptions sampling(SkFilterMode::kNearest); in DrawLayer()
155 sampling = SkSamplingOptions(SkFilterMode::kLinear); in DrawLayer()
DSkiaRecordingCanvas.cpp195 static SkFilterMode Paint_to_filter(const SkPaint& paint) { in Paint_to_filter()
196 return paint.getFilterQuality() != kNone_SkFilterQuality ? SkFilterMode::kLinear in Paint_to_filter()
197 : SkFilterMode::kNearest; in Paint_to_filter()
289 const SkFilterMode filter = SkFilterMode::kLinear; in drawNinePatch()
DDumpOpsCanvas.h100 SkFilterMode, const SkPaint*) override { in onDrawImageLattice2() argument
DRenderNodeDrawable.cpp265 SkSamplingOptions sampling(SkFilterMode::kLinear); in drawContent()
/frameworks/base/libs/hwui/canvas/
DCanvasOps.h330 SkFilterMode filter,
341 SkFilterMode filter;
359 SkFilterMode filter,
370 SkFilterMode filter;
394 SkFilterMode filter,
405 SkFilterMode filter;
/frameworks/base/libs/hwui/
DRecordingCanvas.h123 SkFilterMode, const SkPaint*, BitmapPalette);
196 SkFilterMode, const SkPaint* paint, BitmapPalette palette);
200 void onDrawImageLattice2(const SkImage*, const Lattice&, const SkRect&, SkFilterMode,
DLayer.cpp132 sampling = SkSamplingOptions(SkFilterMode::kLinear); in draw()
DReadback.cpp170 SkSamplingOptions sampling(SkFilterMode::kNearest); in copySurfaceInto()
177 sampling = SkSamplingOptions(SkFilterMode::kLinear); in copySurfaceInto()
DRecordingCanvas.cpp353 const SkRect& dst, SkFilterMode filter, const SkPaint* paint, in DrawImageLattice()
371 SkFilterMode filter;
718 const SkRect& dst, SkFilterMode filter, const SkPaint* paint, in drawImageLattice()
1033 const SkRect& dst, SkFilterMode filter, const SkPaint* paint, in drawImageLattice()
1067 const SkRect& dst, SkFilterMode filter, in onDrawImageLattice2()
DSkiaCanvas.cpp585 static SkFilterMode paintToFilter(const Paint* paint) { in paintToFilter()
586 return paint && paint->isFilterBitmap() ? SkFilterMode::kLinear in paintToFilter()
587 : SkFilterMode::kNearest; in paintToFilter()
DVectorDrawable.cpp511 auto sampling = SkSamplingOptions(SkFilterMode::kLinear); in draw()
/frameworks/native/libs/renderengine/skia/filters/
DBlurFilter.cpp102 SkSamplingOptions linear(SkFilterMode::kLinear, SkMipmapMode::kNone); in generate()
152 SkSamplingOptions linearSampling(SkFilterMode::kLinear, SkMipmapMode::kNone); in drawBlurRegion()
/frameworks/base/libs/hwui/tests/microbench/
DCanvasOpBench.cpp88 SkFilterMode::kNearest, in BM_CanvasOpBuffer_record_simpleBitmapView()
/frameworks/base/libs/hwui/tests/unit/
DFatalTestCanvas.h79 SkFilterMode, const SkPaint*) { in onDrawImageLattice2() argument
DCanvasOpTests.cpp478 SkFilterMode::kNearest, in TEST()
501 SkFilterMode::kNearest, SkPaint{} in TEST()
533 SkFilterMode::kNearest, in TEST()
DRenderNodeDrawableTests.cpp1065 EXPECT_EQ(SkFilterMode::kLinear, sampling.filter); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/libs/hwui/effects/
DStretchEffect.cpp213 SkSamplingOptions(SkFilterMode::kLinear), matrix); in getShader()
/frameworks/base/libs/hwui/tests/common/
DCallCountingCanvas.h124 const SkRect& dst, SkFilterMode, const SkPaint* paint) override { in onDrawImageLattice2() argument
/frameworks/base/libs/hwui/jni/
DRenderEffect.cpp68 image, srcRect, dstRect, SkSamplingOptions(SkFilterMode::kLinear)); in createBitmapEffect()
DShader.cpp80 SkSamplingOptions sampling(filter ? SkFilterMode::kLinear : SkFilterMode::kNearest, in BitmapShader_constructor()
DBitmapFactory.cpp465 SkSamplingOptions(SkFilterMode::kLinear), &paint); in doDecode()
/frameworks/base/libs/hwui/hwui/
DImageDecoder.cpp446 SkSamplingOptions(SkFilterMode::kLinear)); in decode()
474 canvas.drawImage(tmp.asImage(), 0, 0, SkSamplingOptions(SkFilterMode::kLinear), &paint); in decode()
/frameworks/native/libs/renderengine/skia/
DSkiaGLRenderEngine.cpp1061 {SkFilterMode::kLinear, SkMipmapMode::kNone}), in drawLayers()