• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:vertex_t

49         vertex_t*, GLint, GLsizei);
51 vertex_t*, GLint);
351 CTA<(sizeof(vertex_t) & 0x1F) == 0> assertAlignedSize; in init()
355 const size_t size = s*sizeof(vertex_t) + align; in init()
359 vBuffer = (vertex_t*)((size_t(base) + align - 1) & ~(align-1)); in init()
380 vertex_t* v = vBuffer; in clear()
391 vertex_t* v = vBuffer; in clear()
457 vertex_t* cache_vertex(ogles_context_t* c, vertex_t* v, uint32_t index) in cache_vertex()
481 vertex_t* fetch_vertex(ogles_context_t* c, size_t index) in fetch_vertex()
487 vertex_t* const v = c->vc.vCache + in fetch_vertex()
498 vertex_t* v = c->vc.vCache + in fetch_vertex()
521 vertex_t* v = c->vc.vBuffer + 2; in fetch_vertex()
543 vertex_t* v = c->vc.vBuffer; in drawPrimitivesPoints()
545 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesPoints()
553 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawPrimitivesPoints()
569 vertex_t *v, *v0, *v1; in drawPrimitivesLineStrip()
570 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesLineStrip()
591 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawPrimitivesLineStrip()
599 c->arrays.cull = v0->flags & vertex_t::CLIP_ALL; in drawPrimitivesLineStrip()
609 vertex_t* v0 = c->vc.vBuffer; in drawPrimitivesLineLoop()
610 vertex_t* v1 = c->vc.vBuffer + 1; in drawPrimitivesLineLoop()
613 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawPrimitivesLineLoop()
628 vertex_t* v = c->vc.vBuffer; in drawPrimitivesLines()
630 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesLines()
639 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawPrimitivesLines()
659 vertex_t *v, *v0, *v1, *v2; in drawPrimitivesTriangleFanOrStrip()
660 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesTriangleFanOrStrip()
685 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawPrimitivesTriangleFanOrStrip()
699 c->arrays.cull = v0->flags & v1->flags & vertex_t::CLIP_ALL; in drawPrimitivesTriangleFanOrStrip()
724 vertex_t* v = c->vc.vBuffer; in drawPrimitivesTriangles()
726 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesTriangles()
735 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawPrimitivesTriangles()
771 vertex_t * v = fetch_vertex(c, read_index(type, indices)); in drawIndexedPrimitivesPoints()
772 if (ggl_likely(!(v->flags & vertex_t::CLIP_ALL))) in drawIndexedPrimitivesPoints()
787 vertex_t * const v = c->vc.vBuffer; in drawIndexedPrimitivesLineStrip()
788 vertex_t* v0 = v; in drawIndexedPrimitivesLineStrip()
789 vertex_t* v1; in drawIndexedPrimitivesLineStrip()
797 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawIndexedPrimitivesLineStrip()
814 vertex_t * const v = c->vc.vBuffer; in drawIndexedPrimitivesLineLoop()
815 vertex_t* v0 = v; in drawIndexedPrimitivesLineLoop()
816 vertex_t* v1; in drawIndexedPrimitivesLineLoop()
824 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawIndexedPrimitivesLineLoop()
834 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawIndexedPrimitivesLineLoop()
847 vertex_t* const v0 = fetch_vertex(c, read_index(type, indices)); in drawIndexedPrimitivesLines()
848 vertex_t* const v1 = fetch_vertex(c, read_index(type, indices)); in drawIndexedPrimitivesLines()
850 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawIndexedPrimitivesLines()
869 vertex_t * const v = c->vc.vBuffer; in drawIndexedPrimitivesTriangleFanOrStrip()
870 vertex_t* v0 = v; in drawIndexedPrimitivesTriangleFanOrStrip()
871 vertex_t* v1 = v+1; in drawIndexedPrimitivesTriangleFanOrStrip()
872 vertex_t* v2; in drawIndexedPrimitivesTriangleFanOrStrip()
885 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawIndexedPrimitivesTriangleFanOrStrip()
887 vertex_t* & consumed = ((winding^=1) ? v1 : v0); in drawIndexedPrimitivesTriangleFanOrStrip()
917 vertex_t* const v0 = fetch_vertex(c, *p++); in drawIndexedPrimitivesTriangles()
918 vertex_t* const v1 = fetch_vertex(c, *p++); in drawIndexedPrimitivesTriangles()
919 vertex_t* const v2 = fetch_vertex(c, *p++); in drawIndexedPrimitivesTriangles()
921 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawIndexedPrimitivesTriangles()
931 vertex_t* const v0 = fetch_vertex(c, *p++); in drawIndexedPrimitivesTriangles()
932 vertex_t* const v1 = fetch_vertex(c, *p++); in drawIndexedPrimitivesTriangles()
933 vertex_t* const v2 = fetch_vertex(c, *p++); in drawIndexedPrimitivesTriangles()
935 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawIndexedPrimitivesTriangles()
952 vertex_t* v, GLint first) in compileElement__generic()
966 vertex_t* v, GLint first, GLsizei count) in compileElements__generic()
1037 static void clipVertex(ogles_context_t* c, vertex_t* nv, in clipVertex()
1038 GLfixed t, const vertex_t* s, const vertex_t* p) in clipVertex()
1043 nv->flags |= vertex_t::LIT | vertex_t::EYE | vertex_t::TT; in clipVertex()
1044 nv->flags &= ~vertex_t::CLIP_ALL; in clipVertex()
1047 static void clipVertexC(ogles_context_t* c, vertex_t* nv, in clipVertexC()
1048 GLfixed t, const vertex_t* s, const vertex_t* p) in clipVertexC()
1054 static void clipVertexT(ogles_context_t* c, vertex_t* nv, in clipVertexT()
1055 GLfixed t, const vertex_t* s, const vertex_t* p) in clipVertexT()
1064 static void clipVertexAll(ogles_context_t* c, vertex_t* nv, in clipVertexAll()
1065 GLfixed t, const vertex_t* s, const vertex_t* p) in clipVertexAll()
1071 static void clipEye(ogles_context_t* c, vertex_t* nv, in clipEye()
1072 GLfixed t, const vertex_t* s, const vertex_t* p) in clipEye()