Lines Matching refs:GLfloat
107 GLfloat texw;
108 GLfloat texh;
380 data->texw = (GLfloat) texture->w / texture_w; in GLES_CreateTexture()
381 data->texh = (GLfloat) texture->h / texture_h; in GLES_CreateTexture()
548 …GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, count * 2 * sizeof (GLfloat), 0,… in GLES_QueueDrawPoints()
567 …GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, count * 8 * sizeof (GLfloat), 0,… in GLES_QueueFillRects()
578 const GLfloat minx = rect->x; in GLES_QueueFillRects()
579 const GLfloat maxx = rect->x + rect->w; in GLES_QueueFillRects()
580 const GLfloat miny = rect->y; in GLES_QueueFillRects()
581 const GLfloat maxy = rect->y + rect->h; in GLES_QueueFillRects()
600 GLfloat minx, miny, maxx, maxy; in GLES_QueueCopy()
601 GLfloat minu, maxu, minv, maxv; in GLES_QueueCopy()
602 …GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, 16 * sizeof (GLfloat), 0, &cmd->… in GLES_QueueCopy()
615 minu = (GLfloat) srcrect->x / texture->w; in GLES_QueueCopy()
617 maxu = (GLfloat) (srcrect->x + srcrect->w) / texture->w; in GLES_QueueCopy()
619 minv = (GLfloat) srcrect->y / texture->h; in GLES_QueueCopy()
621 maxv = (GLfloat) (srcrect->y + srcrect->h) / texture->h; in GLES_QueueCopy()
651 GLfloat minx, miny, maxx, maxy; in GLES_QueueCopyEx()
652 GLfloat centerx, centery; in GLES_QueueCopyEx()
653 GLfloat minu, maxu, minv, maxv; in GLES_QueueCopyEx()
654 …GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, 19 * sizeof (GLfloat), 0, &cmd->… in GLES_QueueCopyEx()
681 minu = (GLfloat) srcquad->x / texture->w; in GLES_QueueCopyEx()
683 maxu = (GLfloat) (srcquad->x + srcquad->w) / texture->w; in GLES_QueueCopyEx()
685 minv = (GLfloat) srcquad->y / texture->h; in GLES_QueueCopyEx()
687 maxv = (GLfloat) (srcquad->y + srcquad->h) / texture->h; in GLES_QueueCopyEx()
710 *(verts++) = (GLfloat) dstrect->x + centerx; in GLES_QueueCopyEx()
711 *(verts++) = (GLfloat) dstrect->y + centery; in GLES_QueueCopyEx()
712 *(verts++) = (GLfloat) angle; in GLES_QueueCopyEx()
728 const GLfloat fr = ((GLfloat) r) * inv255f; in SetDrawState()
729 const GLfloat fg = ((GLfloat) g) * inv255f; in SetDrawState()
730 const GLfloat fb = ((GLfloat) b) * inv255f; in SetDrawState()
731 const GLfloat fa = ((GLfloat) a) * inv255f; in SetDrawState()
745 data->glOrthof((GLfloat) 0, (GLfloat) viewport->w, in SetDrawState()
746 (GLfloat) (istarget ? 0 : viewport->h), in SetDrawState()
747 (GLfloat) (istarget ? viewport->h : 0), in SetDrawState()
874 const GLfloat fr = ((GLfloat) r) * inv255f; in GLES_RunCommandQueue()
875 const GLfloat fg = ((GLfloat) g) * inv255f; in GLES_RunCommandQueue()
876 const GLfloat fb = ((GLfloat) b) * inv255f; in GLES_RunCommandQueue()
877 const GLfloat fa = ((GLfloat) a) * inv255f; in GLES_RunCommandQueue()
894 const GLfloat *verts = (GLfloat *) (((Uint8 *) vertices) + cmd->data.draw.first); in GLES_RunCommandQueue()
902 const GLfloat *verts = (GLfloat *) (((Uint8 *) vertices) + cmd->data.draw.first); in GLES_RunCommandQueue()
919 const GLfloat *verts = (GLfloat *) (((Uint8 *) vertices) + cmd->data.draw.first); in GLES_RunCommandQueue()
930 const GLfloat *verts = (GLfloat *) (((Uint8 *) vertices) + cmd->data.draw.first); in GLES_RunCommandQueue()
939 const GLfloat *verts = (GLfloat *) (((Uint8 *) vertices) + cmd->data.draw.first); in GLES_RunCommandQueue()
940 const GLfloat translatex = verts[16]; in GLES_RunCommandQueue()
941 const GLfloat translatey = verts[17]; in GLES_RunCommandQueue()
942 const GLfloat angle = verts[18]; in GLES_RunCommandQueue()