Searched refs:MatrixCapability (Results 1 – 11 of 11) sorted by relevance
/third_party/skia/src/core/ |
D | SkImageFilterTypes.cpp | 33 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()
|
D | SkLocalMatrixImageFilter.cpp | 21 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()
|
D | SkLocalMatrixImageFilter.h | 30 MatrixCapability onGetCTMCapability() const override { return MatrixCapability::kComplex; } in onGetCTMCapability()
|
D | SkImageFilter_Base.h | 111 enum class MatrixCapability { enum 116 MatrixCapability getCTMCapability() const; 360 virtual MatrixCapability onGetCTMCapability() const { in onGetCTMCapability() 361 return MatrixCapability::kScaleTranslate; in onGetCTMCapability()
|
D | SkImageFilter.cpp | 325 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/ |
D | SkMergeImageFilter.cpp | 29 MatrixCapability onGetCTMCapability() const override { return MatrixCapability::kComplex; } in onGetCTMCapability()
|
D | SkComposeImageFilter.cpp | 30 MatrixCapability onGetCTMCapability() const override { return MatrixCapability::kComplex; } in onGetCTMCapability()
|
D | SkRuntimeImageFilter.cpp | 34 MatrixCapability onGetCTMCapability() const override { return MatrixCapability::kTranslate; } in onGetCTMCapability()
|
D | SkColorFilterImageFilter.cpp | 31 MatrixCapability onGetCTMCapability() const override { return MatrixCapability::kComplex; } in onGetCTMCapability()
|
D | SkImageImageFilter.cpp | 41 MatrixCapability onGetCTMCapability() const override { return MatrixCapability::kComplex; } in onGetCTMCapability()
|
/third_party/skia/tests/ |
D | ImageFilterTest.cpp | 1789 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 …]
|