Home
last modified time | relevance | path

Searched refs:fMat (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/core/
DSkMatrix.cpp40 fMat[kMScaleX] = fMat[kMScaleY] = SK_Scalar1; in reset()
41 fMat[kMSkewX] = fMat[kMSkewY] = in reset()
42 fMat[kMTransX] = fMat[kMTransY] = in reset()
43 fMat[kMPersp0] = fMat[kMPersp1] = 0; in reset()
44 fMat[kMPersp2] = kMatrix22Elem; in reset()
71 if (SkScalarAs2sCompliment(fMat[kMPersp0]) | in computeTypeMask()
72 SkScalarAs2sCompliment(fMat[kMPersp1]) | in computeTypeMask()
73 (SkScalarAs2sCompliment(fMat[kMPersp2]) - kPersp1Int)) { in computeTypeMask()
77 if (SkScalarAs2sCompliment(fMat[kMTransX]) | in computeTypeMask()
78 SkScalarAs2sCompliment(fMat[kMTransY])) { in computeTypeMask()
[all …]
/external/skia/src/utils/
DSkColorMatrix.cpp9 memset(fMat, 0, sizeof(fMat)); in setIdentity()
10 fMat[kRScale] = fMat[kGScale] = fMat[kBScale] = fMat[kAScale] = SK_Scalar1; in setIdentity()
15 memset(fMat, 0, sizeof(fMat)); in setScale()
16 fMat[kRScale] = rScale; in setScale()
17 fMat[kGScale] = gScale; in setScale()
18 fMat[kBScale] = bScale; in setScale()
19 fMat[kAScale] = aScale; in setScale()
43 fMat[index[0]] = cosine; in setSinCos()
44 fMat[index[1]] = sine; in setSinCos()
45 fMat[index[2]] = -sine; in setSinCos()
[all …]
DSkCamera.cpp156 memset(fMat, 0, sizeof(fMat)); in reset()
157 fMat[0][0] = fMat[1][1] = fMat[2][2] = SK_Scalar1; in reset()
161 memset(fMat, 0, sizeof(fMat)); in setTranslate()
162 fMat[0][0] = x; in setTranslate()
163 fMat[1][1] = y; in setTranslate()
164 fMat[2][2] = z; in setTranslate()
198 fMat[i][3] += SkScalarDot(3, &fMat[i][0], 1, col, 1); in preTranslate()
229 c->fMat[i][j] = SkScalarDot(3, &a.fMat[i][0], 1, &b.fMat[0][j], 4); in setConcat()
231 c->fMat[i][3] = SkScalarDot(3, &a.fMat[i][0], 1, in setConcat()
232 &b.fMat[0][3], 4) + a.fMat[i][3]; in setConcat()
[all …]
/external/skia/include/core/
DSkMatrix.h97 return fMat[index];
102 return fMat[index]; in get()
105 SkScalar getScaleX() const { return fMat[kMScaleX]; } in getScaleX()
106 SkScalar getScaleY() const { return fMat[kMScaleY]; } in getScaleY()
107 SkScalar getSkewY() const { return fMat[kMSkewY]; } in getSkewY()
108 SkScalar getSkewX() const { return fMat[kMSkewX]; } in getSkewX()
109 SkScalar getTranslateX() const { return fMat[kMTransX]; } in getTranslateX()
110 SkScalar getTranslateY() const { return fMat[kMTransY]; } in getTranslateY()
111 SkScalar getPerspX() const { return fMat[kMPersp0]; } in getPerspX()
112 SkScalar getPerspY() const { return fMat[kMPersp1]; } in getPerspY()
[all …]
/external/skia/gpu/src/
DGrGpuGLFixed.cpp26 GrGLfloat fMat[16]; member
29 Gr_bzero(fMat, sizeof(fMat)); in reset()
30 fMat[0] = fMat[5] = fMat[10] = fMat[15] = GR_Scalar1; in reset()
34 Gr_bzero(fMat, sizeof(fMat)); in set()
35 fMat[0] = GrScalarToFloat(m[GrMatrix::kMScaleX]); in set()
36 fMat[4] = GrScalarToFloat(m[GrMatrix::kMSkewX]); in set()
37 fMat[12] = GrScalarToFloat(m[GrMatrix::kMTransX]); in set()
39 fMat[1] = GrScalarToFloat(m[GrMatrix::kMSkewY]); in set()
40 fMat[5] = GrScalarToFloat(m[GrMatrix::kMScaleY]); in set()
41 fMat[13] = GrScalarToFloat(m[GrMatrix::kMTransY]); in set()
[all …]
/external/skia/include/utils/
DSkCamera.h64 SkScalar fMat[3][4]; member
71 fMat[row][0] = a;
72 fMat[row][1] = b;
73 fMat[row][2] = c;
74 fMat[row][3] = d;
/external/skia/include/effects/
DSkColorMatrix.h24 SkScalar fMat[20];
/external/skia/src/effects/
DSkColorMatrixFilter.cpp211 this->setup(cm.fMat); in SkColorMatrixFilter()