Lines Matching refs:m
194 const GLfixed* const m = matrix.m; in picker() local
204 if (!(notZero(m[3]) | notZero(m[7]) | notZero(m[11]) | notOne(m[15]))) { in picker()
219 GLfixed const * const m = matrix.m; in dump() local
223 m[I(0,i)], m[I(1,i)], m[I(2,i)], m[I(3,i)], in dump()
224 fixedToFloat(m[I(0,i)]), in dump()
225 fixedToFloat(m[I(1,i)]), in dump()
226 fixedToFloat(m[I(2,i)]), in dump()
227 fixedToFloat(m[I(3,i)])); in dump()
237 GLfixed* xp = m; in load()
254 GLfloat const* const m = lhs.m; in multiply() local
256 const float rhs_i0 = rhs.m[ I(i,0) ]; in multiply()
257 float ri0 = m[ I(0,0) ] * rhs_i0; in multiply()
258 float ri1 = m[ I(0,1) ] * rhs_i0; in multiply()
259 float ri2 = m[ I(0,2) ] * rhs_i0; in multiply()
260 float ri3 = m[ I(0,3) ] * rhs_i0; in multiply()
262 const float rhs_ij = rhs.m[ I(i,j) ]; in multiply()
263 ri0 += m[ I(j,0) ] * rhs_ij; in multiply()
264 ri1 += m[ I(j,1) ] * rhs_ij; in multiply()
265 ri2 += m[ I(j,2) ] * rhs_ij; in multiply()
266 ri3 += m[ I(j,3) ] * rhs_ij; in multiply()
268 r.m[ I(i,0) ] = ri0; in multiply()
269 r.m[ I(i,1) ] = ri1; in multiply()
270 r.m[ I(i,2) ] = ri2; in multiply()
271 r.m[ I(i,3) ] = ri3; in multiply()
277 ALOGD("[ %9f %9f %9f %9f ]", m[I(0,0)], m[I(1,0)], m[I(2,0)], m[I(3,0)]); in dump()
278 ALOGD("[ %9f %9f %9f %9f ]", m[I(0,1)], m[I(1,1)], m[I(2,1)], m[I(3,1)]); in dump()
279 ALOGD("[ %9f %9f %9f %9f ]", m[I(0,2)], m[I(1,2)], m[I(2,2)], m[I(3,2)]); in dump()
280 ALOGD("[ %9f %9f %9f %9f ]", m[I(0,3)], m[I(1,3)], m[I(2,3)], m[I(3,3)]); in dump()
284 memcpy(m, gIdentityf, sizeof(m)); in loadIdentity()
296 GLfloat* fp = m; in load()
304 memcpy(m, rhs, sizeof(m)); in load()
319 m[12+i] += m[i]*x + m[4+i]*y + m[8+i]*z; in translate()
325 m[ i] *= x; in scale()
326 m[4+i] *= y; in scale()
327 m[8+i] *= z; in scale()
334 GLfloat* r = rotation.m; in rotate()
408 memcpy(transform.matrix.m, rhs, sizeof(transform.matrix.m)); in load()
592 GLfixed* const x = mvit4.matrix.m; in update_mvit()
617 GLfixed* const x = mvui.matrix.m; in update_mvui()
725 const GLfixed* const m = mx->matrix.m; in point2__generic() local
728 lhs->x = mla2a(rx, m[ 0], ry, m[ 4], m[12]); in point2__generic()
729 lhs->y = mla2a(rx, m[ 1], ry, m[ 5], m[13]); in point2__generic()
730 lhs->z = mla2a(rx, m[ 2], ry, m[ 6], m[14]); in point2__generic()
731 lhs->w = mla2a(rx, m[ 3], ry, m[ 7], m[15]); in point2__generic()
735 const GLfixed* const m = mx->matrix.m; in point3__generic() local
739 lhs->x = mla3a(rx, m[ 0], ry, m[ 4], rz, m[ 8], m[12]); in point3__generic()
740 lhs->y = mla3a(rx, m[ 1], ry, m[ 5], rz, m[ 9], m[13]); in point3__generic()
741 lhs->z = mla3a(rx, m[ 2], ry, m[ 6], rz, m[10], m[14]); in point3__generic()
742 lhs->w = mla3a(rx, m[ 3], ry, m[ 7], rz, m[11], m[15]); in point3__generic()
746 const GLfixed* const m = mx->matrix.m; in point4__generic() local
751 lhs->x = mla4(rx, m[ 0], ry, m[ 4], rz, m[ 8], rw, m[12]); in point4__generic()
752 lhs->y = mla4(rx, m[ 1], ry, m[ 5], rz, m[ 9], rw, m[13]); in point4__generic()
753 lhs->z = mla4(rx, m[ 2], ry, m[ 6], rz, m[10], rw, m[14]); in point4__generic()
754 lhs->w = mla4(rx, m[ 3], ry, m[ 7], rz, m[11], rw, m[15]); in point4__generic()
761 const GLfixed* const m = mx->matrix.m; in point3__mvui() local
765 lhs->x = mla3(rx, m[ 0], ry, m[ 4], rz, m[ 8]); in point3__mvui()
766 lhs->y = mla3(rx, m[ 1], ry, m[ 5], rz, m[ 9]); in point3__mvui()
767 lhs->z = mla3(rx, m[ 2], ry, m[ 6], rz, m[10]); in point3__mvui()
775 const GLfixed* const m = mx->matrix.m; in point4__mvui() local
780 lhs->x = mla4(rx, m[ 0], ry, m[ 4], rz, m[ 8], rw, m[12]); in point4__mvui()
781 lhs->y = mla4(rx, m[ 1], ry, m[ 5], rz, m[ 9], rw, m[13]); in point4__mvui()
782 lhs->z = mla4(rx, m[ 2], ry, m[ 6], rz, m[10], rw, m[14]); in point4__mvui()
939 void glLoadMatrixf(const GLfloat* m) in glLoadMatrixf() argument
942 c->transforms.current->load(m); in glLoadMatrixf()
946 void glLoadMatrixx(const GLfixed* m) in glLoadMatrixx() argument
949 c->transforms.current->load(m); // also loads the GLfixed transform in glLoadMatrixx()
954 void glMultMatrixf(const GLfloat* m) in glMultMatrixf() argument
958 rhs.set(m); in glMultMatrixf()
963 void glMultMatrixx(const GLfixed* m) in glMultMatrixx() argument
967 rhs.set(m); in glMultMatrixx()
1120 GLbitfield glQueryMatrixxOES(GLfixed* m, GLint* e) in glQueryMatrixxOES() argument
1131 m[i] = mantissa(f[i]); in glQueryMatrixxOES()