/external/mesa3d/src/mesa/program/ |
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) [all...] |
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] [all...] |
/external/mesa3d/src/mesa/math/ |
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 [all...] |
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 ) [all...] |
m_norm_tmp.h | 44 GLfloat scale, 46 const GLfloat *lengths, 49 GLfloat (*out)[4] = (GLfloat (*)[4])dest->start; 50 const GLfloat *from = in->start; 53 const GLfloat *m = mat->inv; 54 GLfloat m0 = m[0], m4 = m[4], m8 = m[8]; 55 GLfloat m1 = m[1], m5 = m[5], m9 = m[9]; 56 GLfloat m2 = m[2], m6 = m[6], m10 = m[10]; 61 GLfloat tx, ty, tz [all...] |
m_dotprod_tmp.h | 33 static void TAG(dotprod_vec2)( GLfloat *out, 36 const GLfloat plane[4] ) 39 GLfloat *coord = coord_vec->start; 44 const GLfloat plane0 = plane[0], plane1 = plane[1], plane3 = plane[3]; 53 static void TAG(dotprod_vec3)( GLfloat *out, 56 const GLfloat plane[4] ) 59 GLfloat *coord = coord_vec->start; 64 const GLfloat plane0 = plane[0], plane1 = plane[1], plane2 = plane[2]; 65 const GLfloat plane3 = plane[3]; 75 static void TAG(dotprod_vec4)( GLfloat *out [all...] |
/external/mesa3d/src/mesa/main/ |
drawtex.c | 35 draw_texture(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z, 36 GLfloat width, GLfloat height) 61 _mesa_DrawTexf(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height [all...] |
accum.h | 50 _mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); 56 _mesa_accum(struct gl_context *ctx, GLenum op, GLfloat value); 66 _mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 78 _mesa_accum(struct gl_context *ctx, GLenum op, GLfloat value [all...] |
feedback.h | 41 const GLfloat win[4], 42 const GLfloat color[4], 43 const GLfloat texcoord[4] ); 47 _mesa_feedback_token( struct gl_context *ctx, GLfloat token ) 57 _mesa_update_hitflag( struct gl_context *ctx, GLfloat z ); 69 const GLfloat win[4], 70 const GLfloat color[4], 71 const GLfloat texcoord[4] ) 79 _mesa_feedback_token( struct gl_context *ctx, GLfloat token ) 86 _mesa_update_hitflag( struct gl_context *ctx, GLfloat z [all...] |
pixeltransfer.h | 34 _mesa_scale_and_bias_rgba(GLuint n, GLfloat rgba[][4], 35 GLfloat rScale, GLfloat gScale, 36 GLfloat bScale, GLfloat aScale, 37 GLfloat rBias, GLfloat gBias, 38 GLfloat bBias, GLfloat aBias); 41 _mesa_map_rgba(const struct gl_context *ctx, GLuint n, GLfloat rgba[][4]) [all...] |
rastpos.c | 49 rasterpos(GLfloat x, GLfloat y, GLfloat z, GLfloat w) 52 GLfloat p[4]; 72 rasterpos((GLfloat)x, (GLfloat)y, (GLfloat)0.0, (GLfloat)1.0); 76 _mesa_RasterPos2f(GLfloat x, GLfloat y [all...] |
matrix.h | 55 _mesa_LoadMatrixf( const GLfloat *m ); 64 _mesa_MultMatrixf( const GLfloat *m ); 70 _mesa_Rotatef( GLfloat angle, GLfloat x, GLfloat y, GLfloat z ); 76 _mesa_Scalef( GLfloat x, GLfloat y, GLfloat z ); 82 _mesa_Translatef( GLfloat x, GLfloat y, GLfloat z ) [all...] |
/frameworks/native/opengl/libagl/ |
fp.h | 41 GLfloat fixedToFloat(GLfixed) CONST; 43 void sincosf(GLfloat angle, GLfloat* s, GLfloat* c); 44 float sinef(GLfloat x) CONST; 45 float cosinef(GLfloat x) CONST; 47 inline bool cmpf(GLfloat a, GLfloat b) CONST; 48 inline bool isZerof(GLfloat) CONST; 49 inline bool isOnef(GLfloat) CONST [all...] |
/external/mesa3d/src/mesa/x86/ |
3dnow.c | 53 _mesa_v16_3dnow_general_xform( GLfloat *first_vert, 54 const GLfloat *m, 55 const GLfloat *src, 60 _mesa_3dnow_project_vertices( GLfloat *first, 61 GLfloat *last, 62 const GLfloat *m, 66 _mesa_3dnow_project_clipped_vertices( GLfloat *first, 67 GLfloat *last, 68 const GLfloat *m,
|
/external/mesa3d/src/mesa/swrast/ |
s_fog.h | 36 extern GLfloat 37 _swrast_z_to_fogfactor(struct gl_context *ctx, GLfloat z);
|
s_aatriangle.c | 48 compute_plane(const GLfloat v0[], const GLfloat v1[], const GLfloat v2[], 49 GLfloat z0, GLfloat z1, GLfloat z2, GLfloat plane[4]) 51 const GLfloat px = v1[0] - v0[0]; 52 const GLfloat py = v1[1] - v0[1]; 53 const GLfloat pz = z1 - z0 [all...] |
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...] |
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 [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_fog.h | 42 radeonComputeFogBlendFactor( struct gl_context *ctx, GLfloat fogcoord );
|
radeon_fog.c | 53 static GLfloat exp_table[FOG_EXP_TABLE_SIZE]; 58 GLfloat f = (GLfloat) (narg * (1.0/FOG_INCR)); \ 61 result = (GLfloat) EXP_FOG_MAX; \ 79 GLfloat f = 0.0F; 82 exp_table[i] = (GLfloat) exp(-f); 95 radeonComputeFogBlendFactor( struct gl_context *ctx, GLfloat fogcoord ) 97 GLfloat end = ctx->Fog.End; 98 GLfloat d, temp; 99 const GLfloat z = FABSF(fogcoord) [all...] |
/external/mesa3d/src/mesa/vbo/ |
vbo_noop.c | 49 _mesa_noop_Indexf(GLfloat f) 54 _mesa_noop_Indexfv(const GLfloat * v) 59 _mesa_noop_FogCoordfEXT(GLfloat a) 64 _mesa_noop_FogCoordfvEXT(const GLfloat * v) 69 _mesa_noop_Normal3f(GLfloat a, GLfloat b, GLfloat c) 74 _mesa_noop_Normal3fv(const GLfloat * v) 79 _mesa_noop_Color4f(GLfloat a, GLfloat b, GLfloat c, GLfloat d [all...] |
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) [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_viewport.c | 45 GLfloat yScale, yBias; 54 yBias = (GLfloat)ctx->DrawBuffer->Height; 65 GLfloat x = (GLfloat)ctx->Viewport.X; 66 GLfloat y = (GLfloat)ctx->Viewport.Y; 67 GLfloat z = ctx->Viewport.Near; 68 GLfloat half_width = (GLfloat)ctx->Viewport.Width * 0.5f; 69 GLfloat half_height = (GLfloat)ctx->Viewport.Height * 0.5f [all...] |
/external/mesa3d/src/mesa/tnl_dd/ |
t_dd_vertex.h | 30 GLfloat x, y, z, w; 53 GLfloat x, y, z, w; 56 GLfloat u0, v0; 57 GLfloat u1, v1; 58 GLfloat u2, v2; 59 GLfloat u3, v3; 62 GLfloat x, y, z, w; 65 GLfloat u0, v0, q0; 66 GLfloat u1, v1, q1; 67 GLfloat u2, v2, q2 [all...] |
/external/mesa3d/src/glx/ |
indirect_transpose_matrix.c | 29 TransposeMatrixf(const GLfloat s[16], GLfloat d[16]) 61 __indirect_glLoadTransposeMatrixfARB(const GLfloat * m) 63 GLfloat mt[16]; 79 __indirect_glMultTransposeMatrixfARB(const GLfloat * m) 81 GLfloat mt[16];
|