Home
last modified time | relevance | path

Searched refs:kMPersp2 (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/src/core/
DSkMatrix.cpp31 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 …]
DSkScalerContext.cpp836 G.get(SkMatrix::kMPersp0), G.get(SkMatrix::kMPersp1), G.get(SkMatrix::kMPersp2)); in computeMatrices()
DSkPath.cpp3834 matrix[SkMatrix::kMPersp2] - kW0PlaneDistance in PerspectiveClip()
/third_party/skia/src/gpu/glsl/
DGrGLSLProgramDataManager.cpp24 matrix.get(SkMatrix::kMPersp2), in setSkMatrix()
/third_party/skia/docs/examples/
DMemberIndex.cpp16 SkMatrix::kMPersp0, SkMatrix::kMPersp1, SkMatrix::kMPersp2 } ) {
/third_party/skia/include/core/
DSkMatrix.h353 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()
DSkM44.h410 src[SkMatrix::kMPersp0], src[SkMatrix::kMPersp1], 0, src[SkMatrix::kMPersp2]) in SkM44()
/third_party/skia/src/utils/
DSkCamera.cpp109 orien->set(SkMatrix::kMPersp2, axis.z); in doUpdate()
147 matrix->set(SkMatrix::kMPersp2, SK_Scalar1); in patchToMatrix()
/third_party/skia/src/gpu/geometry/
DGrQuad.cpp42 V4f w = m.getPerspX() * qx + (m.getPerspY() * qy + m.get(SkMatrix::kMPersp2)); in map_quad_general()
DGrPathUtils.cpp218 m[SkMatrix::kMPersp2] = (float)((a2 + a5 + a8)*scale); in set()
221 float m33 = m.get(SkMatrix::kMPersp2); in set()
/third_party/skia/gm/
Dshadowutils.cpp322 mat[SkMatrix::kMPersp2] = 1.005f;
/third_party/skia/src/pdf/
DSkPDFGradientShader.cpp341 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/
DUniformManager.cpp212 m[i].get(SkMatrix::kMPersp2), in WriteSkMatrices()
/third_party/skia/tests/
DMatrixTest.cpp124 buffer[SkMatrix::kMPersp2] = 1; in test_set9()
599 mat[SkMatrix::kMPersp2] = 1872.f; in test_matrix_decomposition()
/third_party/skia/samplecode/
DSampleClip.cpp426 return { m[SkMatrix::kMPersp0], m[SkMatrix::kMPersp1], m[SkMatrix::kMPersp2] - 0.05f }; in half_plane_w0()
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt1979 …c constexpr int kMPersp0 = 6; static constexpr int kMPersp1 = 7; static constexpr int kMPersp2 = 8;