Home
last modified time | relevance | path

Searched refs:MatrixCapability (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/src/core/
DSkImageFilterTypes.cpp33 using MatrixCapability = SkImageFilter_Base::MatrixCapability; in decomposeCTM() typedef
34 MatrixCapability capability = in decomposeCTM()
35 filter ? as_IFB(filter)->getCTMCapability() : MatrixCapability::kComplex; in decomposeCTM()
36 if (capability == MatrixCapability::kTranslate) { in decomposeCTM()
40 } else if (ctm.isScaleTranslate() || capability == MatrixCapability::kComplex) { in decomposeCTM()
DSkLocalMatrixImageFilter.cpp21 MatrixCapability inputCapability = as_IFB(input)->getCTMCapability(); in Make()
22 if ((inputCapability == MatrixCapability::kTranslate && !localM.isTranslate()) || in Make()
23 (inputCapability == MatrixCapability::kScaleTranslate && !localM.isScaleTranslate())) { in Make()
DSkLocalMatrixImageFilter.h30 MatrixCapability onGetCTMCapability() const override { return MatrixCapability::kComplex; } in onGetCTMCapability()
DSkImageFilter_Base.h111 enum class MatrixCapability { enum
116 MatrixCapability getCTMCapability() const;
360 virtual MatrixCapability onGetCTMCapability() const { in onGetCTMCapability()
361 return MatrixCapability::kScaleTranslate; in onGetCTMCapability()
DSkImageFilter.cpp325 SkImageFilter_Base::MatrixCapability SkImageFilter_Base::getCTMCapability() const { in getCTMCapability()
326 MatrixCapability result = this->onGetCTMCapability(); in getCTMCapability()
331 result = std::min(result, MatrixCapability::kScaleTranslate); in getCTMCapability()
/third_party/skia/src/effects/imagefilters/
DSkMergeImageFilter.cpp29 MatrixCapability onGetCTMCapability() const override { return MatrixCapability::kComplex; } in onGetCTMCapability()
DSkComposeImageFilter.cpp30 MatrixCapability onGetCTMCapability() const override { return MatrixCapability::kComplex; } in onGetCTMCapability()
DSkRuntimeImageFilter.cpp34 MatrixCapability onGetCTMCapability() const override { return MatrixCapability::kTranslate; } in onGetCTMCapability()
DSkColorFilterImageFilter.cpp31 MatrixCapability onGetCTMCapability() const override { return MatrixCapability::kComplex; } in onGetCTMCapability()
DSkImageImageFilter.cpp41 MatrixCapability onGetCTMCapability() const override { return MatrixCapability::kComplex; } in onGetCTMCapability()
/third_party/skia/tests/
DImageFilterTest.cpp1789 using MatrixCapability = SkImageFilter_Base::MatrixCapability; in DEF_TEST() typedef
1793 MatrixCapability fExpectCapability; in DEF_TEST()
1795 { cfif, MatrixCapability::kComplex }, in DEF_TEST()
1796 { SkImageFilters::ColorFilter(cf, cfif), MatrixCapability::kComplex }, in DEF_TEST()
1797 { SkImageFilters::Merge(cfif, cfif), MatrixCapability::kComplex }, in DEF_TEST()
1798 { SkImageFilters::Compose(cfif, cfif), MatrixCapability::kComplex }, in DEF_TEST()
1800 { blif, MatrixCapability::kScaleTranslate }, in DEF_TEST()
1801 { SkImageFilters::Blur(3, 3, cfif), MatrixCapability::kScaleTranslate }, in DEF_TEST()
1802 { SkImageFilters::ColorFilter(cf, blif), MatrixCapability::kScaleTranslate }, in DEF_TEST()
1803 { SkImageFilters::Merge(cfif, blif), MatrixCapability::kScaleTranslate }, in DEF_TEST()
[all …]