• Home
  • Raw
  • Download

Lines Matching refs:vertex_t

49         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()
496 vertex_t* v = c->vc.vCache + in fetch_vertex()
519 vertex_t* v = c->vc.vBuffer + 2; in fetch_vertex()
541 vertex_t* v = c->vc.vBuffer; in drawPrimitivesPoints()
543 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesPoints()
551 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawPrimitivesPoints()
567 vertex_t *v, *v0, *v1; in drawPrimitivesLineStrip()
568 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesLineStrip()
589 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawPrimitivesLineStrip()
597 c->arrays.cull = v0->flags & vertex_t::CLIP_ALL; in drawPrimitivesLineStrip()
607 vertex_t* v0 = c->vc.vBuffer; in drawPrimitivesLineLoop()
608 vertex_t* v1 = c->vc.vBuffer + 1; in drawPrimitivesLineLoop()
611 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawPrimitivesLineLoop()
626 vertex_t* v = c->vc.vBuffer; in drawPrimitivesLines()
628 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesLines()
637 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawPrimitivesLines()
657 vertex_t *v, *v0, *v1, *v2; in drawPrimitivesTriangleFanOrStrip()
658 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesTriangleFanOrStrip()
683 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawPrimitivesTriangleFanOrStrip()
697 c->arrays.cull = v0->flags & v1->flags & vertex_t::CLIP_ALL; in drawPrimitivesTriangleFanOrStrip()
722 vertex_t* v = c->vc.vBuffer; in drawPrimitivesTriangles()
724 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesTriangles()
733 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawPrimitivesTriangles()
769 vertex_t * v = fetch_vertex(c, read_index(type, indices)); in drawIndexedPrimitivesPoints()
770 if (ggl_likely(!(v->flags & vertex_t::CLIP_ALL))) in drawIndexedPrimitivesPoints()
785 vertex_t * const v = c->vc.vBuffer; in drawIndexedPrimitivesLineStrip()
786 vertex_t* v0 = v; in drawIndexedPrimitivesLineStrip()
787 vertex_t* v1; in drawIndexedPrimitivesLineStrip()
795 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawIndexedPrimitivesLineStrip()
812 vertex_t * const v = c->vc.vBuffer; in drawIndexedPrimitivesLineLoop()
813 vertex_t* v0 = v; in drawIndexedPrimitivesLineLoop()
814 vertex_t* v1; in drawIndexedPrimitivesLineLoop()
822 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawIndexedPrimitivesLineLoop()
832 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawIndexedPrimitivesLineLoop()
845 vertex_t* const v0 = fetch_vertex(c, read_index(type, indices)); in drawIndexedPrimitivesLines()
846 vertex_t* const v1 = fetch_vertex(c, read_index(type, indices)); in drawIndexedPrimitivesLines()
848 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawIndexedPrimitivesLines()
867 vertex_t * const v = c->vc.vBuffer; in drawIndexedPrimitivesTriangleFanOrStrip()
868 vertex_t* v0 = v; in drawIndexedPrimitivesTriangleFanOrStrip()
869 vertex_t* v1 = v+1; in drawIndexedPrimitivesTriangleFanOrStrip()
870 vertex_t* v2; in drawIndexedPrimitivesTriangleFanOrStrip()
883 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawIndexedPrimitivesTriangleFanOrStrip()
885 vertex_t* & consumed = ((winding^=1) ? v1 : v0); in drawIndexedPrimitivesTriangleFanOrStrip()
915 vertex_t* const v0 = fetch_vertex(c, *p++); in drawIndexedPrimitivesTriangles()
916 vertex_t* const v1 = fetch_vertex(c, *p++); in drawIndexedPrimitivesTriangles()
917 vertex_t* const v2 = fetch_vertex(c, *p++); in drawIndexedPrimitivesTriangles()
919 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawIndexedPrimitivesTriangles()
929 vertex_t* const v0 = fetch_vertex(c, *p++); in drawIndexedPrimitivesTriangles()
930 vertex_t* const v1 = fetch_vertex(c, *p++); in drawIndexedPrimitivesTriangles()
931 vertex_t* const v2 = fetch_vertex(c, *p++); in drawIndexedPrimitivesTriangles()
933 if (ggl_likely(!(cc & vertex_t::CLIP_ALL))) in drawIndexedPrimitivesTriangles()
950 vertex_t* v, GLint first) in compileElement__generic()
964 vertex_t* v, GLint first, GLsizei count) in compileElements__generic()
1035 static void clipVertex(ogles_context_t* c, vertex_t* nv, in clipVertex()
1036 GLfixed t, const vertex_t* s, const vertex_t* p) in clipVertex()
1041 nv->flags |= vertex_t::LIT | vertex_t::EYE | vertex_t::TT; in clipVertex()
1042 nv->flags &= ~vertex_t::CLIP_ALL; in clipVertex()
1045 static void clipVertexC(ogles_context_t* c, vertex_t* nv, in clipVertexC()
1046 GLfixed t, const vertex_t* s, const vertex_t* p) in clipVertexC()
1052 static void clipVertexT(ogles_context_t* c, vertex_t* nv, in clipVertexT()
1053 GLfixed t, const vertex_t* s, const vertex_t* p) in clipVertexT()
1062 static void clipVertexAll(ogles_context_t* c, vertex_t* nv, in clipVertexAll()
1063 GLfixed t, const vertex_t* s, const vertex_t* p) in clipVertexAll()
1069 static void clipEye(ogles_context_t* c, vertex_t* nv, in clipEye()
1070 GLfixed t, const vertex_t* s, const vertex_t* p) in clipEye()