/frameworks/native/libs/ui/tests/ |
D | mat_test.cpp | 33 mat4 m0; in TEST_F() 34 EXPECT_EQ(sizeof(mat4), sizeof(float)*16); in TEST_F() 38 mat4 m0; in TEST_F() 39 mat4 m1(2); in TEST_F() 48 mat4 m0; in TEST_F() 66 mat4 m1(2); in TEST_F() 67 mat4 m2(vec4(2)); in TEST_F() 68 mat4 m3(m2); in TEST_F() 74 mat4 m4(vec4(1), vec4(2), vec4(3), vec4(4)); in TEST_F() 78 mat4 m0; in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/Effects/ |
D | Daltonizer.cpp | 43 const mat4& Daltonizer::operator()() { in operator ()() 53 const mat4 rgb2xyz( 0.4124, 0.2126, 0.0193, 0, in update() 59 const mat4 xyz2lms( 0.7328,-0.7036, 0.0030, 0, in update() 65 const mat4 rgb2lms(xyz2lms*rgb2xyz); in update() 68 const mat4 lms2rgb(inverse(rgb2lms)); in update() 97 const mat4 lms2lmsp( 0.0000, 0.0000, 0.0000, 0, in update() 103 const mat4 lms2lmsd( 1.0000, -p0.x / p0.y, 0.0000, 0, in update() 109 const mat4 lms2lmst( 1.0000, 0.0000, -p1.x / p1.z, 0, in update() 121 const mat4 errp( 1.0, 0.7, 0.7, 0, in update() 127 const mat4 errd( 1.0, 0.0, 0.0, 0, in update() [all …]
|
D | Daltonizer.h | 47 const mat4& operator()(); 55 mat4 mColorTransform;
|
/frameworks/base/libs/hwui/ |
D | ClipArea.h | 95 const mat4* transform, SkRegion::Op op = SkRegion::kIntersect_Op); 96 bool clipRectWithTransform(const Rect& r, const mat4* transform, 99 bool clipPathWithTransform(const SkPath& path, const mat4* transform, 128 bool rectangleModeClipRectWithTransform(const Rect& r, const mat4* transform, SkRegion::Op op); 130 float bottom, const mat4* transform, SkRegion::Op op); 134 float right, float bottom, const mat4* transform, SkRegion::Op op); 136 const mat4* transform, SkRegion::Op op); 141 bool regionModeClipRectWithTransform(const Rect& r, const mat4* transform, 144 float bottom, const mat4* transform, SkRegion::Op op);
|
D | ClipArea.cpp | 216 float bottom, const mat4* transform, SkRegion::Op op) { in clipRectWithTransform() 221 bool ClipArea::clipRectWithTransform(const Rect& r, const mat4* transform, in clipRectWithTransform() 241 bool ClipArea::clipPathWithTransform(const SkPath& path, const mat4* transform, in clipPathWithTransform() 264 const mat4* transform, SkRegion::Op op) { in rectangleModeClipRectWithTransform() 290 float right, float bottom, const mat4* transform, SkRegion::Op op) { in rectangleModeClipRectWithTransform() 311 const mat4* transform, SkRegion::Op op) { in rectangleListModeClipRectWithTransform() 321 float right, float bottom, const mat4* transform, SkRegion::Op op) { in rectangleListModeClipRectWithTransform() 345 const mat4* transform, SkRegion::Op op) { in regionModeClipRectWithTransform() 355 float right, float bottom, const mat4* transform, SkRegion::Op op) { in regionModeClipRectWithTransform()
|
D | Program.cpp | 156 void Program::set(const mat4& projectionMatrix, const mat4& modelViewMatrix, in set() 157 const mat4& transformMatrix, bool offset) { in set() 162 mat4 p(projectionMatrix); in set() 175 mat4 t(transformMatrix); in set()
|
D | PathTessellator.h | 74 const mat4& transform, VertexBuffer& vertexBuffer); 88 const mat4& transform, VertexBuffer& vertexBuffer); 102 const mat4& transform, VertexBuffer& vertexBuffer);
|
D | Layer.h | 275 inline mat4& getTexTransform() { in getTexTransform() 279 inline mat4& getTransform() { in getTransform() 414 mat4 texTransform; 419 mat4 transform; 424 mat4 cachedInvTransformInWindow;
|
D | Program.h | 361 void set(const mat4& projectionMatrix, const mat4& modelViewMatrix, 362 const mat4& transformMatrix, bool offset = false); 430 mat4 mProjection;
|
D | Matrix.cpp | 508 len = data[mat4::kScaleX] * data[mat4::kScaleX] + data[mat4::kSkewX] * data[mat4::kSkewX]; in decomposeScale() 509 sx = copysignf(sqrtf(len), data[mat4::kScaleX]); in decomposeScale() 510 len = data[mat4::kScaleY] * data[mat4::kScaleY] + data[mat4::kSkewY] * data[mat4::kSkewY]; in decomposeScale() 511 sy = copysignf(sqrtf(len), data[mat4::kScaleY]); in decomposeScale()
|
D | Snapshot.h | 268 mat4* transform; 323 mat4 mOrthoMatrix; 326 mat4 mTransformRoot;
|
D | RenderNode.cpp | 471 void RenderNode::applyViewPropertyTransforms(mat4& matrix, bool true3dTransform) const { in applyViewPropertyTransforms() 476 mat4 stat(*properties().getStaticMatrix()); in applyViewPropertyTransforms() 479 mat4 anim(*properties().getAnimationMatrix()); in applyViewPropertyTransforms() 492 mat4 true3dMat; in applyViewPropertyTransforms() 527 properties().getOutline().getPath(), &mProjectedNodes, &mat4::identity()); in computeOrdering() 535 const mat4* transformFromProjectionSurface) { in computeOrderingImpl() 563 const mat4* projectionTransform = nullptr; in computeOrderingImpl() 572 projectionTransform = &mat4::identity(); in computeOrderingImpl() 674 mat4 shadowMatrixXY(transformFromParent); in issueDrawShadowOperation() 678 mat4 shadowMatrixZ(transformFromParent); in issueDrawShadowOperation()
|
D | SkiaShader.cpp | 67 static void computeScreenSpaceMatrix(mat4& screenSpace, const SkMatrix& unitMatrix, in computeScreenSpaceMatrix() 68 const SkMatrix& localMatrix, const mat4& modelViewMatrix) { in computeScreenSpaceMatrix() 69 mat4 shaderMatrix; in computeScreenSpaceMatrix() 301 mat4 transform; in tryStoreCompose()
|
D | RenderNode.h | 178 void applyViewPropertyTransforms(mat4& matrix, bool true3dTransform = false) const; 198 const mat4* transformFromProjectionSurface);
|
D | ShadowTessellator.h | 78 const mat4& receiverTransform, const Vector3& lightCenter, int lightRadius,
|
D | Snapshot.cpp | 113 mat4 inverse; in getLocalClip() 137 mat4 inverse; in resetTransform()
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | Description.h | 52 mat4 mProjectionMatrix; 55 mat4 mColorMatrix; 67 void setProjectionMatrix(const mat4& mtx); 68 void setColorMatrix(const mat4& mtx); 69 const mat4& getColorMatrix() const;
|
D | GLES20RenderEngine.cpp | 89 mat4 m; in setViewportAndProjection() 91 m = mat4::ortho(l, r, t, b, 0, 1); in setViewportAndProjection() 93 m = mat4::ortho(l, r, b, t, 0, 1); in setViewportAndProjection() 102 m = mat4::rotate(rot90InRadians, vec3(0,0,1)) * m; in setViewportAndProjection() 105 m = mat4::rotate(rot90InRadians * 2.0f, vec3(0,0,1)) * m; in setViewportAndProjection() 108 m = mat4::rotate(rot90InRadians * 3.0f, vec3(0,0,1)) * m; in setViewportAndProjection() 172 mat4 GLES20RenderEngine::setupColorTransform(const mat4& colorTransform) { in setupColorTransform() 173 mat4 oldTransform = mState.getColorMatrix(); in setupColorTransform()
|
D | Description.cpp | 80 void Description::setProjectionMatrix(const mat4& mtx) { in setProjectionMatrix() 85 void Description::setColorMatrix(const mat4& mtx) { in setColorMatrix() 86 const mat4 identity; in setColorMatrix() 91 const mat4& Description::getColorMatrix() const { in getColorMatrix()
|
D | GLES20RenderEngine.h | 51 mat4 colorTransform; 75 virtual mat4 setupColorTransform(const mat4& colorTransform);
|
D | Texture.h | 31 mat4 mTextureMatrix; 49 const mat4& getMatrix() const;
|
D | RenderEngine.h | 102 virtual mat4 setupColorTransform(const mat4& /* colorTransform */) { in setupColorTransform() argument 103 return mat4(); in setupColorTransform()
|
D | Texture.cpp | 43 mTextureMatrix = mat4(matrix); in setMatrix() 63 const mat4& Texture::getMatrix() const { in getMatrix()
|
/frameworks/base/core/res/res/raw/ |
D | color_fade_vert.vert | 1 uniform mat4 proj_matrix; 2 uniform mat4 tex_matrix;
|
/frameworks/base/tests/RenderScriptTests/MiscSamples/res/raw/ |
D | shaderarrayv.glsl | 13 mat4 model0 = UNI_model[0];
|