Home
last modified time | relevance | path

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

/frameworks/base/include/private/opengles/
Dgl_context.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];
212 void (*mvp_transform)(transform_t const*, vec4_t*, vec4_t const*);
213 void (*mv_transform)(transform_t const*, vec4_t*, vec4_t const*);
214 void (*tex_transform[2])(transform_t const*, vec4_t*, vec4_t const*);
[all …]
/frameworks/base/opengl/libagl/
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()
399 vec4_t h; in lightVertex()
531 mv.point4(&mv, &light.position, reinterpret_cast<vec4_t const*>(params)); in lightxv()
539 mvui.point3(&mvui, &light.spotDir, reinterpret_cast<vec4_t const*>(params)); in lightxv()
541 light.spotDir = *reinterpret_cast<vec4_t const*>(params); in lightxv()
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()
1026 static void clipVec4(vec4_t& nv, in clipVec4()
1027 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.cpp58 memset(c->current.texture[i].v, 0, sizeof(vec4_t)); in ogles_init_texture()
/frameworks/base/services/sensorservice/
DFusion.h62 vec4_t getAttitude() const;
76 void initFusion(const vec4_t& q0, float dT);
80 static mat34_t getF(const vec4_t& p);
DFusion.cpp188 void Fusion::initFusion(const vec4_t& q, float dT) in initFusion()
266 const vec4_t q = matrixToQuat(R); in checkInitComplete()
346 vec4_t Fusion::getAttitude() const { in getAttitude()
358 mat34_t Fusion::getF(const vec4_t& q) { in getF()
368 const vec4_t q = x0; in predict()
371 const vec4_t dq = getF(q)*((0.5f*dT)*we); in predict()
396 vec4_t q(x0); in update()
DSensorFusion.h50 vec4_t mAttitude;
61 vec4_t getAttitude() const { return mAttitude; } in getAttitude()
DRotationVectorSensor.cpp41 const vec4_t q(mSensorFusion.getAttitude()); in process()
Dquat.h93 typedef vec4_t quat_t;
Dvec.h432 typedef vec<float, 4> vec4_t;