Home
last modified time | relevance | path

Searched refs:filterMode (Results 1 – 25 of 37) sorted by relevance

12

/third_party/flutter/skia/src/gpu/
DGrPrimitiveProcessor.cpp64 GrSamplerState::Filter filterMode, in TextureSampler() argument
67 this->reset(textureType, filterMode, wrapXAndY, swizzle); in TextureSampler()
83 GrSamplerState::Filter filterMode, in reset() argument
86 filterMode = clamp_filter(textureType, filterMode); in reset()
87 fSamplerState = GrSamplerState(wrapXAndY, filterMode); in reset()
DGrFragmentProcessor.cpp426 GrSamplerState::Filter filterMode, in TextureSampler() argument
428 this->reset(std::move(proxy), filterMode, wrapXAndY); in TextureSampler()
439 GrSamplerState::Filter filterMode, in reset() argument
442 filterMode = SkTMin(filterMode, this->proxy()->highestFilterMode()); in reset()
443 fSamplerState = GrSamplerState(wrapXAndY, filterMode); in reset()
DGrSamplerState.h45 void setFilterMode(Filter filterMode) { fFilter = filterMode; } in setFilterMode() argument
DSkGpuDevice_drawTexture.cpp271 const GrSamplerState::Filter* filterMode = doBicubic ? nullptr : &fm; in draw_texture_producer() local
286 if (filterMode && GrSamplerState::Filter::kBilerp == *filterMode && in draw_texture_producer()
305 coordsAllInsideSrcRect, filterMode); in draw_texture_producer()
/third_party/flutter/skia/src/gpu/effects/
DGrBicubicEffect.cpp236 bool GrBicubicEffect::ShouldUseBicubic(const SkMatrix& matrix, GrSamplerState::Filter* filterMode) { in ShouldUseBicubic() argument
239 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()
242 *filterMode = GrSamplerState::Filter::kBilerp; in ShouldUseBicubic()
245 *filterMode = GrSamplerState::Filter::kMipMap; in ShouldUseBicubic()
250 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()
DGrYUVtoRGBEffect.cpp41 GrSamplerState::Filter filterMode, in Make() argument
49 GrSamplerState::Filter minimizeFilterMode = GrSamplerState::Filter::kMipMap == filterMode ? in Make()
59 filterModes[i] = (size == YSize) ? filterMode : minimizeFilterMode; in Make()
DGrYUVtoRGBEffect.h28 GrSamplerState::Filter filterMode,
DGrBicubicEffect.h113 GrSamplerState::Filter* filterMode);
DGrTextureDomain.cpp258 GrSamplerState::Filter filterMode) { in Make() argument
260 GrSamplerState(GrSamplerState::WrapMode::kClamp, filterMode)); in Make()
/third_party/flutter/skia/tests/
DDetermineDomainModeTest.cpp350 for (int filterMode = 0; filterMode < 4; ++filterMode) { in proxy_test() local
361 gHalfFilterWidth[filterMode]); in proxy_test()
372 gModePtrs[filterMode], in proxy_test()
377 if (3 == filterMode) { in proxy_test()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCLContext.cpp193 FilterMode filterMode = FilterMode::Nearest; in createSamplerWithProperties() local
209 filterMode = FromCLenum<FilterMode>(static_cast<CLenum>(*propIt++)); in createSamplerWithProperties()
220 addressingMode, filterMode); in createSamplerWithProperties()
225 FilterMode filterMode, in createSampler() argument
229 addressingMode, filterMode); in createSampler()
DCLSampler.cpp88 FilterMode filterMode, in Sampler() argument
94 mFilterMode(filterMode), in Sampler()
DCLSampler.h43 FilterMode filterMode,
DCLContext.h78 FilterMode filterMode,
DTexture.cpp74 GLenum ConvertToNearestFilterMode(GLenum filterMode) in ConvertToNearestFilterMode() argument
76 switch (filterMode) in ConvertToNearestFilterMode()
85 return filterMode; in ConvertToNearestFilterMode()
89 GLenum ConvertToNearestMipFilterMode(GLenum filterMode) in ConvertToNearestMipFilterMode() argument
91 switch (filterMode) in ConvertToNearestMipFilterMode()
98 return filterMode; in ConvertToNearestMipFilterMode()
/third_party/vk-gl-cts/framework/common/
DtcuTexture.cpp2501 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArray1DOffset() local
2503 switch (filterMode) in sampleLevelArray1DOffset()
2505 case Sampler::NEAREST: return levels[0].sample1DOffset(sampler, filterMode, s, offset); in sampleLevelArray1DOffset()
2506 case Sampler::LINEAR: return levels[0].sample1DOffset(sampler, filterMode, s, offset); in sampleLevelArray1DOffset()
2513 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEAR… in sampleLevelArray1DOffset()
2524 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR … in sampleLevelArray1DOffset()
2561 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArray2DOffset() local
2562 switch (filterMode) in sampleLevelArray2DOffset()
2571 tcu::Vec4 t0 = levels[level0].sample2DOffset(sampler, filterMode, s, t, offset); in sampleLevelArray2DOffset()
2578 tcu::Vec4 t1 = levels[level1].sample2DOffset(sampler, filterMode, s, t, offset); in sampleLevelArray2DOffset()
[all …]
DtcuTexLookupVerifier.cpp1331 const Sampler::FilterMode filterMode, in isLevelSampleResultValid() argument
1337 if (filterMode == Sampler::LINEAR) in isLevelSampleResultValid()
1345 const Sampler::FilterMode filterMode, in isLevelSampleResultValid() argument
1351 if (filterMode == Sampler::LINEAR) in isLevelSampleResultValid()
1709 const Sampler::FilterMode filterMode, in isCubeLevelSampleResultValid() argument
1714 if (filterMode == Sampler::LINEAR) in isCubeLevelSampleResultValid()
1996 const Sampler::FilterMode filterMode, in isLevelSampleResultValid() argument
2001 if (filterMode == Sampler::LINEAR) in isLevelSampleResultValid()
2333 …const Sampler::FilterMode filterMode = scaleMode == TEX_LOOKUP_SCALE_MAGNIFY ? sampler.magFilter :… in isLevel1DLookupResultValid() local
2334 return isLevelSampleResultValid(access, sampler, filterMode, prec, coordX, coordY, result); in isLevel1DLookupResultValid()
[all …]
DtcuTexCompareVerifier.cpp635 const Sampler::FilterMode filterMode, in isLevelCompareResultValid() argument
642 if (filterMode == Sampler::LINEAR) in isLevelCompareResultValid()
1072 const Sampler::FilterMode filterMode, in isCubeLevelCompareResultValid() argument
1078 if (filterMode == Sampler::LINEAR) in isCubeLevelCompareResultValid()
1092 const Sampler::FilterMode filterMode, in isCubeLevelCompareResultValid() argument
1133 …ResultValid(TextureCubeView(numLevels, levels), baseLevelNdx, sampler, filterMode, prec, coords, c… in isCubeLevelCompareResultValid()
1261 const Sampler::FilterMode filterMode, in isLevelCompareResultValid() argument
1268 if (filterMode == Sampler::LINEAR) in isLevelCompareResultValid()
/third_party/vk-gl-cts/framework/opengl/
DgluTextureUtil.cpp635 static inline tcu::Sampler::FilterMode mapGLMinFilterMode (deUint32 filterMode) in mapGLMinFilterMode() argument
637 switch (filterMode) in mapGLMinFilterMode()
646 throw tcu::InternalError("Can't map GL min filter mode" + tcu::toHex(filterMode).toString()); in mapGLMinFilterMode()
650 static inline tcu::Sampler::FilterMode mapGLMagFilterMode (deUint32 filterMode) in mapGLMagFilterMode() argument
652 switch (filterMode) in mapGLMagFilterMode()
657 throw tcu::InternalError("Can't map GL mag filter mode" + tcu::toHex(filterMode).toString()); in mapGLMagFilterMode()
771 deUint32 getGLFilterMode (tcu::Sampler::FilterMode filterMode) in getGLFilterMode() argument
773 DE_ASSERT(filterMode != tcu::Sampler::FILTERMODE_LAST); in getGLFilterMode()
774 switch (filterMode) in getGLFilterMode()
DgluTextureUtil.hpp74 deUint32 getGLFilterMode (tcu::Sampler::FilterMode filterMode);
/third_party/skia/src/gpu/
DGrSamplerState.h81 constexpr void setFilterMode(Filter filterMode) { fFilter = filterMode; } in setFilterMode() argument
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DDepthStencilFormatsTest.cpp311 for (const GLuint filterMode : filterModes) in TEST_P() local
317 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, filterMode); in TEST_P()
318 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, filterMode); in TEST_P()
464 if (filterMode == GL_NEAREST) in TEST_P()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/stub/
Dcuda.h141 CUfilter_mode filterMode; member
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DDepthStencilFormatsTest.cpp545 for (const GLuint filterMode : filterModes) in TEST_P() local
551 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, filterMode); in TEST_P()
552 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, filterMode); in TEST_P()
698 if (filterMode == GL_NEAREST) in TEST_P()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkImageUtil.hpp69 VkFilter mapFilterMode (tcu::Sampler::FilterMode filterMode);
70 VkSamplerMipmapMode mapMipmapMode (tcu::Sampler::FilterMode filterMode);

12