HomeSort by relevance Sort by last modified time
    Searched refs:mat4 (Results 1 - 25 of 63) sorted by null

1 2 3

  /frameworks/native/services/surfaceflinger/Effects/
Daltonizer.cpp 18 #include <ui/mat4.h>
43 const mat4& Daltonizer::operator()() {
53 const mat4 rgb2xyz( 0.4124, 0.2126, 0.0193, 0,
59 const mat4 xyz2lms( 0.7328,-0.7036, 0.0030, 0,
65 const mat4 rgb2lms(xyz2lms*rgb2xyz);
68 const mat4 lms2rgb(inverse(rgb2lms));
97 const mat4 lms2lmsp( 0.0000, 0.0000, 0.0000, 0,
103 const mat4 lms2lmsd( 1.0000, -p0.x / p0.y, 0.0000, 0,
109 const mat4 lms2lmst( 1.0000, 0.0000, -p1.x / p1.z, 0,
121 const mat4 errp( 1.0, 0.7, 0.7, 0
    [all...]
Daltonizer.h 20 #include <ui/mat4.h>
47 const mat4& operator()();
55 mat4 mColorTransform;
  /frameworks/native/libs/ui/tests/
mat_test.cpp 24 #include <ui/mat4.h>
33 mat4 m0;
34 EXPECT_EQ(sizeof(mat4), sizeof(float)*16);
38 mat4 m0;
39 mat4 m1(2);
48 mat4 m0;
66 mat4 m1(2);
67 mat4 m2(vec4(2));
68 mat4 m3(m2);
74 mat4 m4(vec4(1), vec4(2), vec4(3), vec4(4))
    [all...]
  /frameworks/native/services/surfaceflinger/RenderEngine/
Description.h 52 mat4 mProjectionMatrix;
55 mat4 mColorMatrix;
67 void setProjectionMatrix(const mat4& mtx);
68 void setColorMatrix(const mat4& mtx);
Texture.h 18 #include <ui/mat4.h>
31 mat4 mTextureMatrix;
49 const mat4& getMatrix() const;
Texture.cpp 43 mTextureMatrix = mat4(matrix);
63 const mat4& Texture::getMatrix() const {
Description.cpp 80 void Description::setProjectionMatrix(const mat4& mtx) {
85 void Description::setColorMatrix(const mat4& mtx) {
86 const mat4 identity;
GLES20RenderEngine.h 51 mat4 colorTransform;
80 virtual void beginGroup(const mat4& colorTransform);
GLES20RenderEngine.cpp 95 mat4 m;
97 m = mat4::ortho(l, r, t, b, 0, 1);
99 m = mat4::ortho(l, r, b, t, 0, 1);
108 m = mat4::rotate(rot90InRadians, vec3(0,0,1)) * m;
111 m = mat4::rotate(rot90InRadians * 2.0f, vec3(0,0,1)) * m;
114 m = mat4::rotate(rot90InRadians * 3.0f, vec3(0,0,1)) * m;
246 void GLES20RenderEngine::beginGroup(const mat4& colorTransform) {
311 mState.setColorMatrix(mat4());
RenderEngine.h 26 #include <ui/mat4.h>
111 virtual void beginGroup(const mat4& colorTransform) = 0;
GLES11RenderEngine.h 65 virtual void beginGroup(const mat4& colorTransform);
  /cts/suite/cts/deviceTests/opengl/assets/vertex/
water 15 uniform mat4 u_MVPMatrix;
16 uniform mat4 u_MVMatrix;
perspective 15 uniform mat4 u_MVPMatrix;
16 uniform mat4 u_MVMatrix;
  /frameworks/base/libs/hwui/
SkiaShader.h 54 static void setupProgram(Caches* caches, const mat4& modelViewMatrix,
64 static void setupProgram(Caches* caches, const mat4& modelViewMatrix,
77 static void setupProgram(Caches* caches, const mat4& modelViewMatrix,
88 static void setupProgram(Caches* caches, const mat4& modelViewMatrix,
101 static void setupProgram(Caches* caches, const mat4& modelViewMatrix,
112 static void setupProgram(Caches* caches, const mat4& modelViewMatrix,
PathTessellator.h 54 const mat4& transform, VertexBuffer& vertexBuffer);
68 const mat4& transform, VertexBuffer& vertexBuffer);
82 const mat4& transform, VertexBuffer& vertexBuffer);
Program.cpp 156 void Program::set(const mat4& projectionMatrix, const mat4& modelViewMatrix,
157 const mat4& transformMatrix, bool offset) {
162 mat4 p(projectionMatrix);
175 mat4 t(transformMatrix);
SkiaShader.cpp 71 static void computeScreenSpaceMatrix(mat4& screenSpace, const SkMatrix& unitMatrix,
72 const SkMatrix& localMatrix, const mat4& modelViewMatrix) {
73 mat4 shaderMatrix;
139 typedef void (*setupProgramProc)(Caches* caches, const mat4& modelViewMatrix,
155 void SkiaShader::setupProgram(Caches* caches, const mat4& modelViewMatrix,
170 void SkiaLayerShader::setupProgram(Caches* caches, const mat4& modelViewMatrix,
183 mat4 textureTransform;
263 void SkiaBitmapShader::setupProgram(Caches* caches, const mat4& modelViewMatrix,
284 mat4 textureTransform;
366 void SkiaGradientShader::setupProgram(Caches* caches, const mat4& modelViewMatrix
    [all...]
Snapshot.h 230 mat4* transform;
298 mat4 mOrthoMatrix;
306 mat4 mTransformRoot;
Layer.h 269 inline mat4& getTexTransform() {
273 inline mat4& getTransform() {
408 mat4 texTransform;
413 mat4 transform;
418 mat4 cachedInvTransformInWindow;
Program.h 360 void set(const mat4& projectionMatrix, const mat4& modelViewMatrix,
361 const mat4& transformMatrix, bool offset = false);
434 mat4 mProjection;
ShadowTessellator.h 76 const mat4& receiverTransform, const Vector3& lightCenter, int lightRadius,
  /external/chromium-trace/trace-viewer/third_party/gl-matrix/spec/gl-matrix/
mat4-spec.js 23 describe("mat4", function() {
50 beforeEach(function() { result = mat4.create(); });
55 beforeEach(function() { result = mat4.clone(matA); });
60 beforeEach(function() { result = mat4.copy(out, matA); });
66 beforeEach(function() { result = mat4.identity(out); });
73 beforeEach(function() { result = mat4.transpose(out, matA); });
95 beforeEach(function() { result = mat4.transpose(matA, matA); });
111 beforeEach(function() { result = mat4.invert(out, matA); });
133 beforeEach(function() { result = mat4.invert(matA, matA); });
149 beforeEach(function() { result = mat4.adjoint(out, matA); })
    [all...]
  /external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/
mat4.js 25 * @name mat4
27 var mat4 = {};
30 * Creates a new identity mat4
32 * @returns {mat4} a new 4x4 matrix
34 mat4.create = function() {
56 * Creates a new mat4 initialized with values from an existing matrix
58 * @param {mat4} a matrix to clone
59 * @returns {mat4} a new 4x4 matrix
61 mat4.clone = function(a) {
83 * Copy the values from one mat4 to anothe
    [all...]
  /external/chromium_org/third_party/mesa/src/src/glsl/builtins/glsl/
inverse.glsl 55 mat4 inverse(mat4 m)
77 mat4 adj;
  /external/mesa3d/src/glsl/builtins/glsl/
inverse.glsl 55 mat4 inverse(mat4 m)
77 mat4 adj;

Completed in 2103 milliseconds

1 2 3