Home
last modified time | relevance | path

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

123

/external/quake/quake/src/QW/client/
Dquakedef.h153 void DrawQuad_NoTex(GLfloat x, GLfloat y, GLfloat w, GLfloat h);
154 void DrawQuad(GLfloat x, GLfloat y, GLfloat w, GLfloat h, GLfloat u, GLfloat v, GLfloat uw, GLfloat
156 void shadowLoadIdentity( GLfloat* m);
157 void shadowRotatef( GLfloat* m, GLfloat a, GLfloat x, GLfloat y, GLfloat z);
158 void shadowTranslatef( GLfloat* m, GLfloat x, GLfloat y, GLfloat z);
165 void glColor3f(GLfloat r, GLfloat g, GLfloat b);
166 void glColor4fv(GLfloat* pColor);
/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_glfuncs.h6 SDL_PROC_UNUSED(void,glAccum,(GLenum,GLfloat))
12 SDL_PROC_UNUSED(void,glBitmap,(GLsizei,GLsizei,GLfloat,GLfloat,GLfloat,GLfloat,const GLubyte*))
17 SDL_PROC_UNUSED(void,glClearAccum,(GLfloat,GLfloat,GLfloat,GLfloat))
20 SDL_PROC_UNUSED(void,glClearIndex,(GLfloat))
27 SDL_PROC_UNUSED(void,glColor3f,(GLfloat,GLfloat,GLfloat))
28 SDL_PROC_UNUSED(void,glColor3fv,(const GLfloat*))
43 SDL_PROC(void,glColor4f,(GLfloat,GLfloat,GLfloat,GLfloat))
44 SDL_PROC_UNUSED(void,glColor4fv,(const GLfloat*))
84 SDL_PROC_UNUSED(void,glEvalCoord1f,(GLfloat u))
85 SDL_PROC_UNUSED(void,glEvalCoord1fv,(const GLfloat *u))
[all …]
/external/qemu/distrib/sdl-1.2.15/include/
DSDL_opengl.h3157 GLAPI void APIENTRY glColorTableParameterfv (GLenum, GLenum, const GLfloat *);
3161 GLAPI void APIENTRY glGetColorTableParameterfv (GLenum, GLenum, GLfloat *);
3167 GLAPI void APIENTRY glConvolutionParameterf (GLenum, GLenum, GLfloat);
3168 GLAPI void APIENTRY glConvolutionParameterfv (GLenum, GLenum, const GLfloat *);
3174 GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum, GLenum, GLfloat *);
3179 GLAPI void APIENTRY glGetHistogramParameterfv (GLenum, GLenum, GLfloat *);
3182 GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum, GLenum, GLfloat *);
3196 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat
3200 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *p…
3206 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param…
[all …]
/external/quake/quake/src/WinQuake/
Dquakedef.h352 void DrawQuad_NoTex(GLfloat x, GLfloat y, GLfloat w, GLfloat h);
353 void DrawQuad(GLfloat x, GLfloat y, GLfloat w, GLfloat h, GLfloat u, GLfloat v, GLfloat uw, GLfloat
355 void shadowLoadIdentity( GLfloat* m);
356 void shadowRotatef( GLfloat* m, GLfloat a, GLfloat x, GLfloat y, GLfloat z);
357 void shadowTranslatef( GLfloat* m, GLfloat x, GLfloat y, GLfloat z);
364 void glColor3f(GLfloat r, GLfloat g, GLfloat b);
365 void glColor4fv(GLfloat* pColor);
/external/mesa3d/src/mesa/main/
Dmtypes.h59 typedef GLfloat GLchan;
532 GLfloat *TableF; /**< Color table, floating point values */
613 GLfloat tab[SHINE_TABLE_SIZE+1];
614 GLfloat shininess;
627 GLfloat Ambient[4]; /**< ambient color */
628 GLfloat Diffuse[4]; /**< diffuse color */
629 GLfloat Specular[4]; /**< specular color */
630 GLfloat EyePosition[4]; /**< position in eye coordinates */
631 GLfloat SpotDirection[4]; /**< spotlight direction in eye coordinates */
632 GLfloat SpotExponent;
[all …]
Dmacros.h43 extern GLfloat _mesa_ubyte_to_float_color_tab[256];
65 #define USHORT_TO_FLOAT(S) ((GLfloat) (S) * (1.0F / 65535.0F))
86 #define UINT_TO_FLOAT(U) ((GLfloat) ((U) * (1.0F / 4294967295.0)))
93 #define INT_TO_FLOAT(I) ((GLfloat) ((2.0F * (I) + 1.0F) * (1.0F/4294967294.0)))
172 #define STRIDE_F(p, i) (p = (GLfloat *)((GLubyte *)p + i))
178 #define STRIDE_4F(p, i) (p = (GLfloat (*)[4])((GLubyte *)p + i))
248 memcpy(DST, SRC, sizeof(GLfloat) * 4); \
386 const GLfloat *_tmp = (SRC); \
507 const GLfloat *_tmp = (SRC); \
600 GLfloat inf = UBYTE_TO_FLOAT( inub ); \
[all …]
Dimports.h84 typedef union { GLfloat f; GLint i; } fi_type;
169 static INLINE GLfloat LOG2(GLfloat x)
171 const GLfloat y = x * x * x * x;
175 return (GLfloat) log2 * (1.0 / 4.0); /* 4, because of x^4 above */
181 static INLINE GLfloat LOG2(GLfloat val) in LOG2()
197 #define LOG2(x) ((GLfloat) (log(x) * 1.442695F))
272 #define CEILF(x) ((GLfloat) ceil(x))
273 #define FLOORF(x) ((GLfloat) floor(x))
274 #define FABSF(x) ((GLfloat) fabs(x))
275 #define LOGF(x) ((GLfloat) log(x))
[all …]
/external/webkit/Source/WebCore/platform/graphics/cairo/
DOpenGLShims.h73 typedef void (*glGetUniformfvType) (GLuint, GLint, GLfloat*);
75 typedef void (*glGetVertexAttribfvType) (GLuint, GLenum, GLfloat*);
91 typedef void (*glUniform1fType) (GLint, GLfloat);
92 typedef void (*glUniform1fvType) (GLint, GLsizei, const GLfloat*);
95 typedef void (*glUniform2fType) (GLint, GLfloat, GLfloat);
96 typedef void (*glUniform2fvType) (GLint, GLsizei, const GLfloat*);
99 typedef void (*glUniform3fType) (GLint, GLfloat, GLfloat, GLfloat);
100 typedef void (*glUniform3fvType) (GLint, GLsizei, const GLfloat*);
103 typedef void (*glUniform4fType) (GLint, GLfloat, GLfloat, GLfloat, GLfloat);
104 typedef void (*glUniform4fvType) (GLint, GLsizei, const GLfloat*);
[all …]
/external/qemu/distrib/sdl-1.2.15/test/
Dtestdyngl.c56 void(APIENTRY*glVertex3f)(GLfloat, GLfloat, GLfloat);
57 void(APIENTRY*glClearColor)(GLfloat, GLfloat, GLfloat, GLfloat);
62 void(APIENTRY*glPointSize)(GLfloat);
68 void(APIENTRY*glRotatef)(GLfloat,GLfloat,GLfloat,GLfloat);
70 void(APIENTRY*glFogf)(GLenum,GLfloat);
103 GLfloat pixels[NB_PIXELS*3]; in main()
Dtestgl.c171 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord) in SDL_GL_LoadTexture()
185 texcoord[2] = (GLfloat)surface->w / w; /* Max X */ in SDL_GL_LoadTexture()
186 texcoord[3] = (GLfloat)surface->h / h; /* Max Y */ in SDL_GL_LoadTexture()
247 static GLfloat texMinX, texMinY; in DrawLogoCursor()
248 static GLfloat texMaxX, texMaxY; in DrawLogoCursor()
254 GLfloat texcoord[4]; in DrawLogoCursor()
301 static GLfloat texMinX, texMinY; in DrawLogoTexture()
302 static GLfloat texMaxX, texMaxY; in DrawLogoTexture()
313 GLfloat texcoord[4]; in DrawLogoTexture()
/external/mesa3d/include/GLES2/
Dgl2.h33 typedef khronos_float_t GLfloat; typedef
535 GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat* params);
546 GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat* para…
548 GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat* params…
551 GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat* param…
562 GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width);
565 GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
580 GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
581 GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat* p…
585 GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat x);
[all …]
/external/webkit/Source/ThirdParty/ANGLE/include/GLES2/
Dgl2.h33 typedef khronos_float_t GLfloat; typedef
535 GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat* params);
546 GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat* para…
548 GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat* params…
551 GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat* param…
562 GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width);
565 GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
580 GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
581 GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat* p…
585 GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat x);
[all …]
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
DProgram.h82 bool setUniform1fv(GLint location, GLsizei count, const GLfloat *v);
83 bool setUniform2fv(GLint location, GLsizei count, const GLfloat *v);
84 bool setUniform3fv(GLint location, GLsizei count, const GLfloat *v);
85 bool setUniform4fv(GLint location, GLsizei count, const GLfloat *v);
86 bool setUniformMatrix2fv(GLint location, GLsizei count, const GLfloat *value);
87 bool setUniformMatrix3fv(GLint location, GLsizei count, const GLfloat *value);
88 bool setUniformMatrix4fv(GLint location, GLsizei count, const GLfloat *value);
94 bool getUniformfv(GLint location, GLfloat *params);
153 bool applyUniform1fv(GLint location, GLsizei count, const GLfloat *v);
154 bool applyUniform2fv(GLint location, GLsizei count, const GLfloat *v);
[all …]
DlibGLESv2.cpp2470 GLfloat *floatParams = NULL; in glGetBooleanv()
2471 floatParams = new GLfloat[numParams]; in glGetBooleanv()
2599 void __stdcall glGetFloatv(GLenum pname, GLfloat* params) in glGetFloatv()
2645 params[i] = (GLfloat)intParams[i]; in glGetFloatv()
2817 GLfloat *floatParams = NULL; in glGetIntegerv()
2818 floatParams = new GLfloat[numParams]; in glGetIntegerv()
2826 … params[i] = (GLint)(((GLfloat)(0xFFFFFFFF) * floatParams[i] - 1.0f) / 2.0f); in glGetIntegerv()
3234 void __stdcall glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params) in glGetTexParameterfv()
3261 *params = (GLfloat)texture->getMagFilter(); in glGetTexParameterfv()
3264 *params = (GLfloat)texture->getMinFilter(); in glGetTexParameterfv()
[all …]
DContext.h108 case GL_FLOAT: return mSize * sizeof(GLfloat); in typeSize()
109 default: UNREACHABLE(); return mSize * sizeof(GLfloat); in typeSize()
174 GLfloat polygonOffsetFactor;
175 GLfloat polygonOffsetUnits;
183 GLfloat lineWidth;
273 void setPolygonOffsetParams(GLfloat factor, GLfloat units);
289 void setLineWidth(GLfloat width);
358 void setVertexAttrib(GLuint index, const GLfloat *values);
377 bool getFloatv(GLenum pname, GLfloat *params);
DProgram.cpp269 bool Program::setUniform1fv(GLint location, GLsizei count, const GLfloat* v) in setUniform1fv()
288 memcpy(targetUniform->data + mUniformIndex[location].element * sizeof(GLfloat), in setUniform1fv()
289 v, sizeof(GLfloat) * count); in setUniform1fv()
326 bool Program::setUniform2fv(GLint location, GLsizei count, const GLfloat *v) in setUniform2fv()
345 memcpy(targetUniform->data + mUniformIndex[location].element * sizeof(GLfloat) * 2, in setUniform2fv()
346 v, 2 * sizeof(GLfloat) * count); in setUniform2fv()
384 bool Program::setUniform3fv(GLint location, GLsizei count, const GLfloat *v) in setUniform3fv()
403 memcpy(targetUniform->data + mUniformIndex[location].element * sizeof(GLfloat) * 3, in setUniform3fv()
404 v, 3 * sizeof(GLfloat) * count); in setUniform3fv()
441 bool Program::setUniform4fv(GLint location, GLsizei count, const GLfloat *v) in setUniform4fv()
[all …]
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DShaderProgram.h172 GLfloat* getTileProjectionMatrix(const DrawQuadData* data);
174 void drawQuadInternal(ShaderType type, const GLfloat* matrix, int textureId,
230 GLfloat m_transferProjMtx[16];
232 GLfloat m_tileProjMatrix[16];
237 GLfloat m_cachedOpacity;
/external/webkit/Source/WebCore/platform/graphics/opengl/
DTextureMapperGL.cpp44 void glUniform1f(GLint, GLfloat);
47 void glUniform4f(GLint, GLfloat, GLfloat, GLfloat, GLfloat);
53 void glUniformMatrix4fv(GLint, GLsizei, GLboolean, const GLfloat*);
390 const GLfloat unitRect[] = {0, 0, 1, 0, 1, 1, 0, 1}; in drawTexture()
399 const GLfloat m4[] = { in drawTexture()
405 const GLfloat m4src[] = {textureGL.m_relativeSize.width(), 0, 0, 0, in drawTexture()
418 const GLfloat m4mask[] = {maskTextureGL->m_relativeSize.width(), 0, 0, 0, in drawTexture()
617 const GLfloat m4[] = { in paintToTarget()
624 const GLfloat m4src[] = {surface.m_relativeSize.width(), 0, 0, 0, in paintToTarget()
643 const GLfloat unitRect[] = {0, 0, 1, 0, 1, 1, 0, 1}; in paintToTarget()
/external/webkit/Source/WebCore/platform/graphics/android/layers/
DVideoLayerManager.h58 GLfloat surfaceMatrix[16];
77 void updateMatrix(const int layerId, const GLfloat* matrix);
84 GLfloat* getMatrix(const int layerId);
DVideoLayerManager.cpp175 GLfloat* VideoLayerManager::getMatrix(const int layerId) in getMatrix()
178 GLfloat* result = 0; in getMatrix()
248 void VideoLayerManager::updateMatrix(const int layerId, const GLfloat* matrix) in updateMatrix()
/external/webkit/Source/WebCore/platform/graphics/qt/
DGraphicsContext3DQt.cpp108 typedef void (APIENTRY* glGetUniformfvType) (GLuint, GLint, GLfloat*);
110 typedef void (APIENTRY* glGetVertexAttribfvType) (GLuint, GLenum, GLfloat*);
125 typedef void (APIENTRY* glUniform1fType) (GLint, GLfloat);
126 typedef void (APIENTRY* glUniform1fvType) (GLint, GLsizei, const GLfloat*);
129 typedef void (APIENTRY* glUniform2fType) (GLint, GLfloat, GLfloat);
130 typedef void (APIENTRY* glUniform2fvType) (GLint, GLsizei, const GLfloat*);
133 typedef void (APIENTRY* glUniform3fType) (GLint, GLfloat, GLfloat, GLfloat);
134 typedef void (APIENTRY* glUniform3fvType) (GLint, GLsizei, const GLfloat*);
137 typedef void (APIENTRY* glUniform4fType) (GLint, GLfloat, GLfloat, GLfloat, GLfloat);
138 typedef void (APIENTRY* glUniform4fvType) (GLint, GLsizei, const GLfloat*);
[all …]
/external/skia/third_party/glu/libtess/
Dtess.h95 GLfloat weight[4], void **outData );
125 GLfloat weight[4], void **outData,
139 GLfloat weight[4], void **outData,
Dtess.c66 GLfloat weight[4], void **dataOut ) {} in noCombine()
81 GLfloat weight[4], in __gl_noCombineData()
330 (void (GLAPIENTRY *)(GLdouble [3],void *[4], GLfloat [4], void ** )) fn; in gluTessCallback()
336 GLfloat [4], in gluTessCallback()
/external/mesa3d/docs/
DRELNOTES-4.1281 8. GLfloat / GLchan changes:
283 - Changed ctx->Driver.ClearColor() to take GLfloat[4] instead of GLchan[4].
284 ctx->Color.ClearColor is now GLfloat[4] too.
285 - Changed ctx->Driver.AlphaRef() to take GLfloat instead of GLchan.
286 - ctx->Color.AlphaRef is now GLfloat.
287 - texObj->BorderColor is now GLfloat[4]. texObj->_BorderChan is GLchan[4].
/external/mesa3d/include/pixelflinger2/
Dpixelflinger2_interface.h272 GLint location, GLfloat * params);
287 GLboolean transpose, const GLfloat *values);
346 … GLint location, GLsizei count, GLboolean transpose, const GLfloat *values);

123