Home
last modified time | relevance | path

Searched refs:TransformationMatrix (Results 1 – 25 of 139) sorted by relevance

123456

/external/webkit/Source/WebCore/platform/graphics/transforms/
DTransformationMatrix.h67 class TransformationMatrix {
72 TransformationMatrix() { makeIdentity(); } in TransformationMatrix() function
73 TransformationMatrix(const TransformationMatrix& t) { *this = t; } in TransformationMatrix() function
74TransformationMatrix(double a, double b, double c, double d, double e, double f) { setMatrix(a, b,… in TransformationMatrix() function
75 TransformationMatrix(double m11, double m12, double m13, double m14, in TransformationMatrix() function
102 TransformationMatrix& operator =(const TransformationMatrix &t)
108 TransformationMatrix& makeIdentity() in makeIdentity()
211 TransformationMatrix& multiply(const TransformationMatrix&);
213 TransformationMatrix& scale(double);
214 TransformationMatrix& scaleNonUniform(double sx, double sy);
[all …]
DTransformationMatrix.cpp112 static double determinant4x4(const TransformationMatrix::Matrix4& m) in determinant4x4()
159 static void adjoint(const TransformationMatrix::Matrix4& matrix, TransformationMatrix::Matrix4& res… in adjoint()
206 static bool inverse(const TransformationMatrix::Matrix4& matrix, TransformationMatrix::Matrix4& res… in inverse()
234 static void transposeMatrix4(const TransformationMatrix::Matrix4& a, TransformationMatrix::Matrix4&… in transposeMatrix4()
242 static void v4MulPointByMatrix(const Vector4 p, const TransformationMatrix::Matrix4& m, Vector4 res… in v4MulPointByMatrix()
292 static bool decompose(const TransformationMatrix::Matrix4& mat, TransformationMatrix::DecomposedTyp… in decompose()
294 TransformationMatrix::Matrix4 localMatrix; in decompose()
295 memcpy(localMatrix, mat, sizeof(TransformationMatrix::Matrix4)); in decompose()
308 TransformationMatrix::Matrix4 perspectiveMatrix; in decompose()
309 memcpy(perspectiveMatrix, localMatrix, sizeof(TransformationMatrix::Matrix4)); in decompose()
[all …]
DMatrix3DTransformOperation.h35 static PassRefPtr<Matrix3DTransformOperation> create(const TransformationMatrix& matrix) in create()
40 TransformationMatrix matrix() const {return m_matrix; } in matrix()
56 virtual bool apply(TransformationMatrix& transform, const IntSize&) const in apply()
58 transform.multiply(TransformationMatrix(m_matrix)); in apply()
64 Matrix3DTransformOperation(const TransformationMatrix& mat) in Matrix3DTransformOperation()
69 TransformationMatrix m_matrix;
DMatrixTransformOperation.h40 static PassRefPtr<MatrixTransformOperation> create(const TransformationMatrix& t) in create()
45TransformationMatrix matrix() const { return TransformationMatrix(m_a, m_b, m_c, m_d, m_e, m_f); } in matrix()
62 virtual bool apply(TransformationMatrix& transform, const IntSize&) const in apply()
64 TransformationMatrix matrix(m_a, m_b, m_c, m_d, m_e, m_f); in apply()
81 MatrixTransformOperation(const TransformationMatrix& t) in MatrixTransformOperation()
DPerspectiveTransformOperation.cpp50 TransformationMatrix fromT; in blend()
51 TransformationMatrix toT; in blend()
55 TransformationMatrix::DecomposedType decomp; in blend()
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DShaderProgram.h126 float zValue(const TransformationMatrix& drawMatrix, float w, float h);
136 void drawVideoLayerQuad(const TransformationMatrix& drawMatrix,
138 FloatRect rectInInvViewCoord(const TransformationMatrix& drawMatrix,
140 FloatRect rectInViewCoord(const TransformationMatrix& drawMatrix,
166 bool usePointSampling(float tileScale, const TransformationMatrix* layerTransform);
183 FloatRect debugMatrixTransform(const TransformationMatrix& matrix, const char* matrixName);
185 const TransformationMatrix& clipProjectionMatrix,
186 const TransformationMatrix& webViewMatrix,
187 const TransformationMatrix& modifiedDrawMatrix,
188 const TransformationMatrix* layerMatrix);
[all …]
DShaderProgram.cpp429 TransformationMatrix matrix; in initGLResources()
530 TransformationMatrix viewTranslate; in setupDrawing()
533 TransformationMatrix viewScale; in setupDrawing()
621 FloatRect ShaderProgram::rectInInvViewCoord(const TransformationMatrix& drawMatrix, const IntSize& … in rectInInvViewCoord()
624 TransformationMatrix renderMatrix = m_contentToInvViewMatrix * drawMatrix; in rectInInvViewCoord()
629 FloatRect ShaderProgram::rectInViewCoord(const TransformationMatrix& drawMatrix, const IntSize& siz… in rectInViewCoord()
632 TransformationMatrix renderMatrix = m_contentToViewMatrix * drawMatrix; in rectInViewCoord()
714 float ShaderProgram::zValue(const TransformationMatrix& drawMatrix, float w, float h) in zValue()
716 TransformationMatrix modifiedDrawMatrix = drawMatrix; in zValue()
718 TransformationMatrix renderMatrix = in zValue()
[all …]
DGLUtils.h55 static void toGLMatrix(GLfloat* flattened, const TransformationMatrix& matrix);
56 static void toSkMatrix(SkMatrix& skmatrix, const TransformationMatrix& matrix);
57 static void setOrthographicMatrix(TransformationMatrix& ortho, float left, float top,
59 static bool has3dTransform(const TransformationMatrix& matrix);
86 …static void convertToTransformationMatrix(const float* matrix, TransformationMatrix& transformMatr…
DDrawQuadData.h38 class TransformationMatrix; variable
50 const TransformationMatrix* drawMatrix = 0,
79 const TransformationMatrix* drawMatrix() const { return m_drawMatrix; } in drawMatrix()
84 void updateDrawMatrix(TransformationMatrix* matrix) { m_drawMatrix = matrix; } in updateDrawMatrix()
101 const TransformationMatrix* m_drawMatrix;
112 const TransformationMatrix* drawMatrix = 0,
142 const TransformationMatrix* drawMatrix = 0,
DGLExtras.h37 class TransformationMatrix; variable
52 const TransformationMatrix* drawMat, Color color = COLOR_HOLO_LIGHT);
55 void drawRing(SkRect& srcRect, Color color, const TransformationMatrix* drawMat);
DSurface.h51 void addLayer(LayerAndroid* layer, const TransformationMatrix& transform);
83 const TransformationMatrix* drawTransform();
85 TransformationMatrix m_drawTransform;
/external/webkit/Source/WebCore/rendering/
DTransformState.cpp58 void TransformState::applyTransform(const TransformationMatrix& transformFromContainer, TransformAc… in applyTransform()
63 …m_accumulatedTransform.set(new TransformationMatrix(transformFromContainer * *m_accumulatedTransfo… in applyTransform()
68 m_accumulatedTransform.set(new TransformationMatrix(transformFromContainer)); in applyTransform()
72 …const TransformationMatrix* finalTransform = m_accumulatedTransform ? m_accumulatedTransform.get()… in applyTransform()
110 void TransformState::flattenWithTransform(const TransformationMatrix& t) in flattenWithTransform()
117 TransformationMatrix inverseTransform = t.inverse(); in flattenWithTransform()
141 void HitTestingTransformState::applyTransform(const TransformationMatrix& transformFromContainer, T… in applyTransform()
155 void HitTestingTransformState::flattenWithTransform(const TransformationMatrix& t) in flattenWithTransform()
157 TransformationMatrix inverseTransform = t.inverse(); in flattenWithTransform()
DTransformState.h64 …void applyTransform(const TransformationMatrix& transformFromContainer, TransformAccumulation = Fl…
76 void flattenWithTransform(const TransformationMatrix&);
82 OwnPtr<TransformationMatrix> m_accumulatedTransform;
102 void applyTransform(const TransformationMatrix& transformFromContainer, TransformAccumulation);
110 TransformationMatrix m_accumulatedTransform;
130 void flattenWithTransform(const TransformationMatrix&);
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/
DCCLayerImpl.h95 …void setSublayerTransform(const TransformationMatrix& sublayerTransform) { m_sublayerTransform = s… in setSublayerTransform()
96 const TransformationMatrix& sublayerTransform() const { return m_sublayerTransform; } in sublayerTransform()
98 void setTransform(const TransformationMatrix& transform) { m_transform = transform; } in setTransform()
99 const TransformationMatrix& transform() const { return m_transform; } in transform()
136 const TransformationMatrix& drawTransform() const { return m_drawTransform; } in drawTransform()
137 void setDrawTransform(const TransformationMatrix& matrix) { m_drawTransform = matrix; } in setDrawTransform()
163 TransformationMatrix m_sublayerTransform;
164 TransformationMatrix m_transform;
189 TransformationMatrix m_drawTransform;
/external/webkit/Source/WebCore/css/
DWebKitCSSMatrix.cpp39 WebKitCSSMatrix::WebKitCSSMatrix(const TransformationMatrix& m) in WebKitCSSMatrix()
73 TransformationMatrix t; in setMatrixValue()
93 return WebKitCSSMatrix::create(TransformationMatrix(m_matrix).multiply(secondMatrix->m_matrix)); in multiply()
114 return WebKitCSSMatrix::create(TransformationMatrix(m_matrix).translate3d(x, y, z)); in translate()
125 return WebKitCSSMatrix::create(TransformationMatrix(m_matrix).scale3d(scaleX, scaleY, scaleZ)); in scale()
143 return WebKitCSSMatrix::create(TransformationMatrix(m_matrix).rotate3d(rotX, rotY, rotZ)); in rotate()
158 return WebKitCSSMatrix::create(TransformationMatrix(m_matrix).rotate3d(x, y, z, angle)); in rotateAxisAngle()
165 return WebKitCSSMatrix::create(TransformationMatrix(m_matrix).skewX(angle)); in skewX()
172 return WebKitCSSMatrix::create(TransformationMatrix(m_matrix).skewY(angle)); in skewY()
DWebKitCSSMatrix.h38 static PassRefPtr<WebKitCSSMatrix> create(const TransformationMatrix& m) in create()
146 const TransformationMatrix& transform() const { return m_matrix; } in transform()
151 WebKitCSSMatrix(const TransformationMatrix&);
154 TransformationMatrix m_matrix;
/external/webkit/Source/WebCore/platform/graphics/chromium/
DRenderSurfaceChromium.h66 TransformationMatrix drawTransform() const { return m_drawTransform; } in drawTransform()
73 void drawSurface(CCLayerImpl* maskLayer, const TransformationMatrix& drawTransform);
83 TransformationMatrix m_drawTransform;
84 TransformationMatrix m_replicaDrawTransform;
85 TransformationMatrix m_originTransform;
DLayerChromium.h129 …void setSublayerTransform(const TransformationMatrix& transform) { m_sublayerTransform = transform… in setSublayerTransform()
130 const TransformationMatrix& sublayerTransform() const { return m_sublayerTransform; } in sublayerTransform()
132 …void setTransform(const TransformationMatrix& transform) { m_transform = transform; setNeedsCommit… in setTransform()
133 const TransformationMatrix& transform() const { return m_transform; } in transform()
179 …drawTexturedQuad(GraphicsContext3D*, const TransformationMatrix& projectionMatrix, const Transform…
201 static void toGLMatrix(float*, const TransformationMatrix&);
267 TransformationMatrix m_transform;
268 TransformationMatrix m_sublayerTransform;
DContentLayerChromium.cpp119 TransformationMatrix ContentLayerChromium::tilingTransform() in tilingTransform()
121 TransformationMatrix transform = ccLayerImpl()->drawTransform(); in tilingTransform()
136 const TransformationMatrix transform = tilingTransform(); in visibleLayerRect()
153 const TransformationMatrix surfaceToLayer = transform.inverse(); in visibleLayerRect()
185 const TransformationMatrix transform = tilingTransform(); in draw()
/external/webkit/Source/WebCore/platform/graphics/android/layers/
DLayerAndroid.h134 void setTransform(const TransformationMatrix& matrix) { m_transform = matrix; } in setTransform()
161 void updateGLPositionsAndScale(const TransformationMatrix& parentMatrix,
173 …void setDrawTransform(const TransformationMatrix& transform) { m_drawTransform = m_drawTransformUn… in setDrawTransform()
174 virtual const TransformationMatrix* drawTransform() const { return &m_drawTransform; } in drawTransform()
175 void setChildrenTransform(const TransformationMatrix& t) { m_childrenTransform = t; } in setChildrenTransform()
290 const TransformationMatrix* replicatedLayerDrawTransform() { in replicatedLayerDrawTransform()
307 TransformationMatrix m_drawTransform;
308 TransformationMatrix m_drawTransformUnfudged;
312 void updateLocalTransformAndClip(const TransformationMatrix& parentMatrix,
355 TransformationMatrix m_transform;
[all …]
/external/webkit/Source/WebCore/platform/graphics/ca/
DPlatformCALayer.h129 TransformationMatrix transform() const;
130 void setTransform(const TransformationMatrix&);
132 TransformationMatrix sublayerTransform() const;
133 void setSublayerTransform(const TransformationMatrix&);
135 TransformationMatrix contentsTransform() const;
136 void setContentsTransform(const TransformationMatrix&);
DTransformationMatrixCA.cpp36 TransformationMatrix::TransformationMatrix(const CATransform3D& t) in TransformationMatrix() function in WebCore::TransformationMatrix
45 TransformationMatrix::operator CATransform3D() const in operator CATransform3D()
/external/webkit/Source/WebCore/platform/graphics/cg/
DTransformationMatrixCG.cpp37 TransformationMatrix::TransformationMatrix(const CGAffineTransform& t) in TransformationMatrix() function in WebCore::TransformationMatrix
47 TransformationMatrix::operator CGAffineTransform() const in operator CGAffineTransform()
/external/webkit/Source/WebCore/platform/graphics/openvg/
DVGUtils.h64 class TransformationMatrix; variable
70 VGMatrix(const TransformationMatrix&);
73 operator TransformationMatrix() const;
/external/webkit/Source/WebCore/platform/graphics/win/
DGraphicsContextWin.cpp126 XFORM xform = TransformationMatrix().translate(-dstRect.x(), -dstRect.y()); in getWindowsContext()
169 XFORM xform = TransformationMatrix().scaleNonUniform(size.width(), size.height()); in scale()
177 XFORM xform = TransformationMatrix().rotate(degreesAngle); in rotate()
186 XFORM xform = TransformationMatrix().translate(x, y); in translate()

123456