Lines Matching refs:dest

11 template<> void GrGLSLGetMatrix<3>(float* dest, const SkMatrix& src) {  in GrGLSLGetMatrix()  argument
13 dest[0] = SkScalarToFloat(src[SkMatrix::kMScaleX]); in GrGLSLGetMatrix()
14 dest[1] = SkScalarToFloat(src[SkMatrix::kMSkewY]); in GrGLSLGetMatrix()
15 dest[2] = SkScalarToFloat(src[SkMatrix::kMPersp0]); in GrGLSLGetMatrix()
18 dest[3] = SkScalarToFloat(src[SkMatrix::kMSkewX]); in GrGLSLGetMatrix()
19 dest[4] = SkScalarToFloat(src[SkMatrix::kMScaleY]); in GrGLSLGetMatrix()
20 dest[5] = SkScalarToFloat(src[SkMatrix::kMPersp1]); in GrGLSLGetMatrix()
23 dest[6] = SkScalarToFloat(src[SkMatrix::kMTransX]); in GrGLSLGetMatrix()
24 dest[7] = SkScalarToFloat(src[SkMatrix::kMTransY]); in GrGLSLGetMatrix()
25 dest[8] = SkScalarToFloat(src[SkMatrix::kMPersp2]); in GrGLSLGetMatrix()
28 template<> void GrGLSLGetMatrix<4>(float* dest, const SkMatrix& src) { in GrGLSLGetMatrix() argument
30 dest[0] = SkScalarToFloat(src[SkMatrix::kMScaleX]); in GrGLSLGetMatrix()
31 dest[1] = SkScalarToFloat(src[SkMatrix::kMSkewY]); in GrGLSLGetMatrix()
32 dest[2] = 0; in GrGLSLGetMatrix()
33 dest[3] = SkScalarToFloat(src[SkMatrix::kMPersp0]); in GrGLSLGetMatrix()
36 dest[4] = SkScalarToFloat(src[SkMatrix::kMSkewX]); in GrGLSLGetMatrix()
37 dest[5] = SkScalarToFloat(src[SkMatrix::kMScaleY]); in GrGLSLGetMatrix()
38 dest[6] = 0; in GrGLSLGetMatrix()
39 dest[7] = SkScalarToFloat(src[SkMatrix::kMPersp1]); in GrGLSLGetMatrix()
42 dest[8] = 0; in GrGLSLGetMatrix()
43 dest[9] = 0; in GrGLSLGetMatrix()
44 dest[10] = 1; in GrGLSLGetMatrix()
45 dest[11] = 0; in GrGLSLGetMatrix()
48 dest[12] = SkScalarToFloat(src[SkMatrix::kMTransX]); in GrGLSLGetMatrix()
49 dest[13] = SkScalarToFloat(src[SkMatrix::kMTransY]); in GrGLSLGetMatrix()
50 dest[14] = 0; in GrGLSLGetMatrix()
51 dest[15] = SkScalarToFloat(src[SkMatrix::kMPersp2]); in GrGLSLGetMatrix()