Home | History | Annotate | Download | only in effects

Lines Matching refs:fMatrix

206 SkColorMatrixFilter::SkColorMatrixFilter(const SkColorMatrix& cm) : fMatrix(cm) {
211 memcpy(fMatrix.fMat, array, 20 * sizeof(SkScalar));
303 SkASSERT(sizeof(fMatrix.fMat)/sizeof(SkScalar) == 20);
304 buffer.writeScalarArray(fMatrix.fMat, 20);
310 buffer.readScalarArray(fMatrix.fMat);
311 this->initState(fMatrix.fMat);
316 memcpy(matrix, fMatrix.fMat, 20 * sizeof(SkScalar));
365 if (0 != fMatrix.fMat[kAlphaRowStartIdx + i]) {
371 outputA += fMatrix.fMat[kAlphaRowStartIdx + i] * component;
375 outputA += fMatrix.fMat[kAlphaRowTranslateIdx];
429 const float* m = cme.fMatrix.fMat;
451 ColorMatrixEffect(const SkColorMatrix& matrix) : fMatrix(matrix) {}
455 return cme.fMatrix == fMatrix;
458 SkColorMatrix fMatrix;
476 return ColorMatrixEffect::Create(fMatrix);