/external/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;
|
D | GrSurfaceDrawContext.h | 261 GrSamplerState::MipmapMode, 283 GrSamplerState::MipmapMode mm, in drawTextureQuad() 326 GrSamplerState::MipmapMode, 703 GrSamplerState::MipmapMode,
|
D | SkGpuDevice_drawTexture.cpp | 381 GrSamplerState::MipmapMode::kNone, in draw_texture() 396 GrSamplerState::MipmapMode::kNone, in draw_texture() 891 GrSamplerState::MipmapMode::kNone, in drawEdgeAAImageSet()
|
D | GrSurfaceDrawContext.cpp | 656 GrSamplerState::MipmapMode mm, in drawTexture() 703 GrSamplerState::MipmapMode mm, in drawTexturedQuad() 955 GrSamplerState::MipmapMode mm, in drawTextureSet()
|
D | GrSurfaceContext.cpp | 1224 GrSamplerState::MipmapMode::kNone); in rescaleInto() 1294 {filter, GrSamplerState::MipmapMode::kNone}, in rescaleInto()
|
/external/skia/gm/ |
D | texelsubset.cpp | 31 using MipmapMode = GrSamplerState::MipmapMode; typedef 41 TexelSubset(Filter filter, MipmapMode mm, bool upscale) in TexelSubset() 58 case MipmapMode::kNone: in onShortName() 60 case MipmapMode::kNearest: in onShortName() 63 case MipmapMode::kLinear: in onShortName() 87 GrMipmapped mipmapped = (fMipmapMode != MipmapMode::kNone) ? GrMipmapped::kYes in onDraw() 215 MipmapMode fMipmapMode; 221 DEF_GM(return new TexelSubset(Filter::kNearest, MipmapMode::kNone , false);) 222 DEF_GM(return new TexelSubset(Filter::kNearest, MipmapMode::kNone , true );) 223 DEF_GM(return new TexelSubset(Filter::kLinear , MipmapMode::kNone , false);) [all …]
|
D | clockwise.cpp | 266 GrSamplerState::MipmapMode::kNone, in onDraw() 290 GrSamplerState::MipmapMode::kNone, in onDraw()
|
/external/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()
|
/external/skia/src/gpu/ops/ |
D | GrTextureOp.cpp | 228 GrSamplerState::MipmapMode mm, in Make() 244 GrSamplerState::MipmapMode mm, in Make() 267 bool mipped = (fMetadata.mipmapMode() != GrSamplerState::MipmapMode::kNone); in visitProxies() 348 GrSamplerState::MipmapMode mm, in Metadata() 378 GrSamplerState::MipmapMode mipmapMode() const { in mipmapMode() 379 return static_cast<GrSamplerState::MipmapMode>(fMipmapMode); in mipmapMode() 435 GrSamplerState::MipmapMode mm, in TextureOp() 484 GrSamplerState::MipmapMode mm, in TextureOp() 496 GrSamplerState::MipmapMode::kNone, in TextureOp() 508 GrSamplerState::MipmapMode netMM = GrSamplerState::MipmapMode::kNone; in TextureOp() [all …]
|
D | GrTextureOp.h | 48 GrSamplerState::MipmapMode, 66 GrSamplerState::MipmapMode,
|
/external/skia/src/gpu/effects/ |
D | GrTextureEffect.h | 27 GrSamplerState::MipmapMode mipmapMode = GrSamplerState::MipmapMode::kNone); 149 GrSamplerState::MipmapMode);
|
D | GrTextureEffect.cpp | 19 using MipmapMode = GrSamplerState::MipmapMode; typedef 27 Sampling(Filter filter, MipmapMode mm) : fHWSampler(filter, mm) {} in Sampling() 159 MipmapMode mm) { in Make() 261 MipmapMode mm) { in GetShaderMode() 269 case MipmapMode::kNone: in GetShaderMode() 275 case MipmapMode::kNearest: in GetShaderMode() 276 case MipmapMode::kLinear: in GetShaderMode() 799 MipmapMode mm = MipmapMode::kNone; in TestCreate() 801 mm = testData->fRandom->nextBool() ? MipmapMode::kLinear : MipmapMode::kNone; in TestCreate()
|
/external/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;
|
/external/skia/tests/ |
D | GrMipMappedTest.cpp | 374 GrSamplerState::MipmapMode mm) { in draw_mipmap_into_new_render_target() 414 using MipmapMode = GrSamplerState::MipmapMode; typedef 467 mipmapView, MipmapMode::kLinear); 482 mipmapView, MipmapMode::kLinear); 511 mipmapView, MipmapMode::kNone); 524 std::move(mipmapView), MipmapMode::kLinear);
|
D | RectangleTextureTest.cpp | 30 for (auto mm : {GrSamplerState::MipmapMode::kNone, GrSamplerState::MipmapMode::kLinear}) { in test_basic_draw_as_src()
|
D | BulkRectTest.cpp | 153 GrSamplerState::MipmapMode::kNone, in textureop_creation_test() 170 GrSamplerState::MipmapMode::kNone, in textureop_creation_test()
|
D | TextureOpTest.cpp | 63 GrSamplerState::MipmapMode::kNone, in create_op()
|
/external/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()
|
/external/skia/modules/canvaskit/npm_build/types/ |
D | index.d.ts | 443 readonly MipmapMode: MipmapModeEnumValues; property 1213 mm: MipmapMode, paint: Paint | null): void; 1275 mm: MipmapMode, paint?: Paint): void; 1830 makeShaderOptions(tx: TileMode, ty: TileMode, fm: FilterMode, mm: MipmapMode, 1893 mipmap?: MipmapMode; // defaults to None if not specified 3741 export type MipmapMode = EmbindEnumEntity; alias 3933 None: MipmapMode; 3934 Nearest: MipmapMode; 3935 Linear: MipmapMode;
|
D | canvaskit-wasm-tests.ts | 103 null, null, {filter: CK.FilterMode.Linear, mipmap: CK.MipmapMode.Nearest}); 117 canvas.drawImageOptions(img, 0, -43, CK.FilterMode.Nearest, CK.MipmapMode.Nearest, paint); 125 canvas.drawImageRectOptions(img, someRect, someRect, CK.FilterMode.Linear, CK.MipmapMode.None); 126 …canvas.drawImageRectOptions(img, someRect, someRect, CK.FilterMode.Linear, CK.MipmapMode.None, pai… 272 CK.FilterMode.Nearest, CK.MipmapMode.Linear,
|
/external/skia/modules/canvaskit/tests/ |
D | core.spec.js | 321 {filter: CanvasKit.FilterMode.Nearest, mipmap: CanvasKit.MipmapMode.None}, 322 {filter: CanvasKit.FilterMode.Linear, mipmap: CanvasKit.MipmapMode.Nearest}, 352 CanvasKit.MipmapMode.None); 821 …canvas.drawImageOptions(img, 0, 128, CanvasKit.FilterMode.Linear, CanvasKit.MipmapMode.None, null); 827 CanvasKit.FilterMode.Nearest, CanvasKit.MipmapMode.Nearest, null); 845 CanvasKit.FilterMode.Linear, CanvasKit.MipmapMode.None); 848 CanvasKit.FilterMode.Nearest, CanvasKit.MipmapMode.Nearest);
|
/external/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()
|
D | GrDawnProgramBuilder.cpp | 487 viewDesc.mipLevelCount = GrSamplerState::MipmapMode::kNone == state.mipmapMode() ? 1 : 0; in set_texture()
|
/external/skia/src/image/ |
D | SkImage_GpuYUVA.cpp | 197 sampler.setMipmapMode(GrSamplerState::MipmapMode::kNone); in onAsFragmentProcessor()
|
/external/skia/modules/canvaskit/ |
D | externs.js | 449 MipmapMode: { property
|