/frameworks/base/libs/rs/ |
D | rsRuntime.h | 170 void rsrMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v); 171 float rsrMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col); 176 void rsrMatrixLoadIdentity_4x4(rs_matrix4x4 *m); 179 void rsrMatrixLoad_4x4_f(rs_matrix4x4 *m, const float *v); 182 void rsrMatrixLoad_4x4_4x4(rs_matrix4x4 *m, const rs_matrix4x4 *v); 183 void rsrMatrixLoad_4x4_3x3(rs_matrix4x4 *m, const rs_matrix3x3 *v); 184 void rsrMatrixLoad_4x4_2x2(rs_matrix4x4 *m, const rs_matrix2x2 *v); 187 void rsrMatrixLoadRotate(rs_matrix4x4 *m, float rot, float x, float y, float z); 188 void rsrMatrixLoadScale(rs_matrix4x4 *m, float x, float y, float z); 189 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()
|
D | rsMatrix4x4.cpp | 38 rs_matrix4x4 result; in inverse() 80 rs_matrix4x4 result; in inverseTranspose() 157 void Matrix4x4::load(const rs_matrix4x4 *v) { in load() 252 void Matrix4x4::loadMultiply(const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs) { in loadMultiply()
|
D | RenderScriptDefines.h | 59 } rs_matrix4x4; typedef
|
/frameworks/base/libs/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 …]
|
D | rs_graphics.rsh | 129 rsgProgramVertexLoadProjectionMatrix(const rs_matrix4x4 *proj); 137 rsgProgramVertexLoadModelMatrix(const rs_matrix4x4 *model); 145 rsgProgramVertexLoadTextureMatrix(const rs_matrix4x4 *tex); 153 rsgProgramVertexGetProjectionMatrix(rs_matrix4x4 *proj);
|
D | rs_debug.rsh | 60 rsDebug(const char *, const rs_matrix4x4 *);
|
D | rs_math.rsh | 102 rsExtractFrustumPlanes(const rs_matrix4x4 *viewProj,
|
D | rs_quaternion.rsh | 224 static void rsQuaternionGetMatrixUnit(rs_matrix4x4 *m, const rs_quaternion *q) {
|
D | rs_types.rsh | 341 } rs_matrix4x4;
|
/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;
|
D | simplemodel.rs | 31 rs_matrix4x4 gPostureMatrix; 142 rs_matrix4x4 proj; 151 rs_matrix4x4 matrix;
|
D | scenegraph.rs | 69 rs_matrix4x4 proj;
|
/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 | 57 static void updateModelMatrix(rs_matrix4x4 *matrix, void *buffer) { 65 static void drawToruses(int numMeshes, rs_matrix4x4 *matrix, void *buffer) { 110 rs_matrix4x4 proj; 132 rs_matrix4x4 matrix; 156 rs_matrix4x4 l0Mat; 159 rs_matrix4x4 l1Mat;
|
D | rsbench.rs | 65 rs_matrix4x4 Proj; field 66 rs_matrix4x4 MVP; 240 rs_matrix4x4 matrix; 290 rs_matrix4x4 proj; 297 rs_matrix4x4 matrix; 324 rs_matrix4x4 matrix; 363 rs_matrix4x4 matrix; 374 rs_matrix4x4 transMatrix; 405 rs_matrix4x4 matrix; 413 rs_matrix4x4 transMatrix; [all …]
|
/frameworks/compile/libbcc/lib/ScriptCRT/ |
D | rs_core.c | 110 rsMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v) { in rsMatrixSet() 115 rsMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col) { in rsMatrixGet() 141 rsMatrixMultiply(const rs_matrix4x4 *m, float4 in) { in rsMatrixMultiply() 150 rsMatrixMultiply(rs_matrix4x4 *m, float4 in) { in rsMatrixMultiply() 151 return rsMatrixMultiply((const rs_matrix4x4 *)m, in); in rsMatrixMultiply() 155 rsMatrixMultiply(const rs_matrix4x4 *m, float3 in) { in rsMatrixMultiply() 164 rsMatrixMultiply(rs_matrix4x4 *m, float3 in) { in rsMatrixMultiply() 165 return rsMatrixMultiply((const rs_matrix4x4 *)m, in); in rsMatrixMultiply() 169 rsMatrixMultiply(const rs_matrix4x4 *m, float2 in) { in rsMatrixMultiply() 178 rsMatrixMultiply(rs_matrix4x4 *m, float2 in) { in rsMatrixMultiply() [all …]
|
/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/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
D | rstypes.rs | 16 rs_matrix4x4 matrix4x4Test; 28 rs_matrix4x4 matrix4x4TestLocal;
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
D | shaderstest.rs | 135 rs_matrix4x4 proj; 143 rs_matrix4x4 matrix; 156 rs_matrix4x4 proj, matrix;
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
D | carousel.rs | 31 rs_matrix4x4 matrix; // custom transform for this card/geometry 212 rs_matrix4x4 defaultCardMatrix; 213 rs_matrix4x4 projectionMatrix; 214 rs_matrix4x4 modelviewMatrix; 278 makeRayForPixelAt(Ray* ray, rs_matrix4x4* model, rs_matrix4x4* proj, float x, float y); 446 static void loadPerspectiveMatrix(rs_matrix4x4* matrix, float fovy, float aspect, float near, float… 458 static void loadLookatMatrix(rs_matrix4x4* matrix, float3 eye, float3 center, float3 up) 550 void setMatrix(int n, rs_matrix4x4 matrix) { 643 static bool getMatrixForCard(rs_matrix4x4* matrix, int i, bool enableSway, bool enableCardMatrix) 752 rs_matrix4x4 matrix = modelviewMatrix; [all …]
|