/external/mesa3d/src/mesa/vbo/ |
D | vbo_noop.c | 49 _mesa_noop_Indexf(GLfloat f) in _mesa_noop_Indexf() 54 _mesa_noop_Indexfv(const GLfloat * v) in _mesa_noop_Indexfv() 59 _mesa_noop_FogCoordfEXT(GLfloat a) in _mesa_noop_FogCoordfEXT() 64 _mesa_noop_FogCoordfvEXT(const GLfloat * v) in _mesa_noop_FogCoordfvEXT() 69 _mesa_noop_Normal3f(GLfloat a, GLfloat b, GLfloat c) in _mesa_noop_Normal3f() 74 _mesa_noop_Normal3fv(const GLfloat * v) in _mesa_noop_Normal3fv() 79 _mesa_noop_Color4f(GLfloat a, GLfloat b, GLfloat c, GLfloat d) in _mesa_noop_Color4f() 84 _mesa_noop_Color4fv(const GLfloat * v) in _mesa_noop_Color4fv() 89 _mesa_noop_Color3f(GLfloat a, GLfloat b, GLfloat c) in _mesa_noop_Color3f() 94 _mesa_noop_Color3fv(const GLfloat * v) in _mesa_noop_Color3fv() [all …]
|
D | vbo.h | 168 _es_Color4f(GLfloat r, GLfloat g, GLfloat b, GLfloat a); 171 _es_Normal3f(GLfloat x, GLfloat y, GLfloat z); 174 _es_MultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 177 _es_Materialfv(GLenum face, GLenum pname, const GLfloat *params); 180 _es_Materialf(GLenum face, GLenum pname, GLfloat param); 183 _es_VertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 186 _es_VertexAttrib1f(GLuint indx, GLfloat x); 189 _es_VertexAttrib1fv(GLuint indx, const GLfloat* values); 192 _es_VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y); 195 _es_VertexAttrib2fv(GLuint indx, const GLfloat* values); [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_aaline.c | 44 GLfloat x0, y0; /* start */ 45 GLfloat x1, y1; /* end */ 46 GLfloat dx, dy; /* direction vector */ 47 GLfloat len; /* length */ 48 GLfloat halfWidth; /* half of line width */ 49 GLfloat xAdj, yAdj; /* X and Y adjustment for quad corners around line */ 51 GLfloat qx0, qy0; /* quad vertices */ 52 GLfloat qx1, qy1; 53 GLfloat qx2, qy2; 54 GLfloat qx3, qy3; [all …]
|
D | s_aatriangle.c | 48 compute_plane(const GLfloat v0[], const GLfloat v1[], const GLfloat v2[], in compute_plane() 49 GLfloat z0, GLfloat z1, GLfloat z2, GLfloat plane[4]) in compute_plane() 51 const GLfloat px = v1[0] - v0[0]; in compute_plane() 52 const GLfloat py = v1[1] - v0[1]; in compute_plane() 53 const GLfloat pz = z1 - z0; in compute_plane() 55 const GLfloat qx = v2[0] - v0[0]; in compute_plane() 56 const GLfloat qy = v2[1] - v0[1]; in compute_plane() 57 const GLfloat qz = z2 - z0; in compute_plane() 60 const GLfloat a = py * qz - pz * qy; in compute_plane() 61 const GLfloat b = pz * qx - px * qz; in compute_plane() [all …]
|
D | s_texfilter.c | 62 static inline GLfloat 63 lerp_2d(GLfloat a, GLfloat b, in lerp_2d() 64 GLfloat v00, GLfloat v10, GLfloat v01, GLfloat v11) in lerp_2d() 66 const GLfloat temp0 = LERP(a, v00, v10); in lerp_2d() 67 const GLfloat temp1 = LERP(a, v01, v11); in lerp_2d() 76 static inline GLfloat 77 lerp_3d(GLfloat a, GLfloat b, GLfloat c, in lerp_3d() 78 GLfloat v000, GLfloat v100, GLfloat v010, GLfloat v110, in lerp_3d() 79 GLfloat v001, GLfloat v101, GLfloat v011, GLfloat v111) in lerp_3d() 81 const GLfloat temp00 = LERP(a, v000, v100); in lerp_3d() [all …]
|
D | s_span.h | 75 GLfloat attribs[FRAG_ATTRIB_MAX][SWRAST_MAX_WIDTH][4]; 91 GLfloat lambda[MAX_TEXTURE_COORD_UNITS][SWRAST_MAX_WIDTH]; /**< Texture LOD */ 92 GLfloat coverage[SWRAST_MAX_WIDTH]; /**< Fragment coverage for AA/smoothing */ 136 GLfloat attrStart[FRAG_ATTRIB_MAX][4]; /**< initial value */ 137 GLfloat attrStepX[FRAG_ATTRIB_MAX][4]; /**< dvalue/dx */ 138 GLfloat attrStepY[FRAG_ATTRIB_MAX][4]; /**< dvalue/dy */ 193 extern GLfloat 194 _swrast_compute_lambda(GLfloat dsdx, GLfloat dsdy, GLfloat dtdx, GLfloat dtdy, 195 GLfloat dqdx, GLfloat dqdy, GLfloat texW, GLfloat texH, 196 GLfloat s, GLfloat t, GLfloat q, GLfloat invQ);
|
/external/mesa3d/src/mesa/main/ |
D | rastpos.c | 49 rasterpos(GLfloat x, GLfloat y, GLfloat z, GLfloat w) in rasterpos() 52 GLfloat p[4]; in rasterpos() 72 rasterpos((GLfloat)x, (GLfloat)y, (GLfloat)0.0, (GLfloat)1.0); in _mesa_RasterPos2d() 76 _mesa_RasterPos2f(GLfloat x, GLfloat y) in _mesa_RasterPos2f() 84 rasterpos((GLfloat) x, (GLfloat) y, 0.0F, 1.0F); in _mesa_RasterPos2i() 96 rasterpos((GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F); in _mesa_RasterPos3d() 100 _mesa_RasterPos3f(GLfloat x, GLfloat y, GLfloat z) in _mesa_RasterPos3f() 108 rasterpos((GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F); in _mesa_RasterPos3i() 120 rasterpos((GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w); in _mesa_RasterPos4d() 124 _mesa_RasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) in _mesa_RasterPos4f() [all …]
|
D | api_loopback.c | 104 COLORF( (GLfloat) red, (GLfloat) green, (GLfloat) blue, 1.0 ); in loopback_Color3d_f() 153 COLORF( (GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], 1.0 ); in loopback_Color3dv_f() 204 COLORF( (GLfloat) red, (GLfloat) green, (GLfloat) blue, (GLfloat) alpha ); in loopback_Color4d_f() 262 COLORF( (GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], (GLfloat) v[3] ); in loopback_Color4dv_f() 299 FOGCOORDF( (GLfloat) d ); in loopback_FogCoorddEXT() 305 FOGCOORDF( (GLfloat) *v ); in loopback_FogCoorddvEXT() 312 INDEX( (GLfloat) c ); in loopback_Indexd() 318 INDEX( (GLfloat) c ); in loopback_Indexi() 324 INDEX( (GLfloat) c ); in loopback_Indexs() 330 INDEX( (GLfloat) c ); in loopback_Indexub() [all …]
|
D | drawtex.c | 35 draw_texture(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z, in draw_texture() 36 GLfloat width, GLfloat height) in draw_texture() 61 _mesa_DrawTexf(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height) in _mesa_DrawTexf() 69 _mesa_DrawTexfv(const GLfloat *coords) in _mesa_DrawTexfv() 80 draw_texture(ctx, (GLfloat) x, (GLfloat) y, (GLfloat) z, in _mesa_DrawTexi() 81 (GLfloat) width, (GLfloat) height); in _mesa_DrawTexi() 89 draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1], in _mesa_DrawTexiv() 90 (GLfloat) coords[2], (GLfloat) coords[3], (GLfloat) coords[4]); in _mesa_DrawTexiv() 98 draw_texture(ctx, (GLfloat) x, (GLfloat) y, (GLfloat) z, in _mesa_DrawTexs() 99 (GLfloat) width, (GLfloat) height); in _mesa_DrawTexs() [all …]
|
D | es1_conversion.c | 60 _es_ClipPlanef(GLenum plane, const GLfloat *equation) in _es_ClipPlanef() 88 _es_Color4f((GLfloat) (red / 255.0f), in _es_Color4ub() 89 (GLfloat) (green / 255.0f), in _es_Color4ub() 90 (GLfloat) (blue / 255.0f), in _es_Color4ub() 91 (GLfloat) (alpha / 255.0f)); in _es_Color4ub() 97 _es_Color4f((GLfloat) (red / 65536.0f), in _es_Color4x() 98 (GLfloat) (green / 65536.0f), in _es_Color4x() 99 (GLfloat) (blue / 65536.0f), in _es_Color4x() 100 (GLfloat) (alpha / 65536.0f)); in _es_Color4x() 114 _mesa_DrawTexf((GLfloat) (x / 65536.0f), in _es_DrawTexxOES() [all …]
|
D | dd.h | 137 void (*Accum)( struct gl_context *ctx, GLenum op, GLfloat value ); 143 void (*RasterPos)( struct gl_context *ctx, const GLfloat v[4] ); 439 void (*AlphaFunc)(struct gl_context *ctx, GLenum func, GLfloat ref); 441 void (*BlendColor)(struct gl_context *ctx, const GLfloat color[4]); 454 void (*ClipPlane)(struct gl_context *ctx, GLenum plane, const GLfloat *equation ); 479 void (*Fogfv)(struct gl_context *ctx, GLenum pname, const GLfloat *params); 487 GLenum pname, const GLfloat *params ); 489 void (*LightModelfv)(struct gl_context *ctx, GLenum pname, const GLfloat *params); 493 void (*LineWidth)(struct gl_context *ctx, GLfloat width); 497 const GLfloat *params); [all …]
|
D | api_arrayelt.c | 187 CALL_VertexAttrib1fNV(GET_DISPATCH(), (index, (GLfloat)v[0])); in VertexAttrib1bvNV() 199 CALL_VertexAttrib2fNV(GET_DISPATCH(), (index, (GLfloat)v[0], (GLfloat)v[1])); in VertexAttrib2bvNV() 213 CALL_VertexAttrib3fNV(GET_DISPATCH(), (index, (GLfloat)v[0], (GLfloat)v[1], (GLfloat)v[2])); in VertexAttrib3bvNV() 228 …CALL_VertexAttrib4fNV(GET_DISPATCH(), (index, (GLfloat)v[0], (GLfloat)v[1], (GLfloat)v[2], (GLfloa… in VertexAttrib4bvNV() 242 CALL_VertexAttrib1fNV(GET_DISPATCH(), (index, (GLfloat)v[0])); in VertexAttrib1ubvNV() 255 CALL_VertexAttrib2fNV(GET_DISPATCH(), (index, (GLfloat)v[0], (GLfloat)v[1])); in VertexAttrib2ubvNV() 268 CALL_VertexAttrib3fNV(GET_DISPATCH(), (index, (GLfloat)v[0], in VertexAttrib3ubvNV() 269 (GLfloat)v[1], (GLfloat)v[2])); in VertexAttrib3ubvNV() 284 CALL_VertexAttrib4fNV(GET_DISPATCH(), (index, (GLfloat)v[0], in VertexAttrib4ubvNV() 285 (GLfloat)v[1], (GLfloat)v[2], in VertexAttrib4ubvNV() [all …]
|
D | pixeltransfer.c | 43 _mesa_scale_and_bias_rgba(GLuint n, GLfloat rgba[][4], in _mesa_scale_and_bias_rgba() 44 GLfloat rScale, GLfloat gScale, in _mesa_scale_and_bias_rgba() 45 GLfloat bScale, GLfloat aScale, in _mesa_scale_and_bias_rgba() 46 GLfloat rBias, GLfloat gBias, in _mesa_scale_and_bias_rgba() 47 GLfloat bBias, GLfloat aBias) in _mesa_scale_and_bias_rgba() 80 _mesa_map_rgba( const struct gl_context *ctx, GLuint n, GLfloat rgba[][4] ) in _mesa_map_rgba() 82 const GLfloat rscale = (GLfloat) (ctx->PixelMaps.RtoR.Size - 1); in _mesa_map_rgba() 83 const GLfloat gscale = (GLfloat) (ctx->PixelMaps.GtoG.Size - 1); in _mesa_map_rgba() 84 const GLfloat bscale = (GLfloat) (ctx->PixelMaps.BtoB.Size - 1); in _mesa_map_rgba() 85 const GLfloat ascale = (GLfloat) (ctx->PixelMaps.AtoA.Size - 1); in _mesa_map_rgba() [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 …]
|
D | m_eval.h | 60 _math_horner_bezier_curve(const GLfloat *cp, GLfloat *out, GLfloat t, 79 _math_horner_bezier_surf(GLfloat *cn, GLfloat *out, GLfloat u, GLfloat v, 98 _math_de_casteljau_surf(GLfloat *cn, GLfloat *out, GLfloat *du, GLfloat *dv, 99 GLfloat u, GLfloat v, GLuint dim,
|
/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 | 51 const GLfloat *in ) in insert_4f_viewport_4() 53 GLfloat *out = (GLfloat *)v; in insert_4f_viewport_4() 54 const GLfloat * const vp = a->vp; in insert_4f_viewport_4() 63 const GLfloat *in ) in insert_4f_viewport_3() 65 GLfloat *out = (GLfloat *)v; in insert_4f_viewport_3() 66 const GLfloat * const vp = a->vp; in insert_4f_viewport_3() 75 const GLfloat *in ) in insert_4f_viewport_2() 77 GLfloat *out = (GLfloat *)v; in insert_4f_viewport_2() 78 const GLfloat * const vp = a->vp; in insert_4f_viewport_2() 87 const GLfloat *in ) in insert_4f_viewport_1() [all …]
|
D | t_vb_lighttmp.h | 53 GLfloat (*base)[3] = ctx->Light._BaseColor; in TAG() 54 GLfloat sumA[2]; in TAG() 58 const GLfloat *vertex = (GLfloat *)input->data; in TAG() 60 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; in TAG() 62 GLfloat (*Fcolor)[4] = (GLfloat (*)[4]) store->LitColor[0].data; in TAG() 63 GLfloat (*Fspec)[4] = (GLfloat (*)[4]) store->LitSecondary[0].data; in TAG() 65 GLfloat (*Bcolor)[4] = (GLfloat (*)[4]) store->LitColor[1].data; in TAG() 66 GLfloat (*Bspec)[4] = (GLfloat (*)[4]) store->LitSecondary[1].data; in TAG() 90 GLfloat sum[2][3], spec[2][3]; in TAG() 111 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/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 …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_drawtex.c | 105 st_DrawTex(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z, in st_DrawTex() 106 GLfloat width, GLfloat height) in st_DrawTex() 150 const GLfloat x0 = x, y0 = y, x1 = x + width, y1 = y + height; in st_DrawTex() 151 GLfloat *vbuf = NULL; in st_DrawTex() 155 numAttribs * 4 * 4 * sizeof(GLfloat), in st_DrawTex() 165 const GLfloat fb_width = (GLfloat)fb->Width; in st_DrawTex() 166 const GLfloat fb_height = (GLfloat)fb->Height; in st_DrawTex() 168 const GLfloat clip_x0 = (GLfloat)(x0 / fb_width * 2.0 - 1.0); in st_DrawTex() 169 const GLfloat clip_y0 = (GLfloat)(y0 / fb_height * 2.0 - 1.0); in st_DrawTex() 170 const GLfloat clip_x1 = (GLfloat)(x1 / fb_width * 2.0 - 1.0); in st_DrawTex() [all …]
|