Lines Matching refs:GLfloat

124     GLfloat texw;
125 GLfloat texh;
517 data->texw = (GLfloat) texture_w; in GL_CreateTexture()
518 data->texh = (GLfloat) texture_h; in GL_CreateTexture()
522 data->texw = (GLfloat) (texture->w) / texture_w; in GL_CreateTexture()
523 data->texh = (GLfloat) texture->h / texture_h; in GL_CreateTexture()
835GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, count * 2 * sizeof (GLfloat), 0,… in GL_QueueDrawPoints()
854GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, count * 4 * sizeof (GLfloat), 0,… in GL_QueueFillRects()
878 GLfloat minx, miny, maxx, maxy; in GL_QueueCopy()
879 GLfloat minu, maxu, minv, maxv; in GL_QueueCopy()
880GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, 8 * sizeof (GLfloat), 0, &cmd->d… in GL_QueueCopy()
893 minu = (GLfloat) srcrect->x / texture->w; in GL_QueueCopy()
895 maxu = (GLfloat) (srcrect->x + srcrect->w) / texture->w; in GL_QueueCopy()
897 minv = (GLfloat) srcrect->y / texture->h; in GL_QueueCopy()
899 maxv = (GLfloat) (srcrect->y + srcrect->h) / texture->h; in GL_QueueCopy()
920 GLfloat minx, miny, maxx, maxy; in GL_QueueCopyEx()
921 GLfloat centerx, centery; in GL_QueueCopyEx()
922 GLfloat minu, maxu, minv, maxv; in GL_QueueCopyEx()
923GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, 11 * sizeof (GLfloat), 0, &cmd->… in GL_QueueCopyEx()
950 minu = (GLfloat) srcrect->x / texture->w; in GL_QueueCopyEx()
952 maxu = (GLfloat) (srcrect->x + srcrect->w) / texture->w; in GL_QueueCopyEx()
954 minv = (GLfloat) srcrect->y / texture->h; in GL_QueueCopyEx()
956 maxv = (GLfloat) (srcrect->y + srcrect->h) / texture->h; 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()
1143 data->glColor4f((GLfloat) r * inv255f, in GL_RunCommandQueue()
1144 (GLfloat) g * inv255f, in GL_RunCommandQueue()
1145 (GLfloat) b * inv255f, in GL_RunCommandQueue()
1146 (GLfloat) a * inv255f); in GL_RunCommandQueue()
1181 const GLfloat fr = ((GLfloat) r) * inv255f; in GL_RunCommandQueue()
1182 const GLfloat fg = ((GLfloat) g) * inv255f; in GL_RunCommandQueue()
1183 const GLfloat fb = ((GLfloat) b) * inv255f; in GL_RunCommandQueue()
1184 const GLfloat fa = ((GLfloat) a) * inv255f; in GL_RunCommandQueue()
1201 const GLfloat *verts = (GLfloat *) (((Uint8 *) vertices) + cmd->data.draw.first); in GL_RunCommandQueue()
1212 const GLfloat *verts = (GLfloat *) (((Uint8 *) vertices) + cmd->data.draw.first); in GL_RunCommandQueue()
1272 const GLfloat *verts = (GLfloat *) (((Uint8 *) vertices) + cmd->data.draw.first); in GL_RunCommandQueue()
1281 const GLfloat *verts = (GLfloat *) (((Uint8 *) vertices) + cmd->data.draw.first); in GL_RunCommandQueue()
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()
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()