Home
last modified time | relevance | path

Searched refs:vertex_t (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/opengl/libagl/
Dprimitives.cpp37 static void primitive_point(ogles_context_t* c, vertex_t* v);
38 static void primitive_line(ogles_context_t* c, vertex_t* v0, vertex_t* v1);
40 vertex_t* v0, vertex_t* v1, vertex_t* v2);
42 static void primitive_nop_point(ogles_context_t* c, vertex_t* v);
43 static void primitive_nop_line(ogles_context_t* c, vertex_t* v0, vertex_t* v1);
45 vertex_t* v0, vertex_t* v1, vertex_t* v2);
48 vertex_t* v0, vertex_t* v1, vertex_t* v2);
51 vertex_t* v0, vertex_t* v1, vertex_t* v2);
54 vertex_t* v0, vertex_t* v1, vertex_t* v2);
57 vertex_t* v0, vertex_t* v1, vertex_t* v2);
[all …]
Dvertex.h28 struct vertex_t;
35 void ogles_vertex_perspective2D(ogles_context_t*, vertex_t*);
37 void ogles_vertex_perspective3D(ogles_context_t*, vertex_t*);
38 void ogles_vertex_perspective3DZ(ogles_context_t*, vertex_t*);
39 void ogles_vertex_clipAllPerspective3D(ogles_context_t*, vertex_t*);
40 void ogles_vertex_clipAllPerspective3DZ(ogles_context_t*, vertex_t*);
43 void ogles_vertex_project(ogles_context_t* c, vertex_t*);
Dcontext.h104 struct vertex_t { struct
214 void (*compileElements)(ogles_context_t*, vertex_t*, GLint, GLsizei);
215 void (*compileElement)(ogles_context_t*, vertex_t*, GLint);
220 void (*perspective)(ogles_context_t*c, vertex_t* v);
221 void (*clipVertex)(ogles_context_t* c, vertex_t* nv,
222 GGLfixed t, const vertex_t* s, const vertex_t* p);
223 void (*clipEye)(ogles_context_t* c, vertex_t* nv,
224 GGLfixed t, const vertex_t* s, const vertex_t* p);
240 vertex_t* vBuffer;
241 vertex_t* vCache;
[all …]
Darray.cpp49 vertex_t*, GLint, GLsizei);
51 vertex_t*, GLint);
348 CTA<(sizeof(vertex_t) & 0x1F) == 0> assertAlignedSize; in init()
353 const size_t size = s*sizeof(vertex_t) + align; in init()
357 vBuffer = (vertex_t*)((size_t(base) + align - 1) & ~(align-1)); in init()
378 vertex_t* v = vBuffer; in clear()
389 vertex_t* v = vBuffer; in clear()
455 vertex_t* cache_vertex(ogles_context_t* c, vertex_t* v, uint32_t index) in cache_vertex()
479 vertex_t* fetch_vertex(ogles_context_t* c, size_t index) in fetch_vertex()
485 vertex_t* const v = c->vc.vCache + in fetch_vertex()
[all …]
Dvertex.cpp54 void perspective(ogles_context_t* c, vertex_t* v, uint32_t enables) in perspective()
83 void clipFrustumPerspective(ogles_context_t* c, vertex_t* v, uint32_t enables) in clipFrustumPerspective()
89 uint32_t clip = v->flags & vertex_t::CLIP_ALL; in clipFrustumPerspective()
91 if (v->clip.x < -w) clip |= vertex_t::CLIP_L; in clipFrustumPerspective()
92 if (v->clip.x > w) clip |= vertex_t::CLIP_R; in clipFrustumPerspective()
93 if (v->clip.y < -w) clip |= vertex_t::CLIP_B; in clipFrustumPerspective()
94 if (v->clip.y > w) clip |= vertex_t::CLIP_T; in clipFrustumPerspective()
95 if (v->clip.z < -w) clip |= vertex_t::CLIP_N; in clipFrustumPerspective()
96 if (v->clip.z > w) clip |= vertex_t::CLIP_F; in clipFrustumPerspective()
110 void clipAllPerspective(ogles_context_t* c, vertex_t* v, uint32_t enables) in clipAllPerspective()
[all …]
Dlight.cpp35 static void lightVertexValidate(ogles_context_t* c, vertex_t* v);
36 static void lightVertexNop(ogles_context_t* c, vertex_t* v);
37 static void lightVertex(ogles_context_t* c, vertex_t* v);
38 static void lightVertexMaterial(ogles_context_t* c, vertex_t* v);
288 void lightVertexNop(ogles_context_t*, vertex_t* /*v*/) in lightVertexNop() argument
293 void lightVertexValidateMVI(ogles_context_t* c, vertex_t* v) in lightVertexValidateMVI()
300 void lightVertexValidate(ogles_context_t* c, vertex_t* v) in lightVertexValidate()
307 void lightVertexMaterial(ogles_context_t* c, vertex_t* v) in lightVertexMaterial()
344 void lightVertex(ogles_context_t* c, vertex_t* v) in lightVertex()
449 v->flags |= vertex_t::LIT; in lightVertex()
Dmatrix.cpp95 static void validate_perspective(ogles_context_t* c, vertex_t* v) in validate_perspective()