Home
last modified time | relevance | path

Searched refs:GLfloat (Results 1 – 18 of 18) sorted by relevance

/AliOS-Things-master/components/SDL2/src/render/opengles/
A DSDL_glesfuncs.h29 SDL_PROC(void, glColor4f, (GLfloat, GLfloat, GLfloat, GLfloat))
34 SDL_PROC_OES(void, glDrawTexfOES, (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat))
44 SDL_PROC(void, glOrthof, (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat))
49 SDL_PROC(void, glTexEnvf, (GLenum, GLenum, GLfloat))
60 SDL_PROC(void, glTranslatef, (GLfloat, GLfloat, GLfloat))
61 SDL_PROC(void, glRotatef, (GLfloat, GLfloat, GLfloat, GLfloat))
A DSDL_render_gles.c107 GLfloat texw;
108 GLfloat texh;
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()
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()
[all …]
/AliOS-Things-master/components/SDL2/src/render/opengl/
A DSDL_glfuncs.h36 (GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat,
44 SDL_PROC_UNUSED(void, glClearAccum, (GLfloat, GLfloat, GLfloat, GLfloat))
54 SDL_PROC_UNUSED(void, glColor3f, (GLfloat, GLfloat, GLfloat))
70 SDL_PROC(void, glColor4f, (GLfloat, GLfloat, GLfloat, GLfloat))
334 (GLfloat x, GLfloat y, GLfloat z, GLfloat w))
349 (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2))
360 (GLfloat angle, GLfloat x, GLfloat y, GLfloat z))
362 SDL_PROC_UNUSED(void, glScalef, (GLfloat x, GLfloat y, GLfloat z))
397 (GLfloat s, GLfloat t, GLfloat r, GLfloat q))
445 SDL_PROC(void, glTranslatef, (GLfloat x, GLfloat y, GLfloat z))
[all …]
A DSDL_render_gl.c124 GLfloat texw;
125 GLfloat texh;
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()
880GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, 8 * sizeof (GLfloat), 0, &cmd->d… in GL_QueueCopy()
921 GLfloat centerx, centery; in GL_QueueCopyEx()
923GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, 11 * sizeof (GLfloat), 0, &cmd->… in GL_QueueCopyEx()
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()
[all …]
/AliOS-Things-master/components/SDL2/src/video/khronos/GLES2/
A Dgl2.h390 typedef void (GL_APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat
399 typedef void (GL_APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat
502 typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
506 …oid (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat
521 …d (GL_APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w…
533 GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
542 GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
645 GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
649 …_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat
662 GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
[all …]
A Dgl2ext.h446 …IVEBOUNDINGBOXOESPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfl…
448 …rimitiveBoundingBoxOES (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfl…
770 …_APIENTRYP PFNGLVIEWPORTINDEXEDFOESPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h…
780 …L void GL_APIENTRY glViewportIndexedfOES (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h…
1612 …IVEBOUNDINGBOXEXTPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfl…
1614 …rimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfl…
1819 …glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat
2596 …vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GL…
2602 …vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GL…
3268 …L_APIENTRYP PFNGLVIEWPORTINDEXEDFNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h…
[all …]
/AliOS-Things-master/components/SDL2/include/
A DSDL_opengl.h912 GLAPI void GLAPIENTRY glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
949 GLfloat x, GLfloat y, GLfloat z );
952 GLAPI void GLAPIENTRY glScalef( GLfloat x, GLfloat y, GLfloat z );
955 GLAPI void GLAPIENTRY glTranslatef( GLfloat x, GLfloat y, GLfloat z );
995 GLAPI void GLAPIENTRY glVertex3f( GLfloat x, GLfloat y, GLfloat z );
1000 GLAPI void GLAPIENTRY glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w );
1102 GLAPI void GLAPIENTRY glTexCoord3f( GLfloat s, GLfloat t, GLfloat r );
1107 GLAPI void GLAPIENTRY glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q );
1143 GLAPI void GLAPIENTRY glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w );
1164 GLAPI void GLAPIENTRY glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 );
[all …]
A DSDL_opengl_glext.h4738 GLAPI void APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f…
4740 GLAPI void APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
11089 …AL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat
11101 …FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat n…
11103GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx…
11130 …fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat
11134 …APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y…
11138 …Y glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x…
11142 …rtex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat n…
11144GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx…
[all …]
A DSDL_opengles2_gl2.h33 typedef khronos_float_t GLfloat; typedef
561 GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width);
564 GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
584 GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat x);
588 GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat x, GLfloat y);
592 GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z);
596 …L void GL_APIENTRY glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w…
605 GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint indx, GLfloat x);
607 GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y);
609 GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z);
[all …]
A DSDL_opengles2_gl2ext.h1585 … GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
1590 …TRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
1611 GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat x);
1612 …CALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat x, GLfloat y);
1613 …L_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z);
1614 … glProgramUniform4fEXT (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w…
1619 …ENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1642 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat x…
1643 …(GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat x, GLfloat y);
1644 …YP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z);
[all …]
/AliOS-Things-master/components/SDL2/src/render/opengles2/
A DSDL_render_gles2.c770GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, count * 2 * sizeof (GLfloat), 0,… in GLES2_QueueDrawPoints()
823GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, 16 * sizeof (GLfloat), 0, &cmd->… 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()
875GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, 32 * sizeof (GLfloat), 0, &cmd->… in GLES2_QueueCopyEx()
897 minu = ((GLfloat) srcquad->x) / ((GLfloat) texture->w); in GLES2_QueueCopyEx()
899 minv = ((GLfloat) srcquad->y) / ((GLfloat) texture->h); in GLES2_QueueCopyEx()
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()
[all …]
A DSDL_gles2funcs.h66 SDL_PROC(void, glUniform4f, (GLint, GLfloat, GLfloat, GLfloat, GLfloat))
67 SDL_PROC(void, glUniformMatrix4fv, (GLint, GLsizei, GLboolean, const GLfloat *))
/AliOS-Things-master/components/SDL2/test/
A Dtestshader.c278 SDL_GL_LoadTexture(SDL_Surface * surface, GLfloat * texcoord) in SDL_GL_LoadTexture()
291 texcoord[2] = (GLfloat) surface->w / w; /* Max X */ in SDL_GL_LoadTexture()
292 texcoord[3] = (GLfloat) surface->h / h; /* Max Y */ in SDL_GL_LoadTexture()
356 void DrawGLScene(SDL_Window *window, GLuint texture, GLfloat * texcoord) in DrawGLScene()
422 GLfloat texcoords[4]; in main()
A Dtestgles.c63 static GLfloat cube[8][3] = { {0.5, 0.5, -0.5}, in Render()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/
A Dtiffgt.c308 GLfloat xratio = (GLfloat)win_w/img.width; in raster_reshape()
309 GLfloat yratio = (GLfloat)win_h/img.height; in raster_reshape()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/examples/
A Dvwebp.c360 GLfloat xoff, yoff; in HandleDisplay()
363 glPixelZoom((GLfloat)(+1. / kParams.canvas_width * kParams.viewport_width), in HandleDisplay()
364 (GLfloat)(-1. / kParams.canvas_height * kParams.viewport_height)); in HandleDisplay()
365 xoff = (GLfloat)(2. * curr->x_offset / kParams.canvas_width); in HandleDisplay()
366 yoff = (GLfloat)(2. * curr->y_offset / kParams.canvas_height); in HandleDisplay()
/AliOS-Things-master/components/SDL2/src/render/psp/
A DSDL_render_psp.c473 …VertV *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, count * 2 * sizeof (VertV), 4, &cm… in PSP_QueueFillRects()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/
A DChangeLog2947 41a6ced9 user GLfloat instead of float

Completed in 161 milliseconds