Lines Matching refs:GLfloat
93 GLfloat projection[4][4];
154 GLfloat projection[4][4];
500 …rix4fv(entry->uniform_locations[GLES2_UNIFORM_PROJECTION], 1, GL_FALSE, (GLfloat *)entry->projecti… in GLES2_CacheProgram()
770 …GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, count * 2 * sizeof (GLfloat), 0,… in GLES2_QueueDrawPoints()
789 …GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, count * 8 * sizeof (GLfloat), 0,… in GLES2_QueueFillRects()
800 const GLfloat minx = rect->x; in GLES2_QueueFillRects()
801 const GLfloat maxx = rect->x + rect->w; in GLES2_QueueFillRects()
802 const GLfloat miny = rect->y; in GLES2_QueueFillRects()
803 const GLfloat maxy = rect->y + rect->h; in GLES2_QueueFillRects()
821 GLfloat minx, miny, maxx, maxy; in GLES2_QueueCopy()
822 GLfloat minu, maxu, minv, maxv; in GLES2_QueueCopy()
823 …GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, 16 * sizeof (GLfloat), 0, &cmd->… in GLES2_QueueCopy()
836 minu = (GLfloat) srcrect->x / texture->w; in GLES2_QueueCopy()
837 maxu = (GLfloat) (srcrect->x + srcrect->w) / texture->w; in GLES2_QueueCopy()
838 minv = (GLfloat) srcrect->y / texture->h; in GLES2_QueueCopy()
839 maxv = (GLfloat) (srcrect->y + srcrect->h) / texture->h; in GLES2_QueueCopy()
869 const GLfloat s = (GLfloat) SDL_sin(radian_angle); in GLES2_QueueCopyEx()
870 const GLfloat c = (GLfloat) SDL_cos(radian_angle) - 1.0f; in GLES2_QueueCopyEx()
871 const GLfloat centerx = center->x + dstrect->x; in GLES2_QueueCopyEx()
872 const GLfloat centery = center->y + dstrect->y; in GLES2_QueueCopyEx()
873 GLfloat minx, miny, maxx, maxy; in GLES2_QueueCopyEx()
874 GLfloat minu, maxu, minv, maxv; in GLES2_QueueCopyEx()
875 …GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, 32 * sizeof (GLfloat), 0, &cmd->… in GLES2_QueueCopyEx()
897 minu = ((GLfloat) srcquad->x) / ((GLfloat) texture->w); in GLES2_QueueCopyEx()
898 maxu = ((GLfloat) (srcquad->x + srcquad->w)) / ((GLfloat) texture->w); in GLES2_QueueCopyEx()
899 minv = ((GLfloat) srcquad->y) / ((GLfloat) texture->h); in GLES2_QueueCopyEx()
900 maxv = ((GLfloat) (srcquad->y + srcquad->h)) / ((GLfloat) texture->h); in GLES2_QueueCopyEx()
1020 …COORD, 2, GL_FLOAT, GL_FALSE, 0, (const GLvoid *) (cmd->data.draw.first + (sizeof (GLfloat) * 8))); in SetDrawState()
1031 …x4fv(program->uniform_locations[GLES2_UNIFORM_PROJECTION], 1, GL_FALSE, (GLfloat *)data->drawstate… in SetDrawState()
1077 …NGLE, 2, GL_FLOAT, GL_FALSE, 0, (const GLvoid *) (cmd->data.draw.first + (sizeof (GLfloat) * 16))); in SetDrawState()
1078 …NTER, 2, GL_FLOAT, GL_FALSE, 0, (const GLvoid *) (cmd->data.draw.first + (sizeof (GLfloat) * 24))); in SetDrawState()
1272 const GLfloat fr = ((GLfloat) r) * inv255f; in GLES2_RunCommandQueue()
1273 const GLfloat fg = ((GLfloat) g) * inv255f; in GLES2_RunCommandQueue()
1274 const GLfloat fb = ((GLfloat) b) * inv255f; in GLES2_RunCommandQueue()
1275 const GLfloat fa = ((GLfloat) a) * inv255f; in GLES2_RunCommandQueue()
1297 const GLfloat *verts = (GLfloat *) (((Uint8 *) vertices) + cmd->data.draw.first); in GLES2_RunCommandQueue()