/external/mesa3d/src/mesa/vbo/ |
D | vbo_noop.c | 45 _mesa_noop_Indexf(GLfloat f) in _mesa_noop_Indexf() 50 _mesa_noop_Indexfv(const GLfloat * v) in _mesa_noop_Indexfv() 55 _mesa_noop_FogCoordfEXT(GLfloat a) in _mesa_noop_FogCoordfEXT() 60 _mesa_noop_FogCoordfvEXT(const GLfloat * v) in _mesa_noop_FogCoordfvEXT() 65 _mesa_noop_Normal3f(GLfloat a, GLfloat b, GLfloat c) in _mesa_noop_Normal3f() 70 _mesa_noop_Normal3fv(const GLfloat * v) in _mesa_noop_Normal3fv() 75 _mesa_noop_Color4f(GLfloat a, GLfloat b, GLfloat c, GLfloat d) in _mesa_noop_Color4f() 80 _mesa_noop_Color4fv(const GLfloat * v) in _mesa_noop_Color4fv() 85 _mesa_noop_Color3f(GLfloat a, GLfloat b, GLfloat c) in _mesa_noop_Color3f() 90 _mesa_noop_Color3fv(const GLfloat * v) in _mesa_noop_Color3fv() [all …]
|
D | vbo.h | 220 _es_Color4f(GLfloat r, GLfloat g, GLfloat b, GLfloat a); 223 _es_Normal3f(GLfloat x, GLfloat y, GLfloat z); 226 _es_MultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 229 _es_Materialfv(GLenum face, GLenum pname, const GLfloat *params); 232 _es_Materialf(GLenum face, GLenum pname, GLfloat param); 235 _es_VertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 238 _es_VertexAttrib1f(GLuint indx, GLfloat x); 241 _es_VertexAttrib1fv(GLuint indx, const GLfloat* values); 244 _es_VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y); 247 _es_VertexAttrib2fv(GLuint indx, const GLfloat* values); [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_aaline.c | 46 GLfloat x0, y0; /* start */ 47 GLfloat x1, y1; /* end */ 48 GLfloat dx, dy; /* direction vector */ 49 GLfloat len; /* length */ 50 GLfloat halfWidth; /* half of line width */ 51 GLfloat xAdj, yAdj; /* X and Y adjustment for quad corners around line */ 53 GLfloat qx0, qy0; /* quad vertices */ 54 GLfloat qx1, qy1; 55 GLfloat qx2, qy2; 56 GLfloat qx3, qy3; [all …]
|
D | s_aatriangle.c | 47 compute_plane(const GLfloat v0[], const GLfloat v1[], const GLfloat v2[], in compute_plane() 48 GLfloat z0, GLfloat z1, GLfloat z2, GLfloat plane[4]) in compute_plane() 50 const GLfloat px = v1[0] - v0[0]; in compute_plane() 51 const GLfloat py = v1[1] - v0[1]; in compute_plane() 52 const GLfloat pz = z1 - z0; in compute_plane() 54 const GLfloat qx = v2[0] - v0[0]; in compute_plane() 55 const GLfloat qy = v2[1] - v0[1]; in compute_plane() 56 const GLfloat qz = z2 - z0; in compute_plane() 59 const GLfloat a = py * qz - pz * qy; in compute_plane() 60 const GLfloat b = pz * qx - px * qz; in compute_plane() [all …]
|
D | s_texfilter.c | 64 static inline GLfloat 65 lerp_2d(GLfloat a, GLfloat b, in lerp_2d() 66 GLfloat v00, GLfloat v10, GLfloat v01, GLfloat v11) in lerp_2d() 68 const GLfloat temp0 = LERP(a, v00, v10); in lerp_2d() 69 const GLfloat temp1 = LERP(a, v01, v11); in lerp_2d() 78 static GLfloat 79 lerp_3d(GLfloat a, GLfloat b, GLfloat c, in lerp_3d() 80 GLfloat v000, GLfloat v100, GLfloat v010, GLfloat v110, in lerp_3d() 81 GLfloat v001, GLfloat v101, GLfloat v011, GLfloat v111) in lerp_3d() 83 const GLfloat temp00 = LERP(a, v000, v100); in lerp_3d() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | rastpos.c | 52 viewclip_point_xy( const GLfloat v[] ) in viewclip_point_xy() 72 viewclip_point_z( const GLfloat v[] ) in viewclip_point_z() 92 userclip_point( struct gl_context *ctx, const GLfloat v[] ) in userclip_point() 97 GLfloat dot = v[0] * ctx->Transform._ClipUserPlane[p][0] in userclip_point() 121 const GLfloat vertex[4], in shade_rastpos() 122 const GLfloat normal[3], in shade_rastpos() 123 GLfloat Rcolor[4], in shade_rastpos() 124 GLfloat Rspec[4]) in shade_rastpos() 126 /*const*/ GLfloat (*base)[3] = ctx->Light._BaseColor; in shade_rastpos() 128 GLfloat diffuseColor[4], specularColor[4]; /* for RGB mode only */ in shade_rastpos() [all …]
|
D | api_loopback.c | 106 COLORF( (GLfloat) red, (GLfloat) green, (GLfloat) blue, 1.0 ); in _mesa_Color3d() 155 COLORF( (GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], 1.0 ); in _mesa_Color3dv() 206 COLORF( (GLfloat) red, (GLfloat) green, (GLfloat) blue, (GLfloat) alpha ); in _mesa_Color4d() 264 COLORF( (GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], (GLfloat) v[3] ); in _mesa_Color4dv() 301 FOGCOORDF( (GLfloat) d ); in _mesa_FogCoordd() 307 FOGCOORDF( (GLfloat) *v ); in _mesa_FogCoorddv() 314 INDEX( (GLfloat) c ); in _mesa_Indexd() 320 INDEX( (GLfloat) c ); in _mesa_Indexi() 326 INDEX( (GLfloat) c ); in _mesa_Indexs() 332 INDEX( (GLfloat) c ); in _mesa_Indexub() [all …]
|
D | drawtex.c | 31 draw_texture(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z, in draw_texture() 32 GLfloat width, GLfloat height) in draw_texture() 57 _mesa_DrawTexfOES(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height) in _mesa_DrawTexfOES() 65 _mesa_DrawTexfvOES(const GLfloat *coords) in _mesa_DrawTexfvOES() 76 draw_texture(ctx, (GLfloat) x, (GLfloat) y, (GLfloat) z, in _mesa_DrawTexiOES() 77 (GLfloat) width, (GLfloat) height); in _mesa_DrawTexiOES() 85 draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1], in _mesa_DrawTexivOES() 86 (GLfloat) coords[2], (GLfloat) coords[3], (GLfloat) coords[4]); in _mesa_DrawTexivOES() 94 draw_texture(ctx, (GLfloat) x, (GLfloat) y, (GLfloat) z, in _mesa_DrawTexsOES() 95 (GLfloat) width, (GLfloat) height); in _mesa_DrawTexsOES() [all …]
|
D | es1_conversion.c | 54 _mesa_ClipPlanef(GLenum plane, const GLfloat *equation) in _mesa_ClipPlanef() 82 _es_Color4f((GLfloat) (red / 255.0f), in _es_Color4ub() 83 (GLfloat) (green / 255.0f), in _es_Color4ub() 84 (GLfloat) (blue / 255.0f), in _es_Color4ub() 85 (GLfloat) (alpha / 255.0f)); in _es_Color4ub() 91 _es_Color4f((GLfloat) (red / 65536.0f), in _mesa_Color4x() 92 (GLfloat) (green / 65536.0f), in _mesa_Color4x() 93 (GLfloat) (blue / 65536.0f), in _mesa_Color4x() 94 (GLfloat) (alpha / 65536.0f)); in _mesa_Color4x() 108 _mesa_DrawTexfOES((GLfloat) (x / 65536.0f), in _mesa_DrawTexxOES() [all …]
|
D | dd.h | 119 void (*RasterPos)( struct gl_context *ctx, const GLfloat v[4] ); 503 void (*AlphaFunc)(struct gl_context *ctx, GLenum func, GLfloat ref); 505 void (*BlendColor)(struct gl_context *ctx, const GLfloat color[4]); 514 void (*ClipPlane)(struct gl_context *ctx, GLenum plane, const GLfloat *eq); 537 void (*Fogfv)(struct gl_context *ctx, GLenum pname, const GLfloat *params); 543 GLenum pname, const GLfloat *params ); 546 const GLfloat *params); 550 void (*LineWidth)(struct gl_context *ctx, GLfloat width); 554 const GLfloat *params); 556 void (*PointSize)(struct gl_context *ctx, GLfloat size); [all …]
|
D | rastpos.h | 45 _mesa_RasterPos(struct gl_context *ctx, const GLfloat vObj[4]); 50 _mesa_RasterPos2f(GLfloat x, GLfloat y); 58 _mesa_RasterPos3f(GLfloat x, GLfloat y, GLfloat z); 66 _mesa_RasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w); 74 _mesa_RasterPos2fv(const GLfloat *v); 82 _mesa_RasterPos3fv(const GLfloat *v); 90 _mesa_RasterPos4fv(const GLfloat *v); 98 _mesa_WindowPos2f(GLfloat x, GLfloat y); 106 _mesa_WindowPos3f(GLfloat x, GLfloat y, GLfloat z); 114 _mesa_WindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w); [all …]
|
D | eval.h | 47 extern GLfloat *_mesa_copy_map_points1f( GLenum target, 49 const GLfloat *points ); 51 extern GLfloat *_mesa_copy_map_points1d( GLenum target, 55 extern GLfloat *_mesa_copy_map_points2f( GLenum target, 58 const GLfloat *points ); 60 extern GLfloat *_mesa_copy_map_points2d(GLenum target, 73 _mesa_Map1f( GLenum target, GLfloat u1, GLfloat u2, GLint stride, 74 GLint order, const GLfloat *points ); 80 GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, 81 GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, [all …]
|
D | viewport.h | 41 _mesa_ViewportArrayv_no_error(GLuint first, GLsizei count, const GLfloat * v); 44 _mesa_ViewportArrayv(GLuint first, GLsizei count, const GLfloat * v); 47 _mesa_ViewportIndexedf_no_error(GLuint index, GLfloat x, GLfloat y, GLfloat w, 48 GLfloat h); 51 _mesa_ViewportIndexedf(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 54 _mesa_ViewportIndexedfv_no_error(GLuint index, const GLfloat * v); 57 _mesa_ViewportIndexedfv(GLuint index, const GLfloat * v); 60 _mesa_set_viewport(struct gl_context *ctx, unsigned idx, GLfloat x, GLfloat y, 61 GLfloat width, GLfloat height); 78 _mesa_DepthRangeArrayfvOES(GLuint first, GLsizei count, const GLfloat * v); [all …]
|
D | api_arrayelt.c | 206 CALL_VertexAttrib1fNV(GET_DISPATCH(), (index, (GLfloat)v[0])); in VertexAttrib1bvNV() 218 CALL_VertexAttrib2fNV(GET_DISPATCH(), (index, (GLfloat)v[0], (GLfloat)v[1])); in VertexAttrib2bvNV() 232 CALL_VertexAttrib3fNV(GET_DISPATCH(), (index, (GLfloat)v[0], (GLfloat)v[1], (GLfloat)v[2])); in VertexAttrib3bvNV() 247 …CALL_VertexAttrib4fNV(GET_DISPATCH(), (index, (GLfloat)v[0], (GLfloat)v[1], (GLfloat)v[2], (GLfloa… in VertexAttrib4bvNV() 261 CALL_VertexAttrib1fNV(GET_DISPATCH(), (index, (GLfloat)v[0])); in VertexAttrib1ubvNV() 274 CALL_VertexAttrib2fNV(GET_DISPATCH(), (index, (GLfloat)v[0], (GLfloat)v[1])); in VertexAttrib2ubvNV() 287 CALL_VertexAttrib3fNV(GET_DISPATCH(), (index, (GLfloat)v[0], in VertexAttrib3ubvNV() 288 (GLfloat)v[1], (GLfloat)v[2])); in VertexAttrib3ubvNV() 303 CALL_VertexAttrib4fNV(GET_DISPATCH(), (index, (GLfloat)v[0], in VertexAttrib4ubvNV() 304 (GLfloat)v[1], (GLfloat)v[2], in VertexAttrib4ubvNV() [all …]
|
/external/mesa3d/src/mesa/math/ |
D | m_xform_tmp.h | 75 const GLfloat m[16], in TAG() 79 GLfloat *from = from_vec->start; in TAG() 80 GLfloat (*to)[4] = (GLfloat (*)[4])to_vec->start; in TAG() 82 const GLfloat m0 = m[0], m12 = m[12]; in TAG() 83 const GLfloat m1 = m[1], m13 = m[13]; in TAG() 84 const GLfloat m2 = m[2], m14 = m[14]; in TAG() 85 const GLfloat m3 = m[3], m15 = m[15]; in TAG() 88 const GLfloat ox = from[0]; in TAG() 101 const GLfloat m[16], in TAG() 105 GLfloat *from = from_vec->start; in TAG() [all …]
|
D | m_norm_tmp.h | 44 GLfloat scale, in TAG() 46 const GLfloat *lengths, in TAG() 49 GLfloat (*out)[4] = (GLfloat (*)[4])dest->start; in TAG() 50 const GLfloat *from = in->start; in TAG() 53 const GLfloat *m = mat->inv; in TAG() 54 GLfloat m0 = m[0], m4 = m[4], m8 = m[8]; in TAG() 55 GLfloat m1 = m[1], m5 = m[5], m9 = m[9]; in TAG() 56 GLfloat m2 = m[2], m6 = m[6], m10 = m[10]; in TAG() 61 GLfloat tx, ty, tz; in TAG() 63 const GLfloat ux = from[0], uy = from[1], uz = from[2]; in TAG() [all …]
|
D | m_matrix.h | 76 GLfloat *m; /**< 16 matrix elements (16-byte aligned) */ 77 GLfloat *inv; /**< 16-element inverse (16-byte aligned) */ 97 _math_matrix_mul_floats( GLmatrix *dest, const GLfloat *b ); 100 _math_matrix_loadf( GLmatrix *mat, const GLfloat *m ); 103 _math_matrix_translate( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z ); 106 _math_matrix_rotate( GLmatrix *m, GLfloat angle, 107 GLfloat x, GLfloat y, GLfloat z ); 110 _math_matrix_scale( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z ); 114 GLfloat left, GLfloat right, 115 GLfloat bottom, GLfloat top, [all …]
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
D | stw_icd.h | 58 … void (GLAPIENTRY * Bitmap)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *); 63 void (GLAPIENTRY * Color3f)(GLfloat, GLfloat, GLfloat); 64 void (GLAPIENTRY * Color3fv)(const GLfloat *); 79 void (GLAPIENTRY * Color4f)(GLfloat, GLfloat, GLfloat, GLfloat); 80 void (GLAPIENTRY * Color4fv)(const GLfloat *); 96 void (GLAPIENTRY * Indexf)(GLfloat); 97 void (GLAPIENTRY * Indexfv)(const GLfloat *); 106 void (GLAPIENTRY * Normal3f)(GLfloat, GLfloat, GLfloat); 107 void (GLAPIENTRY * Normal3fv)(const GLfloat *); 114 void (GLAPIENTRY * RasterPos2f)(GLfloat, GLfloat); [all …]
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vertex_generic.c | 50 const GLfloat *in ) in insert_4f_viewport_4() 52 GLfloat *out = (GLfloat *)v; in insert_4f_viewport_4() 53 const GLfloat * const vp = a->vp; in insert_4f_viewport_4() 62 const GLfloat *in ) in insert_4f_viewport_3() 64 GLfloat *out = (GLfloat *)v; in insert_4f_viewport_3() 65 const GLfloat * const vp = a->vp; in insert_4f_viewport_3() 74 const GLfloat *in ) in insert_4f_viewport_2() 76 GLfloat *out = (GLfloat *)v; in insert_4f_viewport_2() 77 const GLfloat * const vp = a->vp; in insert_4f_viewport_2() 86 const GLfloat *in ) in insert_4f_viewport_1() [all …]
|
D | t_vb_lighttmp.h | 52 GLfloat (*base)[3] = ctx->Light._BaseColor; in TAG() 53 GLfloat sumA[2]; in TAG() 57 const GLfloat *vertex = (GLfloat *)input->data; in TAG() 59 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; in TAG() 61 GLfloat (*Fcolor)[4] = (GLfloat (*)[4]) store->LitColor[0].data; in TAG() 62 GLfloat (*Fspec)[4] = (GLfloat (*)[4]) store->LitSecondary[0].data; in TAG() 64 GLfloat (*Bcolor)[4] = (GLfloat (*)[4]) store->LitColor[1].data; in TAG() 65 GLfloat (*Bspec)[4] = (GLfloat (*)[4]) store->LitSecondary[1].data; in TAG() 89 GLfloat sum[2][3], spec[2][3]; in TAG() 113 GLfloat n_dot_h; in TAG() [all …]
|
/external/mesa3d/src/mesa/program/ |
D | prog_noise.h | 30 extern GLfloat _mesa_noise1(GLfloat); 31 extern GLfloat _mesa_noise2(GLfloat, GLfloat); 32 extern GLfloat _mesa_noise3(GLfloat, GLfloat, GLfloat); 33 extern GLfloat _mesa_noise4(GLfloat, GLfloat, GLfloat, GLfloat);
|
D | prog_execute.h | 32 typedef void (*FetchTexelLodFunc)(struct gl_context *ctx, const GLfloat texcoord[4], 33 GLfloat lambda, GLuint unit, GLfloat color[4]); 35 typedef void (*FetchTexelDerivFunc)(struct gl_context *ctx, const GLfloat texcoord[4], 36 const GLfloat texdx[4], 37 const GLfloat texdy[4], 38 GLfloat lodBias, 39 GLuint unit, GLfloat color[4]); 54 GLfloat (*Attribs)[PROG_MAX_WIDTH][4]; 55 GLfloat (*DerivX)[4]; 56 GLfloat (*DerivY)[4]; [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fFloatStateQueryTests.cpp | 54 GLint64 expandGLFloatToInteger (GLfloat f) in expandGLFloatToInteger() 77 …virtual void verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference) … 80 …virtual void verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference) … 81 …erifyFloat2Expanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference0, GLfloat referen… 82 … (tcu::TestContext& testCtx, GLenum name, GLfloat reference0, GLfloat reference1, GLfloat referen… 85 …virtual void verifyFloatRange (tcu::TestContext& testCtx, GLenum name, GLfloat min, GLfloat ma… 113 void verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference); 114 void verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference); 115 …void verifyFloat2Expanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference0, GLfloat r… 116 … (tcu::TestContext& testCtx, GLenum name, GLfloat reference0, GLfloat reference1, GLfloat referen… [all …]
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | libGLES_CM.hpp | 65 void (*glClipPlanef)(GLenum plane, const GLfloat *equation); 67 void (*glColor4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 97 void (*glFogf)(GLenum pname, GLfloat param); 98 void (*glFogfv)(GLenum pname, const GLfloat *params); 102 …void (*glFrustumf)(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloa… 112 void (*glGetClipPlanef)(GLenum pname, GLfloat eqn[4]); 116 void (*glGetFloatv)(GLenum pname, GLfloat* params); 119 void (*glGetLightfv)(GLenum light, GLenum pname, GLfloat *params); 121 void (*glGetMaterialfv)(GLenum face, GLenum pname, GLfloat *params); 125 void (*glGetTexParameterfv)(GLenum target, GLenum pname, GLfloat* params); [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fFloatStateQueryTests.cpp | 54 GLint64 expandGLFloatToInteger (GLfloat f) in expandGLFloatToInteger() 77 …virtual void verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference) … 80 …virtual void verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference) … 81 …erifyFloat2Expanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference0, GLfloat referen… 82 … (tcu::TestContext& testCtx, GLenum name, GLfloat reference0, GLfloat reference1, GLfloat referen… 85 …virtual void verifyFloatRange (tcu::TestContext& testCtx, GLenum name, GLfloat min, GLfloat ma… 86 …virtual void verifyFloatGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLfloat referenc… 114 void verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference); 115 void verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference); 116 …void verifyFloat2Expanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference0, GLfloat r… [all …]
|