/third_party/skia/src/gpu/ |
D | GrSamplerState.h | 21 using MipmapMode = SkMipmapMode; variable 36 constexpr GrSamplerState(WrapMode wrapXAndY, Filter filter, MipmapMode mm = MipmapMode::kNone) 42 MipmapMode mm = MipmapMode::kNone) 47 MipmapMode mm = MipmapMode::kNone) 51 constexpr GrSamplerState(Filter filter, MipmapMode mm) : fFilter(filter), fMipmapMode(mm) {} in GrSamplerState() 75 constexpr MipmapMode mipmapMode() const { return fMipmapMode; } in mipmapMode() 78 return GrMipmapped(fMipmapMode != MipmapMode::kNone); in mipmapped() 83 constexpr void setMipmapMode(MipmapMode mm) { fMipmapMode = mm; } in setMipmapMode() 114 * (static_cast<int>(MipmapMode::kLast) + 1); 118 MipmapMode fMipmapMode = GrSamplerState::MipmapMode::kNone;
|
/third_party/skia/gm/ |
D | texelsubset.cpp | 33 using MipmapMode = GrSamplerState::MipmapMode; typedef 43 TexelSubset(Filter filter, MipmapMode mm, bool upscale) in TexelSubset() 60 case MipmapMode::kNone: in onShortName() 62 case MipmapMode::kNearest: in onShortName() 65 case MipmapMode::kLinear: in onShortName() 94 GrMipmapped mipmapped = (fMipmapMode != MipmapMode::kNone) ? GrMipmapped::kYes in onDraw() 222 MipmapMode fMipmapMode; 228 DEF_GM(return new TexelSubset(Filter::kNearest, MipmapMode::kNone , false);) 229 DEF_GM(return new TexelSubset(Filter::kNearest, MipmapMode::kNone , true );) 230 DEF_GM(return new TexelSubset(Filter::kLinear , MipmapMode::kNone , false);) [all …]
|
D | clockwise.cpp | 284 GrSamplerState::MipmapMode::kNone, in onDraw() 308 GrSamplerState::MipmapMode::kNone, in onDraw()
|
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
D | SamplingOptions.java | 12 private MipmapMode mMipmap; 22 public enum MipmapMode { enum in SamplingOptions 33 this(f, MipmapMode.NONE); in SamplingOptions() 36 public SamplingOptions(FilterMode f, MipmapMode m) { in SamplingOptions() 44 mMipmap = MipmapMode.NONE; in SamplingOptions()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkSampler.cpp | 27 static VkSamplerMipmapMode mipmap_mode_to_vk_sampler_mipmap_mode(GrSamplerState::MipmapMode mm) { in mipmap_mode_to_vk_sampler_mipmap_mode() 32 case GrSamplerState::MipmapMode::kNone: return VK_SAMPLER_MIPMAP_MODE_LINEAR; in mipmap_mode_to_vk_sampler_mipmap_mode() 33 case GrSamplerState::MipmapMode::kNearest: return VK_SAMPLER_MIPMAP_MODE_NEAREST; in mipmap_mode_to_vk_sampler_mipmap_mode() 34 case GrSamplerState::MipmapMode::kLinear: return VK_SAMPLER_MIPMAP_MODE_LINEAR; in mipmap_mode_to_vk_sampler_mipmap_mode()
|
/third_party/skia/src/gpu/ops/ |
D | TextureOp.cpp | 233 GrSamplerState::MipmapMode mm, in Make() 249 GrSamplerState::MipmapMode mm, in Make() 272 bool mipped = (fMetadata.mipmapMode() != GrSamplerState::MipmapMode::kNone); in visitProxies() 353 GrSamplerState::MipmapMode mm, in Metadata() 383 GrSamplerState::MipmapMode mipmapMode() const { in mipmapMode() 384 return static_cast<GrSamplerState::MipmapMode>(fMipmapMode); in mipmapMode() 438 GrSamplerState::MipmapMode mm, in TextureOpImpl() 487 const GrSamplerState::MipmapMode mm, in TextureOpImpl() 499 GrSamplerState::MipmapMode::kNone, in TextureOpImpl() 511 GrSamplerState::MipmapMode netMM = GrSamplerState::MipmapMode::kNone; in TextureOpImpl() [all …]
|
D | TextureOp.h | 55 GrSamplerState::MipmapMode, 74 GrSamplerState::MipmapMode,
|
/third_party/skia/src/gpu/effects/ |
D | GrTextureEffect.h | 27 GrSamplerState::MipmapMode mipmapMode = GrSamplerState::MipmapMode::kNone); 150 GrSamplerState::MipmapMode);
|
D | GrTextureEffect.cpp | 18 using MipmapMode = GrSamplerState::MipmapMode; typedef 26 Sampling(Filter filter, MipmapMode mm) : fHWSampler(filter, mm) {} in Sampling() 158 MipmapMode mm) { in Make() 260 MipmapMode mm) { in GetShaderMode() 268 case MipmapMode::kNone: in GetShaderMode() 274 case MipmapMode::kNearest: in GetShaderMode() 275 case MipmapMode::kLinear: in GetShaderMode() 798 MipmapMode mm = MipmapMode::kNone; in TestCreate() 800 mm = testData->fRandom->nextBool() ? MipmapMode::kLinear : MipmapMode::kNone; in TestCreate()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlSampler.mm | 56 case GrSamplerState::MipmapMode::kNone: return MTLSamplerMipFilterNotMipmapped; 57 case GrSamplerState::MipmapMode::kNearest: return MTLSamplerMipFilterNearest; 58 case GrSamplerState::MipmapMode::kLinear: return MTLSamplerMipFilterLinear;
|
/third_party/skia/tests/ |
D | GrMipMappedTest.cpp | 376 GrSamplerState::MipmapMode mm) { in draw_mipmap_into_new_render_target() 416 using MipmapMode = GrSamplerState::MipmapMode; typedef 469 mipmapView, MipmapMode::kLinear); 484 mipmapView, MipmapMode::kLinear); 513 mipmapView, MipmapMode::kNone); 526 std::move(mipmapView), MipmapMode::kLinear);
|
D | RectangleTextureTest.cpp | 31 for (auto mm : {GrSamplerState::MipmapMode::kNone, GrSamplerState::MipmapMode::kLinear}) { in test_basic_draw_as_src()
|
D | BulkRectTest.cpp | 155 GrSamplerState::MipmapMode::kNone, in textureop_creation_test() 172 GrSamplerState::MipmapMode::kNone, in textureop_creation_test()
|
D | TextureOpTest.cpp | 65 GrSamplerState::MipmapMode::kNone, in create_op()
|
/third_party/skia/src/gpu/v1/ |
D | SurfaceDrawContext_v1.h | 245 GrSamplerState::MipmapMode, 267 GrSamplerState::MipmapMode mm, in drawTextureQuad() 299 GrSamplerState::MipmapMode, 668 GrSamplerState::MipmapMode,
|
D | Device_drawTexture.cpp | 384 GrSamplerState::MipmapMode::kNone, in draw_texture() 399 GrSamplerState::MipmapMode::kNone, in draw_texture() 900 GrSamplerState::MipmapMode::kNone, in drawEdgeAAImageSet()
|
D | SurfaceDrawContext.cpp | 646 GrSamplerState::MipmapMode mm, in drawTexture() 693 GrSamplerState::MipmapMode mm, in drawTexturedQuad() 955 GrSamplerState::MipmapMode mm, in drawTextureSet()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DResourceProvider.cpp | 141 case GrSamplerState::MipmapMode::kNone: in d3d_filter() 142 case GrSamplerState::MipmapMode::kNearest: in d3d_filter() 148 case GrSamplerState::MipmapMode::kLinear: in d3d_filter()
|
/third_party/skia/modules/canvaskit/npm_build/types/ |
D | index.d.ts | 438 readonly MipmapMode: MipmapModeEnumValues; property 1217 mm: MipmapMode, paint?: Paint | null): void; 1268 mm: MipmapMode, paint?: Paint | null): void; 1836 makeShaderOptions(tx: TileMode, ty: TileMode, fm: FilterMode, mm: MipmapMode, 1899 mipmap?: MipmapMode; // defaults to None if not specified 3809 export type MipmapMode = EmbindEnumEntity; alias 3994 None: MipmapMode; 3995 Nearest: MipmapMode; 3996 Linear: MipmapMode;
|
D | canvaskit-wasm-tests.ts | 104 null, null, {filter: CK.FilterMode.Linear, mipmap: CK.MipmapMode.Nearest}); 116 canvas.drawImageOptions(img, 0, -43, CK.FilterMode.Nearest, CK.MipmapMode.Nearest, paint); 124 canvas.drawImageRectOptions(img, someRect, someRect, CK.FilterMode.Linear, CK.MipmapMode.None); 125 …canvas.drawImageRectOptions(img, someRect, someRect, CK.FilterMode.Linear, CK.MipmapMode.None, pai… 278 CK.FilterMode.Nearest, CK.MipmapMode.Linear, 314 … { filter: CK.FilterMode.Linear, mipmap: CK.MipmapMode.Nearest },
|
/third_party/skia/modules/canvaskit/tests/ |
D | core.spec.js | 332 {filter: CanvasKit.FilterMode.Nearest, mipmap: CanvasKit.MipmapMode.None}, 333 {filter: CanvasKit.FilterMode.Linear, mipmap: CanvasKit.MipmapMode.Nearest}, 363 CanvasKit.MipmapMode.None); 833 …canvas.drawImageOptions(img, 0, 128, CanvasKit.FilterMode.Linear, CanvasKit.MipmapMode.None, null); 839 CanvasKit.FilterMode.Nearest, CanvasKit.MipmapMode.Nearest, null); 857 CanvasKit.FilterMode.Linear, CanvasKit.MipmapMode.None); 860 CanvasKit.FilterMode.Nearest, CanvasKit.MipmapMode.Nearest);
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnGpu.cpp | 82 static wgpu::FilterMode to_dawn_mipmap_mode(GrSamplerState::MipmapMode mode) { in to_dawn_mipmap_mode() 84 case GrSamplerState::MipmapMode::kNone: in to_dawn_mipmap_mode() 86 case GrSamplerState::MipmapMode::kNearest: in to_dawn_mipmap_mode() 88 case GrSamplerState::MipmapMode::kLinear: in to_dawn_mipmap_mode()
|
/third_party/skia/src/image/ |
D | SkImage_GpuYUVA.cpp | 197 sampler.setMipmapMode(GrSamplerState::MipmapMode::kNone); in onAsFragmentProcessor()
|
/third_party/skia/modules/canvaskit/ |
D | externs.js | 464 MipmapMode: { property
|
D | interface.js | 527 let mipmap = CanvasKit.MipmapMode.None; 878 let mipmap = CanvasKit.MipmapMode.None;
|