Lines Matching refs:ogles_context_t
46 static void validate_arrays(ogles_context_t* c, GLenum mode);
48 static void compileElements__generic(ogles_context_t*,
50 static void compileElement__generic(ogles_context_t*,
53 static void drawPrimitivesPoints(ogles_context_t*, GLint, GLsizei);
54 static void drawPrimitivesLineStrip(ogles_context_t*, GLint, GLsizei);
55 static void drawPrimitivesLineLoop(ogles_context_t*, GLint, GLsizei);
56 static void drawPrimitivesLines(ogles_context_t*, GLint, GLsizei);
57 static void drawPrimitivesTriangleStrip(ogles_context_t*, GLint, GLsizei);
58 static void drawPrimitivesTriangleFan(ogles_context_t*, GLint, GLsizei);
59 static void drawPrimitivesTriangles(ogles_context_t*, GLint, GLsizei);
61 static void drawIndexedPrimitivesPoints(ogles_context_t*,
63 static void drawIndexedPrimitivesLineStrip(ogles_context_t*,
65 static void drawIndexedPrimitivesLineLoop(ogles_context_t*,
67 static void drawIndexedPrimitivesLines(ogles_context_t*,
69 static void drawIndexedPrimitivesTriangleStrip(ogles_context_t*,
71 static void drawIndexedPrimitivesTriangleFan(ogles_context_t*,
73 static void drawIndexedPrimitivesTriangles(ogles_context_t*,
78 typedef void (*arrays_prims_fct_t)(ogles_context_t*, GLint, GLsizei);
89 typedef void (*elements_prims_fct_t)(ogles_context_t*, GLsizei, const GLvoid*);
105 void ogles_init_array(ogles_context_t* c)
125 void ogles_uninit_array(ogles_context_t* c)
136 static void currentColor(ogles_context_t* c, GLfixed* v, const GLvoid*) {
139 static void currentColor_clamp(ogles_context_t* c, GLfixed* v, const GLvoid*) {
142 static void currentNormal(ogles_context_t* c, GLfixed* v, const GLvoid*) {
145 static void currentTexCoord(ogles_context_t* c, GLfixed* v, const GLvoid*) {
150 static void fetchNop(ogles_context_t*, GLfixed*, const GLvoid*) {
152 static void fetch2b(ogles_context_t*, GLfixed* v, const GLbyte* p) {
156 static void fetch2s(ogles_context_t*, GLfixed* v, const GLshort* p) {
160 static void fetch2x(ogles_context_t*, GLfixed* v, const GLfixed* p) {
163 static void fetch2f(ogles_context_t*, GLfixed* v, const GLfloat* p) {
167 static void fetch3b(ogles_context_t*, GLfixed* v, const GLbyte* p) {
172 static void fetch3s(ogles_context_t*, GLfixed* v, const GLshort* p) {
177 static void fetch3x(ogles_context_t*, GLfixed* v, const GLfixed* p) {
180 static void fetch3f(ogles_context_t*, GLfixed* v, const GLfloat* p) {
185 static void fetch4b(ogles_context_t*, GLfixed* v, const GLbyte* p) {
191 static void fetch4s(ogles_context_t*, GLfixed* v, const GLshort* p) {
197 static void fetch4x(ogles_context_t*, GLfixed* v, const GLfixed* p) {
200 static void fetch4f(ogles_context_t*, GLfixed* v, const GLfloat* p) {
206 static void fetchExpand4ub(ogles_context_t*, GLfixed* v, const GLubyte* p) {
212 static void fetchClamp4x(ogles_context_t*, GLfixed* v, const GLfixed* p) {
218 static void fetchClamp4f(ogles_context_t*, GLfixed* v, const GLfloat* p) {
224 static void fetchExpand3ub(ogles_context_t*, GLfixed* v, const GLubyte* p) {
230 static void fetchClamp3x(ogles_context_t*, GLfixed* v, const GLfixed* p) {
236 static void fetchClamp3f(ogles_context_t*, GLfixed* v, const GLfloat* p) {
242 static void fetchExpand3b(ogles_context_t*, GLfixed* v, const GLbyte* p) {
247 static void fetchExpand3s(ogles_context_t*, GLfixed* v, const GLshort* p) {
430 void enableDisableClientState(ogles_context_t* c, GLenum array, bool enable)
453 vertex_t* cache_vertex(ogles_context_t* c, vertex_t* v, uint32_t index)
477 vertex_t* fetch_vertex(ogles_context_t* c, size_t index)
529 void drawPrimitivesPoints(ogles_context_t* c, GLint first, GLsizei count)
560 void drawPrimitivesLineStrip(ogles_context_t* c, GLint first, GLsizei count)
599 void drawPrimitivesLineLoop(ogles_context_t* c, GLint first, GLsizei count)
614 void drawPrimitivesLines(ogles_context_t* c, GLint first, GLsizei count)
646 static void drawPrimitivesTriangleFanOrStrip(ogles_context_t* c,
700 void drawPrimitivesTriangleStrip(ogles_context_t* c,
705 void drawPrimitivesTriangleFan(ogles_context_t* c,
710 void drawPrimitivesTriangles(ogles_context_t* c, GLint first, GLsizei count)
760 void drawIndexedPrimitivesPoints(ogles_context_t* c,
777 void drawIndexedPrimitivesLineStrip(ogles_context_t* c,
802 void drawIndexedPrimitivesLineLoop(ogles_context_t* c,
834 void drawIndexedPrimitivesLines(ogles_context_t* c,
856 static void drawIndexedPrimitivesTriangleFanOrStrip(ogles_context_t* c,
892 void drawIndexedPrimitivesTriangleStrip(ogles_context_t* c,
897 void drawIndexedPrimitivesTriangleFan(ogles_context_t* c,
902 void drawIndexedPrimitivesTriangles(ogles_context_t* c,
947 void compileElement__generic(ogles_context_t* c,
961 void compileElements__generic(ogles_context_t* c,
982 void compileElements__3x_full(ogles_context_t* c,
1033 static void clipVertex(ogles_context_t* c, vertex_t* nv,
1043 static void clipVertexC(ogles_context_t* c, vertex_t* nv,
1050 static void clipVertexT(ogles_context_t
1060 static void clipVertexAll(ogles_context_t* c, vertex_t* nv,
1067 static void clipEye(ogles_context_t* c, vertex_t* nv,
1080 void validate_arrays(ogles_context_t* c, GLenum mode)
1238 ogles_context_t* c = ogles_context_t::get();
1259 ogles_context_t* c = ogles_context_t::get();
1279 ogles_context_t* c = ogles_context_t::get();
1300 ogles_context_t* c = ogles_context_t::get();
1322 ogles_context_t* c = ogles_context_t::get();
1327 ogles_context_t* c = ogles_context_t::get();
1333 ogles_context_t* c = ogles_context_t::get();
1343 ogles_context_t* c = ogles_context_t::get();
1388 ogles_context_t* c = ogles_context_t::get();
1452 ogles_context_t* c = ogles_context_t::get();
1472 ogles_context_t* c = ogles_context_t::get();
1506 ogles_context_t* c = ogles_context_t::get();
1532 ogles_context_t* c = ogles_context_t::get();
1582 ogles_context_t* c = ogles_context_t::get();