Home
last modified time | relevance | path

Searched refs:FilterMode (Results 1 – 25 of 89) sorted by relevance

1234

/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DSamplerGL.cpp24 GLenum MagFilterMode(dawn::FilterMode filter) { in MagFilterMode()
26 case dawn::FilterMode::Nearest: in MagFilterMode()
28 case dawn::FilterMode::Linear: in MagFilterMode()
35 GLenum MinFilterMode(dawn::FilterMode minFilter, dawn::FilterMode mipMapFilter) { in MinFilterMode()
37 case dawn::FilterMode::Nearest: in MinFilterMode()
39 case dawn::FilterMode::Nearest: in MinFilterMode()
41 case dawn::FilterMode::Linear: in MinFilterMode()
46 case dawn::FilterMode::Linear: in MinFilterMode()
48 case dawn::FilterMode::Nearest: in MinFilterMode()
50 case dawn::FilterMode::Linear: in MinFilterMode()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DSamplerValidationTests.cpp54 kValidAnisoSamplerDesc.minFilter = wgpu::FilterMode::Linear; in TEST_F()
55 kValidAnisoSamplerDesc.magFilter = wgpu::FilterMode::Linear; in TEST_F()
56 kValidAnisoSamplerDesc.mipmapFilter = wgpu::FilterMode::Linear; in TEST_F()
68 samplerDesc.minFilter = wgpu::FilterMode::Nearest; in TEST_F()
69 samplerDesc.magFilter = wgpu::FilterMode::Nearest; in TEST_F()
70 samplerDesc.mipmapFilter = wgpu::FilterMode::Nearest; in TEST_F()
75 samplerDesc.minFilter = wgpu::FilterMode::Nearest; in TEST_F()
80 samplerDesc.magFilter = wgpu::FilterMode::Nearest; in TEST_F()
85 samplerDesc.mipmapFilter = wgpu::FilterMode::Nearest; in TEST_F()
93 kValidAnisoSamplerDesc.minFilter = wgpu::FilterMode::Linear; in TEST_F()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DSamplerGL.cpp24 GLenum MagFilterMode(wgpu::FilterMode filter) { in MagFilterMode()
26 case wgpu::FilterMode::Nearest: in MagFilterMode()
28 case wgpu::FilterMode::Linear: in MagFilterMode()
34 GLenum MinFilterMode(wgpu::FilterMode minFilter, wgpu::FilterMode mipMapFilter) { in MinFilterMode()
36 case wgpu::FilterMode::Nearest: in MinFilterMode()
38 case wgpu::FilterMode::Nearest: in MinFilterMode()
40 case wgpu::FilterMode::Linear: in MinFilterMode()
43 case wgpu::FilterMode::Linear: in MinFilterMode()
45 case wgpu::FilterMode::Nearest: in MinFilterMode()
47 case wgpu::FilterMode::Linear: in MinFilterMode()
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
DSamplingOptions.java11 private FilterMode mFilter;
17 public enum FilterMode { enum in SamplingOptions
29 this(FilterMode.NEAREST); in SamplingOptions()
32 public SamplingOptions(FilterMode f) { in SamplingOptions()
36 public SamplingOptions(FilterMode f, MipmapMode m) { in SamplingOptions()
43 mFilter = FilterMode.NEAREST; in SamplingOptions()
/third_party/vk-gl-cts/framework/common/
DtcuTexVerifierUtil.hpp69 inline bool isNearestMipmapFilter(const Sampler::FilterMode mode) in isNearestMipmapFilter()
74 inline bool isLinearMipmapFilter(const Sampler::FilterMode mode) in isLinearMipmapFilter()
79 inline bool isMipmapFilter(const Sampler::FilterMode mode) in isMipmapFilter()
84 inline bool isNearestFilter(const Sampler::FilterMode mode) in isNearestFilter()
89 inline bool isLinearFilter(const Sampler::FilterMode mode) in isLinearFilter()
94 inline bool isCubicFilter(const Sampler::FilterMode mode) in isCubicFilter()
99 inline Sampler::FilterMode getLevelFilter(const Sampler::FilterMode mode) in getLevelFilter()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DSamplerD3D12.cpp57 case dawn::FilterMode::Nearest: in Sampler()
59 case dawn::FilterMode::Linear: in Sampler()
65 case dawn::FilterMode::Nearest: in Sampler()
67 case dawn::FilterMode::Linear: in Sampler()
73 case dawn::FilterMode::Nearest: in Sampler()
75 case dawn::FilterMode::Linear: in Sampler()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DSamplerVk.cpp37 VkFilter VulkanSamplerFilter(dawn::FilterMode filter) { in VulkanSamplerFilter()
39 case dawn::FilterMode::Linear: in VulkanSamplerFilter()
41 case dawn::FilterMode::Nearest: in VulkanSamplerFilter()
48 VkSamplerMipmapMode VulkanMipMapMode(dawn::FilterMode filter) { in VulkanMipMapMode()
50 case dawn::FilterMode::Linear: in VulkanMipMapMode()
52 case dawn::FilterMode::Nearest: in VulkanMipMapMode()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DSamplerD3D12.cpp44 case wgpu::FilterMode::Nearest: in Sampler()
47 case wgpu::FilterMode::Linear: in Sampler()
54 case wgpu::FilterMode::Nearest: in Sampler()
57 case wgpu::FilterMode::Linear: in Sampler()
64 case wgpu::FilterMode::Nearest: in Sampler()
67 case wgpu::FilterMode::Linear: in Sampler()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DSampler.cpp41 DAWN_INVALID_IF(descriptor->minFilter != wgpu::FilterMode::Linear || in ValidateSamplerDescriptor()
42 descriptor->magFilter != wgpu::FilterMode::Linear || in ValidateSamplerDescriptor()
43 descriptor->mipmapFilter != wgpu::FilterMode::Linear, in ValidateSamplerDescriptor()
47 wgpu::FilterMode::Linear, descriptor->maxAnisotropy); in ValidateSamplerDescriptor()
124 return mMinFilter == wgpu::FilterMode::Linear || mMagFilter == wgpu::FilterMode::Linear || in IsFiltering()
125 mMipmapFilter == wgpu::FilterMode::Linear; in IsFiltering()
DSampler.h69 wgpu::FilterMode mMagFilter;
70 wgpu::FilterMode mMinFilter;
71 wgpu::FilterMode mMipmapFilter;
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DSamplerVk.cpp37 VkFilter VulkanSamplerFilter(wgpu::FilterMode filter) { in VulkanSamplerFilter()
39 case wgpu::FilterMode::Linear: in VulkanSamplerFilter()
41 case wgpu::FilterMode::Nearest: in VulkanSamplerFilter()
47 VkSamplerMipmapMode VulkanMipMapMode(wgpu::FilterMode filter) { in VulkanMipMapMode()
49 case wgpu::FilterMode::Linear: in VulkanMipMapMode()
51 case wgpu::FilterMode::Nearest: in VulkanMipMapMode()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/
DSamplerMTL.mm23 MTLSamplerMinMagFilter FilterModeToMinMagFilter(dawn::FilterMode mode) {
25 case dawn::FilterMode::Nearest:
27 case dawn::FilterMode::Linear:
32 MTLSamplerMipFilter FilterModeToMipFilter(dawn::FilterMode mode) {
34 case dawn::FilterMode::Nearest:
36 case dawn::FilterMode::Linear:
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCLSampler.h33 FilterMode getFilterMode() const;
43 FilterMode filterMode,
50 const FilterMode mFilterMode;
76 inline FilterMode Sampler::getFilterMode() const in getFilterMode()
DCLSampler.cpp49 case SamplerInfo::FilterMode: in getInfo()
88 FilterMode filterMode, in Sampler()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringAnisotropyTests.cpp59 const Sampler::FilterMode minFilter_, in AnisotropyParams()
60 const Sampler::FilterMode magFilter_, in AnisotropyParams()
73 Sampler::FilterMode minFilter;
74 Sampler::FilterMode magFilter;
228 const tcu::Sampler::FilterMode magFilters[] = in createFilteringAnisotropyTests()
236 const tcu::Sampler::FilterMode* minFilters = magFilters; in createFilteringAnisotropyTests()
259 const tcu::Sampler::FilterMode* minFilters = magFilters; in createFilteringAnisotropyTests()
280 const tcu::Sampler::FilterMode minFilters[] = in createFilteringAnisotropyTests()
DvktTextureTestUtil.hpp326 …wrapV, tcu::Sampler::WrapMode wrapW, tcu::Sampler::FilterMode minFilterMode, tcu::Sampler::FilterM…
327 …wrapU, tcu::Sampler::WrapMode wrapV, tcu::Sampler::FilterMode minFilterMode, tcu::Sampler::FilterM…
328 …mpler (tcu::Sampler::WrapMode wrapU, tcu::Sampler::FilterMode minFilterMode, tcu::Sampler::FilterM…
377 tcu::Sampler::FilterMode minFilter;
378 tcu::Sampler::FilterMode magFilter;
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DSamplerMTL.mm23 MTLSamplerMinMagFilter FilterModeToMinMagFilter(wgpu::FilterMode mode) {
25 case wgpu::FilterMode::Nearest:
27 case wgpu::FilterMode::Linear:
32 MTLSamplerMipFilter FilterModeToMipFilter(wgpu::FilterMode mode) {
34 case wgpu::FilterMode::Nearest:
36 case wgpu::FilterMode::Linear:
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DSampler.h53 dawn::FilterMode mMagFilter;
54 dawn::FilterMode mMinFilter;
55 dawn::FilterMode mMipmapFilter;
/third_party/flutter/skia/third_party/externals/angle2/src/common/
DPackedGLEnums_autogen.cpp433 FilterMode FromGLenum<FilterMode>(GLenum from) in FromGLenum()
438 return FilterMode::Nearest; in FromGLenum()
440 return FilterMode::Linear; in FromGLenum()
442 return FilterMode::NearestMipmapNearest; in FromGLenum()
444 return FilterMode::NearestMipmapLinear; in FromGLenum()
446 return FilterMode::LinearMipmapLinear; in FromGLenum()
448 return FilterMode::InvalidEnum; in FromGLenum()
452 GLenum ToGLenum(FilterMode from) in ToGLenum()
456 case FilterMode::Nearest: in ToGLenum()
458 case FilterMode::Linear: in ToGLenum()
[all …]
/third_party/skia/third_party/externals/angle2/src/common/
DPackedGLEnums_autogen.cpp440 FilterMode FromGLenum<FilterMode>(GLenum from) in FromGLenum()
445 return FilterMode::Nearest; in FromGLenum()
447 return FilterMode::Linear; in FromGLenum()
449 return FilterMode::NearestMipmapNearest; in FromGLenum()
451 return FilterMode::NearestMipmapLinear; in FromGLenum()
453 return FilterMode::LinearMipmapLinear; in FromGLenum()
455 return FilterMode::InvalidEnum; in FromGLenum()
459 GLenum ToGLenum(FilterMode from) in ToGLenum()
463 case FilterMode::Nearest: in ToGLenum()
465 case FilterMode::Linear: in ToGLenum()
[all …]
DPackedCLEnums_autogen.h217 enum class FilterMode : uint8_t enum
227 FilterMode FromCLenum<FilterMode>(CLenum from);
228 CLenum ToCLenum(FilterMode from);
229 std::ostream &operator<<(std::ostream &os, FilterMode value);
481 FilterMode = 4, enumerator
DPackedCLEnums_autogen.cpp1084 FilterMode FromCLenum<FilterMode>(CLenum from) in FromCLenum()
1089 return FilterMode::Nearest; in FromCLenum()
1091 return FilterMode::Linear; in FromCLenum()
1093 return FilterMode::InvalidEnum; in FromCLenum()
1097 CLenum ToCLenum(FilterMode from) in ToCLenum()
1101 case FilterMode::Nearest: in ToCLenum()
1103 case FilterMode::Linear: in ToCLenum()
1111 std::ostream &operator<<(std::ostream &os, FilterMode value) in operator <<()
1115 case FilterMode::Nearest: in operator <<()
1118 case FilterMode::Linear: in operator <<()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fSRGBDecodeTests.cpp307 const tcu::Sampler::FilterMode minFilter,
308 const tcu::Sampler::FilterMode magFilter,
325 tcu::Sampler::FilterMode m_minFilter;
326 tcu::Sampler::FilterMode m_magFilter;
335 const tcu::Sampler::FilterMode minFilter, in SRGBTestSampler()
336 const tcu::Sampler::FilterMode magFilter, in SRGBTestSampler()
411 const tcu::Sampler::FilterMode minFilter,
412 const tcu::Sampler::FilterMode magFilter,
438 tcu::Sampler::FilterMode m_minFilter;
439 tcu::Sampler::FilterMode m_magFilter;
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DSamplerTests.cpp124 descriptor.minFilter = wgpu::FilterMode::Nearest; in TestAddressModes()
125 descriptor.magFilter = wgpu::FilterMode::Nearest; in TestAddressModes()
126 descriptor.mipmapFilter = wgpu::FilterMode::Nearest; in TestAddressModes()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DSamplerTests.cpp124 descriptor.minFilter = dawn::FilterMode::Nearest; in TestAddressModes()
125 descriptor.magFilter = dawn::FilterMode::Nearest; in TestAddressModes()
126 descriptor.mipmapFilter = dawn::FilterMode::Nearest; in TestAddressModes()

1234