Searched refs:kMPersp2 (Results 1 – 16 of 16) sorted by relevance
/third_party/skia/src/core/ |
D | SkMatrix.cpp | 31 SkScalar p2 = fMat[SkMatrix::kMPersp2]; in doNormalizePerspective() 37 fMat[SkMatrix::kMPersp2] = 1; in doNormalizePerspective() 80 fMat[kMPersp2] = 1; in setAffine() 100 if (fMat[kMPersp0] != 0 || fMat[kMPersp1] != 0 || fMat[kMPersp2] != 1) { in computePerspectiveTypeMask() 114 if (fMat[kMPersp0] != 0 || fMat[kMPersp1] != 0 || fMat[kMPersp2] != 1) { in computeTypeMask() 423 fMat[kMPersp2] = 1; in setSinCos() 439 fMat[kMPersp2] = 1; in setRSXform() 455 fMat[kMPersp2] = 1; in setSinCos() 515 fMat[kMPersp2] = 1; in setSkew() 555 fMat[kMPersp2] = 1; in setRectToRect() [all …]
|
D | SkScalerContext.cpp | 836 G.get(SkMatrix::kMPersp0), G.get(SkMatrix::kMPersp1), G.get(SkMatrix::kMPersp2)); in computeMatrices()
|
D | SkPath.cpp | 3834 matrix[SkMatrix::kMPersp2] - kW0PlaneDistance in PerspectiveClip()
|
/third_party/skia/src/gpu/glsl/ |
D | GrGLSLProgramDataManager.cpp | 24 matrix.get(SkMatrix::kMPersp2), in setSkMatrix()
|
/third_party/skia/docs/examples/ |
D | MemberIndex.cpp | 16 SkMatrix::kMPersp0, SkMatrix::kMPersp1, SkMatrix::kMPersp2 } ) {
|
/third_party/skia/include/core/ |
D | SkMatrix.h | 353 static constexpr int kMPersp2 = 8; //!< perspective bias variable 565 fMat[kMPersp2] = persp2; in setAll() 1433 SkScalar w = fMat[kMPersp2]; in mapOrigin() 1813 fMat[kMPersp2] = 1; in setScaleTranslate()
|
D | SkM44.h | 410 src[SkMatrix::kMPersp0], src[SkMatrix::kMPersp1], 0, src[SkMatrix::kMPersp2]) in SkM44()
|
/third_party/skia/src/utils/ |
D | SkCamera.cpp | 109 orien->set(SkMatrix::kMPersp2, axis.z); in doUpdate() 147 matrix->set(SkMatrix::kMPersp2, SK_Scalar1); in patchToMatrix()
|
/third_party/skia/src/gpu/geometry/ |
D | GrQuad.cpp | 42 V4f w = m.getPerspX() * qx + (m.getPerspY() * qy + m.get(SkMatrix::kMPersp2)); in map_quad_general()
|
D | GrPathUtils.cpp | 218 m[SkMatrix::kMPersp2] = (float)((a2 + a5 + a8)*scale); in set() 221 float m33 = m.get(SkMatrix::kMPersp2); in set()
|
/third_party/skia/gm/ |
D | shadowutils.cpp | 322 mat[SkMatrix::kMPersp2] = 1.005f;
|
/third_party/skia/src/pdf/ |
D | SkPDFGradientShader.cpp | 341 const SkScalar p2 = inversePerspectiveMatrix[SkMatrix::kMPersp2]; in apply_perspective_to_coordinates() 542 const SkScalar p2 = in[SkMatrix::kMPersp2]; in split_perspective()
|
/third_party/skia/experimental/graphite/src/ |
D | UniformManager.cpp | 212 m[i].get(SkMatrix::kMPersp2), in WriteSkMatrices()
|
/third_party/skia/tests/ |
D | MatrixTest.cpp | 124 buffer[SkMatrix::kMPersp2] = 1; in test_set9() 599 mat[SkMatrix::kMPersp2] = 1872.f; in test_matrix_decomposition()
|
/third_party/skia/samplecode/ |
D | SampleClip.cpp | 426 return { m[SkMatrix::kMPersp0], m[SkMatrix::kMPersp1], m[SkMatrix::kMPersp2] - 0.05f }; in half_plane_w0()
|
/third_party/skia/tools/fiddle/ |
D | documumentation_examples_map.txt | 1979 …c constexpr int kMPersp0 = 6; static constexpr int kMPersp1 = 7; static constexpr int kMPersp2 = 8;
|