Lines Matching refs:transforms

67     c->transforms.modelview.init(OGLES_MODELVIEW_STACK_DEPTH);  in ogles_init_matrix()
68 c->transforms.projection.init(OGLES_PROJECTION_STACK_DEPTH); in ogles_init_matrix()
70 c->transforms.texture[i].init(OGLES_TEXTURE_STACK_DEPTH); in ogles_init_matrix()
72 c->transforms.current = &c->transforms.modelview; in ogles_init_matrix()
73 c->transforms.matrixMode = GL_MODELVIEW; in ogles_init_matrix()
74 c->transforms.dirty = transform_state_t::VIEWPORT | in ogles_init_matrix()
78 c->transforms.mvp.loadIdentity(); in ogles_init_matrix()
79 c->transforms.mvp4.loadIdentity(); in ogles_init_matrix()
80 c->transforms.mvit4.loadIdentity(); in ogles_init_matrix()
81 c->transforms.mvui.loadIdentity(); in ogles_init_matrix()
82 c->transforms.vpt.loadIdentity(); in ogles_init_matrix()
83 c->transforms.vpt.zNear = 0.0f; in ogles_init_matrix()
84 c->transforms.vpt.zFar = 1.0f; in ogles_init_matrix()
89 c->transforms.modelview.uninit(); in ogles_uninit_matrix()
90 c->transforms.projection.uninit(); in ogles_uninit_matrix()
92 c->transforms.texture[i].uninit(); in ogles_uninit_matrix()
106 (c->transforms.mvp4.flags & transform_t::FLAGS_2D_PROJECTION)) { in validate_perspective()
119 int dirty = c->transforms.dirty & want; in ogles_validate_transform_impl()
123 c->transforms.modelview.validate(); in ogles_validate_transform_impl()
128 c->transforms.projection.validate(); in ogles_validate_transform_impl()
133 vp_transform_t& vpt = c->transforms.vpt; in ogles_validate_transform_impl()
140 c->transforms.update_mvp(); in ogles_validate_transform_impl()
147 c->transforms.update_mvui(); in ogles_validate_transform_impl()
154 c->transforms.texture[i].validate(); in ogles_validate_transform_impl()
159 c->transforms.update_mvit(); in ogles_validate_transform_impl()
162 c->transforms.dirty &= ~want; in ogles_validate_transform_impl()
691 GLfloat near = c->transforms.vpt.zNear; in ogles_viewport()
692 GLfloat far = c->transforms.vpt.zFar; in ogles_viewport()
697 GLfloat* const f = c->transforms.vpt.matrix.editElements(); in ogles_viewport()
702 c->transforms.dirty |= transform_state_t::VIEWPORT; in ogles_viewport()
703 if (c->transforms.mvp4.flags & transform_t::FLAGS_2D_PROJECTION) in ogles_viewport()
704 c->transforms.dirty |= transform_state_t::MVP; in ogles_viewport()
837 c->transforms.current->multiply(rhs); in frustumf()
838 c->transforms.invalidate(); in frustumf()
876 c->transforms.current->multiply(rhs); in orthof()
877 c->transforms.invalidate(); in orthof()
884 GLfloat* const f = c->transforms.vpt.matrix.editElements(); in depthRangef()
887 c->transforms.dirty |= transform_state_t::VIEWPORT; in depthRangef()
888 c->transforms.vpt.zNear = zNear; in depthRangef()
889 c->transforms.vpt.zFar = zFar; in depthRangef()
904 stack = &c->transforms.modelview; in glMatrixMode()
907 stack = &c->transforms.projection; in glMatrixMode()
910 stack = &c->transforms.texture[c->textures.active]; in glMatrixMode()
916 c->transforms.matrixMode = mode; in glMatrixMode()
917 c->transforms.current = stack; in glMatrixMode()
923 c->transforms.current->loadIdentity(); // also loads the GLfixed transform in glLoadIdentity()
924 c->transforms.invalidate(); in glLoadIdentity()
925 c->transforms.current->dirty = 0; in glLoadIdentity()
931 c->transforms.current->load(m); in glLoadMatrixf()
932 c->transforms.invalidate(); in glLoadMatrixf()
938 c->transforms.current->load(m); // also loads the GLfixed transform in glLoadMatrixx()
939 c->transforms.invalidate(); in glLoadMatrixx()
940 c->transforms.current->dirty &= ~matrix_stack_t::DO_FLOAT_TO_FIXED; in glLoadMatrixx()
948 c->transforms.current->multiply(rhs); in glMultMatrixf()
949 c->transforms.invalidate(); in glMultMatrixf()
957 c->transforms.current->multiply(rhs); in glMultMatrixx()
958 c->transforms.invalidate(); in glMultMatrixx()
964 GLint err = c->transforms.current->pop(); in glPopMatrix()
969 c->transforms.invalidate(); in glPopMatrix()
975 GLint err = c->transforms.current->push(); in glPushMatrix()
980 c->transforms.invalidate(); in glPushMatrix()
1028 c->transforms.current->rotate(a, x, y, z); in glRotatef()
1029 c->transforms.invalidate(); in glRotatef()
1035 c->transforms.current->rotate( in glRotatex()
1038 c->transforms.invalidate(); in glRotatex()
1044 c->transforms.current->scale(x, y, z); in glScalef()
1045 c->transforms.invalidate(); in glScalef()
1051 c->transforms.current->scale( in glScalex()
1053 c->transforms.invalidate(); in glScalex()
1059 c->transforms.current->translate(x, y, z); in glTranslatef()
1060 c->transforms.invalidate(); in glTranslatef()
1066 c->transforms.current->translate( in glTranslatex()
1068 c->transforms.invalidate(); in glTranslatex()
1113 GLfloat const* f = c->transforms.current->top().elements(); in glQueryMatrixxOES()