Home
last modified time | relevance | path

Searched refs:MipmapMode (Results 1 – 25 of 32) sorted by relevance

12

/external/skia/src/gpu/
DGrSamplerState.h21 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;
DGrSurfaceDrawContext.h261 GrSamplerState::MipmapMode,
283 GrSamplerState::MipmapMode mm, in drawTextureQuad()
326 GrSamplerState::MipmapMode,
703 GrSamplerState::MipmapMode,
DSkGpuDevice_drawTexture.cpp381 GrSamplerState::MipmapMode::kNone, in draw_texture()
396 GrSamplerState::MipmapMode::kNone, in draw_texture()
891 GrSamplerState::MipmapMode::kNone, in drawEdgeAAImageSet()
DGrSurfaceDrawContext.cpp656 GrSamplerState::MipmapMode mm, in drawTexture()
703 GrSamplerState::MipmapMode mm, in drawTexturedQuad()
955 GrSamplerState::MipmapMode mm, in drawTextureSet()
DGrSurfaceContext.cpp1224 GrSamplerState::MipmapMode::kNone); in rescaleInto()
1294 {filter, GrSamplerState::MipmapMode::kNone}, in rescaleInto()
/external/skia/gm/
Dtexelsubset.cpp31 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 …]
Dclockwise.cpp266 GrSamplerState::MipmapMode::kNone, in onDraw()
290 GrSamplerState::MipmapMode::kNone, in onDraw()
/external/skia/src/gpu/vk/
DGrVkSampler.cpp27 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/
DGrTextureOp.cpp228 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 …]
DGrTextureOp.h48 GrSamplerState::MipmapMode,
66 GrSamplerState::MipmapMode,
/external/skia/src/gpu/effects/
DGrTextureEffect.h27 GrSamplerState::MipmapMode mipmapMode = GrSamplerState::MipmapMode::kNone);
149 GrSamplerState::MipmapMode);
DGrTextureEffect.cpp19 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/
DGrMtlSampler.mm56 case GrSamplerState::MipmapMode::kNone: return MTLSamplerMipFilterNotMipmapped;
57 case GrSamplerState::MipmapMode::kNearest: return MTLSamplerMipFilterNearest;
58 case GrSamplerState::MipmapMode::kLinear: return MTLSamplerMipFilterLinear;
/external/skia/tests/
DGrMipMappedTest.cpp374 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);
DRectangleTextureTest.cpp30 for (auto mm : {GrSamplerState::MipmapMode::kNone, GrSamplerState::MipmapMode::kLinear}) { in test_basic_draw_as_src()
DBulkRectTest.cpp153 GrSamplerState::MipmapMode::kNone, in textureop_creation_test()
170 GrSamplerState::MipmapMode::kNone, in textureop_creation_test()
DTextureOpTest.cpp63 GrSamplerState::MipmapMode::kNone, in create_op()
/external/skia/src/gpu/d3d/
DGrD3DResourceProvider.cpp141 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/
Dindex.d.ts443 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;
Dcanvaskit-wasm-tests.ts103 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/
Dcore.spec.js321 {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/
DGrDawnGpu.cpp82 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()
DGrDawnProgramBuilder.cpp487 viewDesc.mipLevelCount = GrSamplerState::MipmapMode::kNone == state.mipmapMode() ? 1 : 0; in set_texture()
/external/skia/src/image/
DSkImage_GpuYUVA.cpp197 sampler.setMipmapMode(GrSamplerState::MipmapMode::kNone); in onAsFragmentProcessor()
/external/skia/modules/canvaskit/
Dexterns.js449 MipmapMode: { property

12