/frameworks/rs/ |
D | rsRuntime.h | 160 void rsrMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v); 161 float rsrMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col); 166 void rsrMatrixLoadIdentity_4x4(rs_matrix4x4 *m); 169 void rsrMatrixLoad_4x4_f(rs_matrix4x4 *m, const float *v); 172 void rsrMatrixLoad_4x4_4x4(rs_matrix4x4 *m, const rs_matrix4x4 *v); 173 void rsrMatrixLoad_4x4_3x3(rs_matrix4x4 *m, const rs_matrix3x3 *v); 174 void rsrMatrixLoad_4x4_2x2(rs_matrix4x4 *m, const rs_matrix2x2 *v); 177 void rsrMatrixLoadRotate(rs_matrix4x4 *m, float rot, float x, float y, float z); 178 void rsrMatrixLoadScale(rs_matrix4x4 *m, float x, float y, float z); 179 void rsrMatrixLoadTranslate(rs_matrix4x4 *m, float x, float y, float z); [all …]
|
D | rsMatrix4x4.h | 27 struct Matrix4x4 : public rs_matrix4x4 { 38 void load(const rs_matrix4x4 *); 45 void loadMultiply(const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs); 60 void multiply(const rs_matrix4x4 *rhs) { in multiply()
|
/frameworks/rs/scriptc/ |
D | rs_matrix.rsh | 37 rsMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v); 59 rsMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col); 76 extern void __attribute__((overloadable)) rsMatrixLoadIdentity(rs_matrix4x4 *m); 91 extern void __attribute__((overloadable)) rsMatrixLoad(rs_matrix4x4 *m, const float *v); 103 extern void __attribute__((overloadable)) rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix4x4 *v); 107 extern void __attribute__((overloadable)) rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix3x3 *v); 114 extern void __attribute__((overloadable)) rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix2x2 *v); 134 rsMatrixLoadRotate(rs_matrix4x4 *m, float rot, float x, float y, float z); 145 rsMatrixLoadScale(rs_matrix4x4 *m, float x, float y, float z); 156 rsMatrixLoadTranslate(rs_matrix4x4 *m, float x, float y, float z); [all …]
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
D | rs_matrix.c | 17 rsMatrixLoadIdentity(rs_matrix4x4 *m) { in rsMatrixLoadIdentity() 57 rsMatrixLoad(rs_matrix4x4 *m, const float *f) { in rsMatrixLoad() 96 rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix4x4 *s) { in rsMatrixLoad() 115 rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix3x3 *v) { in rsMatrixLoad() 134 rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix2x2 *v) { in rsMatrixLoad() 174 rsMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v) { in rsMatrixSet() 179 rsMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col) { in rsMatrixGet() 216 rsMatrixMultiply(rs_matrix4x4 *m, float4 in) { in rsMatrixMultiply() 217 return rsMatrixMultiply((const rs_matrix4x4 *)m, in); in rsMatrixMultiply() 221 rsMatrixMultiply(rs_matrix4x4 *m, float3 in) { in rsMatrixMultiply() [all …]
|
D | matrix.ll | 5 %struct.rs_matrix4x4 = type { [16 x float] } 76 define <4 x float> @_Z16rsMatrixMultiplyPK12rs_matrix4x4Dv4_f(%struct.rs_matrix4x4* nocapture %m, <… 86 %px = getelementptr inbounds %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 0 89 %py = getelementptr inbounds %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 4 92 %pz = getelementptr inbounds %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 8 95 %pw = getelementptr inbounds %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 12 109 define <4 x float> @_Z16rsMatrixMultiplyP12rs_matrix4x4Dv4_f(%struct.rs_matrix4x4* nocapture %m, <4… 110 …%r = tail call <4 x float> @_Z16rsMatrixMultiplyPK12rs_matrix4x4Dv4_f(%struct.rs_matrix4x4* nocapt… 114 define <4 x float> @_Z16rsMatrixMultiplyPK12rs_matrix4x4Dv3_f(%struct.rs_matrix4x4* nocapture %m, <… 122 %px = getelementptr inbounds %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 0 [all …]
|
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
D | shader_def.rsh | 20 rs_matrix4x4 model; 21 rs_matrix4x4 proj; 34 rs_matrix4x4 model[2]; 35 rs_matrix4x4 proj; 43 rs_matrix4x4 model; 44 rs_matrix4x4 proj;
|
D | rsrenderstates.rs | 155 rs_matrix4x4 proj; 162 rs_matrix4x4 matrix; 213 rs_matrix4x4 matrix; 258 rs_matrix4x4 matrix; 278 rs_matrix4x4 matrix; 335 rs_matrix4x4 proj; 352 rs_matrix4x4 matrix; 393 rs_matrix4x4 l0Mat; 396 rs_matrix4x4 l1Mat; 550 rs_matrix4x4 matrix; [all …]
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
D | transform.rs | 25 rs_matrix4x4 *mat; 28 static void appendTransformation(int type, float4 data, rs_matrix4x4 *mat) { 29 rs_matrix4x4 temp; 53 rs_matrix4x4 *localMat = &data->localMat; 54 rs_matrix4x4 *globalMat = &data->globalMat;
|
D | transform_def.rsh | 25 rs_matrix4x4 globalMat; 26 rs_matrix4x4 localMat;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | params.rsh | 128 rsMatrixLoad((rs_matrix4x4*)dataPtr, &pTransform->globalMat); 131 rsMatrixLoad((rs_matrix4x4*)dataPtr, ¤tCam->view); 134 rsMatrixLoad((rs_matrix4x4*)dataPtr, ¤tCam->proj); 137 rsMatrixLoad((rs_matrix4x4*)dataPtr, ¤tCam->viewProj); 140 rsMatrixLoad((rs_matrix4x4*)dataPtr, &pTransform->globalMat); 143 rsMatrixLoad((rs_matrix4x4*)dataPtr, ¤tCam->view); 144 rsMatrixLoadMultiply((rs_matrix4x4*)dataPtr, 145 (rs_matrix4x4*)dataPtr, 149 rsMatrixLoad((rs_matrix4x4*)dataPtr, ¤tCam->viewProj); 150 rsMatrixLoadMultiply((rs_matrix4x4*)dataPtr, [all …]
|
D | transform.rs | 25 rs_matrix4x4 *mat; 57 static void appendTransformation(int type, float4 data, rs_matrix4x4 *mat) { 58 rs_matrix4x4 temp; 83 rs_matrix4x4 *localMat = &data->localMat; 84 rs_matrix4x4 *globalMat = &data->globalMat;
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | shader_def.rsh | 20 rs_matrix4x4 model; 21 rs_matrix4x4 proj; 34 rs_matrix4x4 model; 35 rs_matrix4x4 proj;
|
D | torus_test.rs | 64 static void updateModelMatrix(rs_matrix4x4 *matrix, void *buffer) { 72 static void drawToruses(int numMeshes, rs_matrix4x4 *matrix, void *buffer) { 117 rs_matrix4x4 proj; 139 rs_matrix4x4 matrix; 163 rs_matrix4x4 l0Mat; 166 rs_matrix4x4 l1Mat;
|
D | ui_test.rs | 58 rs_matrix4x4 Proj; field 59 rs_matrix4x4 MVP; 109 rs_matrix4x4 proj; 220 rs_matrix4x4 matrix; 268 rs_matrix4x4 matrix; 279 rs_matrix4x4 transMatrix; 310 rs_matrix4x4 matrix; 318 rs_matrix4x4 transMatrix;
|
D | mesh_test.rs | 52 rs_matrix4x4 proj; 60 rs_matrix4x4 matrix;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/res/raw/ |
D | shader2v.glsl | 2 rs_matrix4x4 model; 3 rs_matrix4x4 viewProj;
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
D | fbotest.rs | 148 rs_matrix4x4 proj; 157 rs_matrix4x4 matrix; 173 rs_matrix4x4 proj, matrix; 199 rs_matrix4x4 proj; 208 rs_matrix4x4 matrix;
|
D | fbosync.rs | 149 rs_matrix4x4 proj; 158 rs_matrix4x4 matrix; 174 rs_matrix4x4 proj, matrix; 211 rs_matrix4x4 proj; 220 rs_matrix4x4 matrix;
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | rstypes.rs | 10 rs_matrix4x4 matrix4x4Test; 22 rs_matrix4x4 matrix4x4TestLocal;
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
D | rstypes.rs | 16 rs_matrix4x4 matrix4x4Test; 28 rs_matrix4x4 matrix4x4TestLocal;
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | rstypes.rs | 16 rs_matrix4x4 matrix4x4Test; 28 rs_matrix4x4 matrix4x4TestLocal;
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
D | rstypes.rs | 16 rs_matrix4x4 matrix4x4Test; 28 rs_matrix4x4 matrix4x4TestLocal;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | colormatrix.fs | 19 static rs_matrix4x4 Mat; 25 void setMatrix(rs_matrix4x4 m) {
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | colormatrix.fs | 19 static rs_matrix4x4 Mat; 25 void setMatrix(rs_matrix4x4 m) {
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | colormatrix.fs | 19 static rs_matrix4x4 Mat; 25 void setMatrix(rs_matrix4x4 m) {
|