Searched refs:Primitive (Results 1 – 6 of 6) sorted by relevance
276 if ( ctx->Primitive==GL_TRIANGLES in unfilled_polygon()277 || ctx->Primitive==GL_QUADS in unfilled_polygon()278 || ctx->Primitive==GL_POLYGON) { in unfilled_polygon()298 if ( ctx->Primitive==GL_TRIANGLES in unfilled_polygon()299 || ctx->Primitive==GL_QUADS in unfilled_polygon()300 || ctx->Primitive==GL_POLYGON) { in unfilled_polygon()368 pv = (ctx->Primitive==GL_POLYGON) ? vlist[0] : vlist[n-1]; in render_polygon()449 pv = (ctx->Primitive==GL_POLYGON) ? vlist[0] : vlist[n-1]; in render_clipped_polygon()779 switch (ctx->Primitive) { in gl_render_vb()1166 if (ctx->Primitive==GL_LINE_LOOP && allDone) { in gl_reset_vb()[all …]
135 #define INSIDE_BEGIN_END(CTX) ((CTX)->Primitive!=GL_BITMAP)
1370 ctx->Primitive = p; in gl_Begin()1395 switch (ctx->Primitive) { in gl_Begin()1418 ctx->Primitive = GL_BITMAP; in gl_Begin()1429 if (ctx->Primitive==GL_BITMAP) { in gl_End()1446 PB->primitive = ctx->Primitive = GL_BITMAP; /* Default mode */ in gl_End()
805 if (ctx->Primitive==GL_TRIANGLES || ctx->Primitive==GL_QUADS in gl_DrawArrays()806 || ctx->Primitive==GL_POLYGON) { in gl_DrawArrays()
1357 GLenum Primitive; /* glBegin primitive or GL_BITMAP */ member
871 ctx->Primitive = GL_BITMAP; in initialize_context()