HomeSort by relevance Sort by last modified time
    Searched full:matrix4 (Results 1 - 25 of 36) sorted by null

1 2

  /external/chromium_org/third_party/angle/samples/angle/sample_util/
Matrix.h 12 struct Matrix4
16 Matrix4();
17 Matrix4(float m00, float m01, float m02, float m03,
22 static Matrix4 identity();
23 static Matrix4 rotate(float angle, const Vector3 &p);
24 static Matrix4 translate(const Vector3 &t);
25 static Matrix4 scale(const Vector3 &s);
26 static Matrix4 frustum(float l, float r, float b, float t, float n, float f);
27 static Matrix4 perspective(float fov, float aspectRatio, float n, float f);
28 static Matrix4 ortho(float l, float r, float b, float t, float n, float f)
    [all...]
Matrix.cpp 12 Matrix4::Matrix4()
20 Matrix4::Matrix4(float m00, float m01, float m02, float m03,
31 Matrix4 Matrix4::identity()
33 return Matrix4(1.0f, 0.0f, 0.0f, 0.0f,
39 Matrix4 Matrix4::rotate(float angle, const Vector3 &p)
46 return Matrix4( cos_t + (u.x * u.x * (1.0f - cos_t)), (u.x * u.y * (1.0f - cos_t)) - (u.z * sin_t), (u.x (…)
    [all...]
  /frameworks/base/libs/hwui/
Matrix.h 47 class ANDROID_API Matrix4 {
80 Matrix4() {
84 Matrix4(const float* v) {
88 Matrix4(const Matrix4& v) {
92 Matrix4(const SkMatrix& v) {
105 Matrix4& operator=(const SkMatrix& v) {
110 friend bool operator==(const Matrix4& a, const Matrix4& b) {
114 friend bool operator!=(const Matrix4& a, const Matrix4& b)
    [all...]
TessellationCache.h 72 Description(Type type, const Matrix4& transform, const SkPaint& paint);
74 void setupMatrixAndPaint(Matrix4* matrix, SkPaint* paint) const;
83 ShadowDescription(const void* nodeKey, const Matrix4* drawTransform);
124 void precacheRoundRect(const Matrix4& transform, const SkPaint& paint,
128 const VertexBuffer* getRoundRect(const Matrix4& transform, const SkPaint& paint,
131 void precacheShadows(const Matrix4* drawTransform, const Rect& localClip,
133 const Matrix4* transformXY, const Matrix4* transformZ,
136 void getShadowBuffers(const Matrix4* drawTransform, const Rect& localClip,
138 const Matrix4* transformXY, const Matrix4* transformZ
    [all...]
Matrix.cpp 42 const Matrix4& Matrix4::identity() {
43 static Matrix4 sIdentity;
47 void Matrix4::loadIdentity() {
75 uint8_t Matrix4::getType() const {
118 uint8_t Matrix4::getGeometryType() const {
122 bool Matrix4::rectToRect() const {
126 bool Matrix4::positiveScale() const {
130 bool Matrix4::changesBounds() const {
134 bool Matrix4::isPureTranslate() const
    [all...]
DamageAccumulator.cpp 38 const Matrix4* matrix4; member in union:android::uirenderer::DirtyStack::__anon38504
55 static void computeTransformImpl(const DirtyStack* currentFrame, Matrix4* outMatrix) {
64 outMatrix->multiply(*currentFrame->matrix4);
74 void DamageAccumulator::computeCurrentTransform(Matrix4* outMatrix) const {
96 void DamageAccumulator::pushTransform(const Matrix4* transform) {
99 mHead->matrix4 = transform;
121 static inline void mapRect(const Matrix4* matrix, const SkRect& in, SkRect* out) {
129 mapRect(frame->matrix4, frame->pendingDirty, &mHead->pendingDirty);
172 mapRect(frame->matrix4, *rect, rect)
    [all...]
DamageAccumulator.h 32 class Matrix4;
44 void pushTransform(const Matrix4* transform);
55 void computeCurrentTransform(Matrix4* outMatrix) const;
TessellationCache.cpp 48 TessellationCache::Description::Description(Type type, const Matrix4& transform, const SkPaint& paint)
70 void TessellationCache::Description::setupMatrixAndPaint(Matrix4* matrix, SkPaint* paint) const {
83 TessellationCache::ShadowDescription::ShadowDescription(const void* nodeKey, const Matrix4* drawTransform)
165 ShadowTask(const Matrix4* drawTransform, const Rect& localClip, bool opaque,
166 const SkPath* casterPerimeter, const Matrix4* transformXY, const Matrix4* transformZ,
192 const Matrix4 drawTransform;
196 const Matrix4 transformXY;
197 const Matrix4 transformZ;
211 const Matrix4* drawTransform, const Rect* localClip
    [all...]
RenderNode.h 209 inline void issueDrawShadowOperation(const Matrix4& transformFromParent, T& handler);
213 const Matrix4& initialTransform, const Vector<ZDrawRenderNodeOpPair>& zTranslatedNodes,
StatefulBaseRenderer.h 79 void setMatrix(const Matrix4& matrix); // internal only convenience method
81 void concatMatrix(const Matrix4& matrix); // internal only convenience method
Snapshot.h 59 Matrix4 matrix;
163 const Matrix4& getOrthoMatrix() const { return mViewportData.mOrthoMatrix; }
StatefulBaseRenderer.cpp 136 void StatefulBaseRenderer::setMatrix(const Matrix4& matrix) {
145 void StatefulBaseRenderer::concatMatrix(const Matrix4& matrix) {
PathTessellator.h 40 static void extractTessellationScales(const Matrix4& transform, float* scaleX, float* scaleY);
RenderNode.cpp 211 Matrix4 windowTransform;
515 Matrix4 localTransformFromProjectionSurface(*transformFromProjectionSurface);
640 void RenderNode::issueDrawShadowOperation(const Matrix4& transformFromParent, T& handler) {
680 const Matrix4& initialTransform, const Vector<ZDrawRenderNodeOpPair>& zTranslatedNodes,
    [all...]
  /external/chromium_org/third_party/angle/samples/angle/post_sub_buffer/
PostSubBuffer.cpp 104 Matrix4 perspectiveMatrix = Matrix4::perspective(60.0f, float(getWindow()->getWidth()) / getWindow()->getHeight(),
107 Matrix4 modelMatrix = Matrix4::translate(Vector3(0.0f, 0.0f, -2.0f)) *
108 Matrix4::rotate(mRotation, Vector3(1.0f, 0.0f, 1.0f));
110 Matrix4 viewMatrix = Matrix4::identity();
112 Matrix4 mvpMatrix = perspectiveMatrix * viewMatrix * modelMatrix;
  /external/chromium_org/third_party/angle/samples/angle/simple_vertex_shader/
SimpleVertexShader.cpp 91 Matrix4 perspectiveMatrix = Matrix4::perspective(60.0f, float(getWindow()->getWidth()) / getWindow()->getHeight(),
94 Matrix4 modelMatrix = Matrix4::translate(Vector3(0.0f, 0.0f, -2.0f)) *
95 Matrix4::rotate(mRotation, Vector3(1.0f, 0.0f, 1.0f));
97 Matrix4 viewMatrix = Matrix4::identity();
99 Matrix4 mvpMatrix = perspectiveMatrix * viewMatrix * modelMatrix;
  /external/clang/test/SemaCXX/
composite-pointer-type.cpp 48 typedef double Matrix4[4][4];
50 bool f(Matrix4 m1, const Matrix4 m2) {
  /external/eigen/doc/
TopicLazyEvaluation.dox 35 \code matrix1 = -matrix2 + matrix3 + 5 * matrix4; \endcode
53 \code matrix1 = matrix2 + matrix3 * matrix4; \endcode
55 the product <tt>matrix3 * matrix4</tt> gets evaluated immediately into a temporary matrix. Indeed, experiments showed that it is often beneficial for performance to evaluate immediately matrix products when they are nested into bigger expressions.
59 \code matrix1 = matrix2 * (matrix3 + matrix4); \endcode
61 Here, provided the matrices have at least 2 rows and 2 columns, each coefficienct of the expression <tt>matrix3 + matrix4</tt> is going to be used several times in the matrix product. Instead of computing the sum everytime, it is much better to compute it once and store it in a temporary variable. Eigen understands this and evaluates <tt>matrix3 + matrix4</tt> into a temporary variable before evaluating the product.
  /external/chromium_org/third_party/WebKit/Source/platform/transforms/
TransformationMatrix.h 55 __declspec(align(16)) typedef double Matrix4[4][4];
57 typedef double Matrix4[4][4] __attribute__((aligned (16)));
60 typedef double Matrix4[4][4];
355 void setMatrix(const Matrix4 m)
358 memcpy(m_matrix, m, sizeof(Matrix4));
361 Matrix4 m_matrix;
TransformationMatrix.cpp 120 static double determinant4x4(const TransformationMatrix::Matrix4& m)
167 static void adjoint(const TransformationMatrix::Matrix4& matrix, TransformationMatrix::Matrix4& result)
214 static bool inverse(const TransformationMatrix::Matrix4& matrix, TransformationMatrix::Matrix4& result)
242 static void transposeMatrix4(const TransformationMatrix::Matrix4& a, TransformationMatrix::Matrix4& b)
250 static void v4MulPointByMatrix(const Vector4 p, const TransformationMatrix::Matrix4& m, Vector4 result)
300 static bool decompose(const TransformationMatrix::Matrix4& mat, TransformationMatrix::DecomposedType& result)
302 TransformationMatrix::Matrix4 localMatrix
    [all...]
  /external/eigen/test/eigen2/
eigen2_geometry.cpp 23 typedef Matrix<Scalar,4,4> Matrix4;
186 Matrix4 mat4;
200 VERIFY_IS_APPROX(t4.matrix(), Matrix4::Identity());
210 VERIFY_IS_APPROX(t4.matrix(), Matrix4::Identity());
219 VERIFY_IS_APPROX(t4.matrix(), Matrix4::Identity());
eigen2_geometry_with_eigen2_prefix.cpp 25 typedef Matrix<Scalar,4,4> Matrix4;
188 Matrix4 mat4;
202 VERIFY_IS_APPROX(t4.matrix(), Matrix4::Identity());
212 VERIFY_IS_APPROX(t4.matrix(), Matrix4::Identity());
221 VERIFY_IS_APPROX(t4.matrix(), Matrix4::Identity());
  /external/eigen/test/
geo_transformations.cpp 83 typedef Matrix<Scalar,4,4> Matrix4;
185 Matrix4 mat4;
351 Matrix4 t044 = Matrix4::Zero();
357 t044 = Matrix4::Zero();
  /external/chromium_org/third_party/angle/src/compiler/translator/
glslang.l 130 "mat4" { return MATRIX4; }
134 "mat4x4" { return ES2_ident_ES3_keyword(context, MATRIX4); }
glslang_tab.h 93 MATRIX4 = 294,

Completed in 416 milliseconds

1 2