Lines Matching refs:verts
835 …GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, count * 2 * sizeof (GLfloat), 0,… in GL_QueueDrawPoints() local
838 if (!verts) { in GL_QueueDrawPoints()
844 *(verts++) = 0.5f + points[i].x; in GL_QueueDrawPoints()
845 *(verts++) = 0.5f + points[i].y; in GL_QueueDrawPoints()
854 …GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, count * 4 * sizeof (GLfloat), 0,… in GL_QueueFillRects() local
857 if (!verts) { in GL_QueueFillRects()
864 *(verts++) = rect->x; in GL_QueueFillRects()
865 *(verts++) = rect->y; in GL_QueueFillRects()
866 *(verts++) = rect->x + rect->w; in GL_QueueFillRects()
867 *(verts++) = rect->y + rect->h; in GL_QueueFillRects()
880 …GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, 8 * sizeof (GLfloat), 0, &cmd->d… in GL_QueueCopy() local
882 if (!verts) { in GL_QueueCopy()
903 *(verts++) = minx; in GL_QueueCopy()
904 *(verts++) = miny; in GL_QueueCopy()
905 *(verts++) = maxx; in GL_QueueCopy()
906 *(verts++) = maxy; in GL_QueueCopy()
907 *(verts++) = minu; in GL_QueueCopy()
908 *(verts++) = maxu; in GL_QueueCopy()
909 *(verts++) = minv; in GL_QueueCopy()
910 *(verts++) = maxv; in GL_QueueCopy()
923 …GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, 11 * sizeof (GLfloat), 0, &cmd->… in GL_QueueCopyEx() local
925 if (!verts) { in GL_QueueCopyEx()
960 *(verts++) = minx; in GL_QueueCopyEx()
961 *(verts++) = miny; in GL_QueueCopyEx()
962 *(verts++) = maxx; in GL_QueueCopyEx()
963 *(verts++) = maxy; in GL_QueueCopyEx()
964 *(verts++) = minu; in GL_QueueCopyEx()
965 *(verts++) = maxu; in GL_QueueCopyEx()
966 *(verts++) = minv; in GL_QueueCopyEx()
967 *(verts++) = maxv; in GL_QueueCopyEx()
968 *(verts++) = (GLfloat) dstrect->x + centerx; in GL_QueueCopyEx()
969 *(verts++) = (GLfloat) dstrect->y + centery; in GL_QueueCopyEx()
970 *(verts++) = (GLfloat) angle; in GL_QueueCopyEx()
1201 const GLfloat *verts = (GLfloat *) (((Uint8 *) vertices) + cmd->data.draw.first); in GL_RunCommandQueue() local
1204 for (i = 0; i < count; i++, verts += 2) { in GL_RunCommandQueue()
1205 data->glVertex2f(verts[0], verts[1]); in GL_RunCommandQueue()
1212 const GLfloat *verts = (GLfloat *) (((Uint8 *) vertices) + cmd->data.draw.first); in GL_RunCommandQueue() local
1215 … if (count > 2 && (verts[0] == verts[(count-1)*2]) && (verts[1] == verts[(count*2)-1])) { in GL_RunCommandQueue()
1218 for (i = 1; i < count; ++i, verts += 2) { in GL_RunCommandQueue()
1219 data->glVertex2f(verts[0], verts[1]); in GL_RunCommandQueue()
1229 for (i = 0; i < count; ++i, verts += 2) { in GL_RunCommandQueue()
1230 data->glVertex2f(verts[0], verts[1]); in GL_RunCommandQueue()
1233 verts -= 2 * count; in GL_RunCommandQueue()
1246 data->glVertex2f(verts[(count-1)*2], verts[(count*2)-1]); in GL_RunCommandQueue()
1249 x1 = verts[0]; in GL_RunCommandQueue()
1250 y1 = verts[1]; in GL_RunCommandQueue()
1251 x2 = verts[(count-1)*2]; in GL_RunCommandQueue()
1252 y2 = verts[(count*2)-1]; in GL_RunCommandQueue()
1272 const GLfloat *verts = (GLfloat *) (((Uint8 *) vertices) + cmd->data.draw.first); in GL_RunCommandQueue() local
1274 for (i = 0; i < count; ++i, verts += 4) { in GL_RunCommandQueue()
1275 data->glRectf(verts[0], verts[1], verts[2], verts[3]); in GL_RunCommandQueue()
1281 const GLfloat *verts = (GLfloat *) (((Uint8 *) vertices) + cmd->data.draw.first); in GL_RunCommandQueue() local
1282 const GLfloat minx = verts[0]; in GL_RunCommandQueue()
1283 const GLfloat miny = verts[1]; in GL_RunCommandQueue()
1284 const GLfloat maxx = verts[2]; in GL_RunCommandQueue()
1285 const GLfloat maxy = verts[3]; in GL_RunCommandQueue()
1286 const GLfloat minu = verts[4]; in GL_RunCommandQueue()
1287 const GLfloat maxu = verts[5]; in GL_RunCommandQueue()
1288 const GLfloat minv = verts[6]; in GL_RunCommandQueue()
1289 const GLfloat maxv = verts[7]; in GL_RunCommandQueue()
1305 const GLfloat *verts = (GLfloat *) (((Uint8 *) vertices) + cmd->data.draw.first); in GL_RunCommandQueue() local
1306 const GLfloat minx = verts[0]; in GL_RunCommandQueue()
1307 const GLfloat miny = verts[1]; in GL_RunCommandQueue()
1308 const GLfloat maxx = verts[2]; in GL_RunCommandQueue()
1309 const GLfloat maxy = verts[3]; in GL_RunCommandQueue()
1310 const GLfloat minu = verts[4]; in GL_RunCommandQueue()
1311 const GLfloat maxu = verts[5]; in GL_RunCommandQueue()
1312 const GLfloat minv = verts[6]; in GL_RunCommandQueue()
1313 const GLfloat maxv = verts[7]; in GL_RunCommandQueue()
1314 const GLfloat translatex = verts[8]; in GL_RunCommandQueue()
1315 const GLfloat translatey = verts[9]; in GL_RunCommandQueue()
1316 const GLdouble angle = verts[10]; in GL_RunCommandQueue()