Home
last modified time | relevance | path

Searched refs:focalData (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/gradients/
DGrTwoPointConicalGradientLayout.cpp249 const SkTwoPointConicalGradient::FocalData& focalData = grad.getFocalData(); in Make() local
253 bool isFocalOnCircle = isFocal && focalData.isFocalOnCircle(); in Make()
254 bool isWellBehaved = isFocal && focalData.isWellBehaved(); in Make()
255 bool isSwapped = isFocal && focalData.isSwapped(); in Make()
256 bool isNativelyFocal = isFocal && focalData.isNativelyFocal(); in Make()
271 isRadiusIncreasing = (1 - focalData.fFocalX) > 0; in Make()
273 focalParams.set(1.0 / focalData.fR1, focalData.fFocalX); in Make()
DGrTwoPointConicalGradientLayout.fp164 // The focalData struct is only valid if isFocal is true
165 const SkTwoPointConicalGradient::FocalData& focalData = grad.getFocalData();
169 bool isFocalOnCircle = isFocal && focalData.isFocalOnCircle();
170 bool isWellBehaved = isFocal && focalData.isWellBehaved();
171 bool isSwapped = isFocal && focalData.isSwapped();
172 bool isNativelyFocal = isFocal && focalData.isNativelyFocal();
187 isRadiusIncreasing = (1 - focalData.fFocalX) > 0;
189 focalParams.set(1.0 / focalData.fR1, focalData.fFocalX);
/external/skqp/src/gpu/gradients/
DGrTwoPointConicalGradientLayout.cpp249 const SkTwoPointConicalGradient::FocalData& focalData = grad.getFocalData(); in Make() local
253 bool isFocalOnCircle = isFocal && focalData.isFocalOnCircle(); in Make()
254 bool isWellBehaved = isFocal && focalData.isWellBehaved(); in Make()
255 bool isSwapped = isFocal && focalData.isSwapped(); in Make()
256 bool isNativelyFocal = isFocal && focalData.isNativelyFocal(); in Make()
271 isRadiusIncreasing = (1 - focalData.fFocalX) > 0; in Make()
273 focalParams.set(1.0 / focalData.fR1, focalData.fFocalX); in Make()
DGrTwoPointConicalGradientLayout.fp164 // The focalData struct is only valid if isFocal is true
165 const SkTwoPointConicalGradient::FocalData& focalData = grad.getFocalData();
169 bool isFocalOnCircle = isFocal && focalData.isFocalOnCircle();
170 bool isWellBehaved = isFocal && focalData.isWellBehaved();
171 bool isSwapped = isFocal && focalData.isSwapped();
172 bool isNativelyFocal = isFocal && focalData.isNativelyFocal();
187 isRadiusIncreasing = (1 - focalData.fFocalX) > 0;
189 focalParams.set(1.0 / focalData.fR1, focalData.fFocalX);
/external/skia/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp81 FocalData focalData; in Create() local
84 if (!focalData.set(r0 / dCenter, r1 / dCenter, &gradientMatrix)) { in Create()
89 gradientType, gradientMatrix, focalData)); in Create()
/external/skqp/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp81 FocalData focalData; in Create() local
84 if (!focalData.set(r0 / dCenter, r1 / dCenter, &gradientMatrix)) { in Create()
89 gradientType, gradientMatrix, focalData)); in Create()