Home
last modified time | relevance | path

Searched refs:invCTM (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkNormalMapSource.cpp28 const SkMatrix& invCTM) { in Make() argument
29 return sk_sp<GrFragmentProcessor>(new NormalMapFP(std::move(mapFP), invCTM)); in Make()
82 const SkMatrix& invCTM = normalMapFP.invCTM(); in onSetData() local
83 fColumnMajorInvCTM22[0] = invCTM.get(SkMatrix::kMScaleX); in onSetData()
84 fColumnMajorInvCTM22[1] = invCTM.get(SkMatrix::kMSkewY); in onSetData()
85 fColumnMajorInvCTM22[2] = invCTM.get(SkMatrix::kMSkewX); in onSetData()
86 fColumnMajorInvCTM22[3] = invCTM.get(SkMatrix::kMScaleY); in onSetData()
102 const SkMatrix& invCTM() const { return fInvCTM; } in invCTM() function in NormalMapFP
105 NormalMapFP(sk_sp<GrFragmentProcessor> mapFP, const SkMatrix& invCTM) in NormalMapFP() argument
106 : INHERITED(kNone_OptimizationFlags), fInvCTM(invCTM) { in NormalMapFP()
[all …]
DSkNormalMapSource.h15 SkNormalMapSourceImpl(sk_sp<SkShader> mapShader, const SkMatrix& invCTM) in SkNormalMapSourceImpl() argument
17 , fInvCTM(invCTM) {} in SkNormalMapSourceImpl()