Home
last modified time | relevance | path

Searched refs:useCubic (Results 1 – 10 of 10) sorted by relevance

/external/skia/include/core/
DSkSamplingOptions.h55 const bool useCubic = false; member
69 : useCubic(false) in SkSamplingOptions()
74 : useCubic(false) in SkSamplingOptions()
79 : useCubic(true) in SkSamplingOptions()
89 return useCubic == other.useCubic
/external/skia/src/shaders/
DSkImageShader.cpp247 if (fSampling.useCubic || !supported(fSampling)) { in onMakeContext()
300 if (options.useCubic) { in Make()
461 if (sampling.useCubic) { in doStages()
484 SkASSERT(!sampling.useCubic || sampling.mipmap == SkMipmapMode::kNone); in doStages()
497 if (!sampling.useCubic) { in doStages()
604 if (sampling.useCubic) { in doStages()
623 && !sampling.useCubic && sampling.filter == SkFilterMode::kLinear in doStages()
634 && !sampling.useCubic && sampling.filter == SkFilterMode::kLinear in doStages()
650 && sampling.useCubic in doStages()
661 && sampling.useCubic in doStages()
[all …]
/external/skia/src/core/
DSkSamplingPriv.h26 return !sampling.useCubic || sampling.cubic.B == 0; in NoChangeWithIdentityMatrix()
DSkPictureRecord.cpp928 fWriter.writeBool(sampling.useCubic); in addSampling()
929 if (sampling.useCubic) { in addSampling()
DSkBitmapProcState.cpp188 SkASSERT(!sampling.useCubic); in init()
/external/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp428 can_use_draw_texture(paint, sampling.useCubic, sampling.mipmap)) { in draw_image()
477 if (!sampling.useCubic && in draw_image()
601 if (sampling.filter != SkFilterMode::kNearest || sampling.useCubic) { in draw_tiled_bitmap()
614 int outset = sampling.useCubic ? GrBicubicEffect::kFilterTexelPad : 1; in draw_tiled_bitmap()
674 if (sampling.useCubic || sampling.mipmap != SkMipmapMode::kNone) { in downgrade_to_filter()
781 if (sampling.useCubic) { in drawImageQuad()
847 if (!can_use_draw_texture(paint, sampling.useCubic, sampling.mipmap)) { in drawEdgeAAImageSet()
/external/skia/include/c/
Dsk_types.h236 bool useCubic; member
/external/skia/src/image/
DSkImage.cpp334 if (sampling.useCubic && !GrValidCubicResampler(sampling.cubic)) { in asFragmentProcessor()
359 if (sampling.useCubic) { in MakeFragmentProcessorFromView()
839 buffer.writeBool(sampling.useCubic); in Write()
840 if (sampling.useCubic) { in Write()
DSkImage_GpuYUVA.cpp200 const auto& yuvM = sampling.useCubic ? SkMatrix::I() : m; in onAsFragmentProcessor()
207 if (sampling.useCubic) { in onAsFragmentProcessor()
/external/skia/src/c/
Dsk_surface.cpp326 if (s->useCubic) { in to_sampling()