Home
last modified time | relevance | path

Searched refs:vec4_t (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/opengl/libagl/
Dcontext.h94 struct vec4_t { struct
135 vec4_t obj;
136 vec4_t eye;
138 vec4_t clip;
146 vec4_t window;
148 vec4_t color;
149 vec4_t texture[GGL_TEXTURE_UNIT_COUNT];
216 void (*mvp_transform)(transform_t const*, vec4_t*, vec4_t const*);
217 void (*mv_transform)(transform_t const*, vec4_t*, vec4_t const*);
218 void (*tex_transform[2])(transform_t const*, vec4_t*, vec4_t const*);
[all …]
Dmatrix.cpp51 static void point2__nop(transform_t const*, vec4_t* c, vec4_t const* o);
52 static void point3__nop(transform_t const*, vec4_t* c, vec4_t const* o);
53 static void point4__nop(transform_t const*, vec4_t* c, vec4_t const* o);
54 static void normal__nop(transform_t const*, vec4_t* c, vec4_t const* o);
55 static void point2__generic(transform_t const*, vec4_t* c, vec4_t const* o);
56 static void point3__generic(transform_t const*, vec4_t* c, vec4_t const* o);
57 static void point4__generic(transform_t const*, vec4_t* c, vec4_t const* o);
58 static void point3__mvui(transform_t const*, vec4_t* c, vec4_t const* o);
59 static void point4__mvui(transform_t const*, vec4_t* c, vec4_t const* o);
724 void point2__generic(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) { in point2__generic()
[all …]
Dlight.cpp61 static void init_white(vec4_t& c) { in init_white()
232 const vec4_t eyeViewer = { 0, 0, 0x10000, 0 }; in validate_light_mvi()
347 vec4_t r = c->lighting.implicitSceneEmissionAndAmbient; in lightVertex()
348 const vec4_t objViewer = c->lighting.objViewer; in lightVertex()
355 vec4_t n; in lightVertex()
377 vec4_t d, t; in lightVertex()
385 vec4_t o; in lightVertex()
406 vec4_t h; in lightVertex()
538 mv.point4(&mv, &light.position, reinterpret_cast<vec4_t const*>(params)); in lightxv()
546 mvui.point3(&mvui, &light.spotDir, reinterpret_cast<vec4_t const*>(params)); in lightxv()
[all …]
Dvertex.cpp172 vec4_t& equation = c->clipPlanes.plane[p].equation; in clipPlanex()
173 memcpy(equation.v, equ, sizeof(vec4_t)); in clipPlanex()
Darray.cpp137 memcpy(v, c->current.color.v, sizeof(vec4_t)); in currentColor()
140 memcpy(v, c->currentColorClamped.v, sizeof(vec4_t)); in currentColor_clamp()
146 memcpy(v, c->current.texture[c->arrays.tmu].v, sizeof(vec4_t)); in currentTexCoord()
1030 static void clipVec4(vec4_t& nv, in clipVec4()
1031 GLfixed t, const vec4_t& s, const vec4_t& p) in clipVec4()
Dprimitives.cpp409 vec4_t& coords = v->texture[i]; in fetch_texcoord_impl()
838 GLfixed frustumPlaneDist(int plane, const vec4_t& s) in frustumPlaneDist()
901 const vec4_t& equation = c->clipPlanes.plane[plane].equation; in clip_triangle()
1043 const vec4_t& equation = c->clipPlanes.plane[plane].equation; in clip_line()
Dtexture.cpp57 memset(c->current.texture[i].v, 0, sizeof(vec4_t)); in ogles_init_texture()
/frameworks/native/services/sensorservice/
DFusion.h69 vec4_t getAttitude() const;
92 void initFusion(const vec4_t& q0, float dT);
96 static mat34_t getF(const vec4_t& p);
DSensorFusion.h50 vec4_t &mAttitude;
51 vec4_t mAttitudes[NUM_FUSION_MODE];
80 vec4_t getAttitude(int mode = FUSION_9AXIS) const {
DFusion.cpp218 void Fusion::initFusion(const vec4_t& q, float dT) in initFusion()
305 const vec4_t q = matrixToQuat(R); in checkInitComplete()
404 vec4_t Fusion::getAttitude() const { in getAttitude()
416 mat34_t Fusion::getF(const vec4_t& q) { in getF()
431 const vec4_t q = x0; in predict()
496 vec4_t q(x0); in update()
DRotationVectorSensor.cpp51 const vec4_t q(mSensorFusion.getAttitude(mMode)); in process()
Dquat.h93 typedef vec4_t quat_t;
Dvec.h432 typedef vec<float, 4> vec4_t;