Searched defs:texcoord (Results 1 - 25 of 33) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
H A Dt_vb_texmat.c49 GLvector4f texcoord[MAX_TEXTURE_COORD_UNITS]; member in struct:texmat_stage_data
71 (void) TransformRaw( &store->texcoord[i],
75 VB->AttribPtr[VERT_ATTRIB_TEX0+i] = &store->texcoord[i];
98 _mesa_vector4f_alloc( &store->texcoord[i], 0, VB->Size, 32 );
111 if (store->texcoord[i].data)
112 _mesa_vector4f_free( &store->texcoord[i] );
H A Dt_rasterpos.c256 * \param texcoord incoming texcoord and resulting texcoord
260 const GLfloat normal[3], GLuint unit, GLfloat texcoord[4])
281 texcoord[0] = DOT4(vObj, texUnit->GenS.ObjectPlane);
284 texcoord[0] = DOT4(vEye, texUnit->GenS.EyePlane);
287 texcoord[0] = rx * mInv + 0.5F;
290 texcoord[0] = rx;
293 texcoord[0] = normal[0];
304 texcoord[
259 compute_texgen(struct gl_context *ctx, const GLfloat vObj[4], const GLfloat vEye[4], const GLfloat normal[3], GLuint unit, GLfloat texcoord[4]) argument
[all...]
H A Dt_vb_program.c195 vp_fetch_texel(struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, argument
203 1, (const GLfloat (*)[4]) texcoord,
H A Dt_vb_texgen.c76 GLvector4f texcoord[MAX_TEXTURE_COORD_UNITS]; member in struct:texgen_stage_data
172 * (f). This allows us to pass in either a texcoord vector4f, or a
257 GLvector4f *out = &store->texcoord[unit];
279 GLvector4f *out = &store->texcoord[unit];
281 GLfloat (*texcoord)[4] = (GLfloat (*)[4])out->start;
287 texcoord[i][0] = norm[0];
288 texcoord[i][1] = norm[1];
289 texcoord[i][2] = norm[2];
307 GLvector4f *out = &store->texcoord[unit];
308 GLfloat (*texcoord)[
[all...]
/external/mesa3d/src/mesa/tnl/
H A Dt_vb_texmat.c49 GLvector4f texcoord[MAX_TEXTURE_COORD_UNITS]; member in struct:texmat_stage_data
71 (void) TransformRaw( &store->texcoord[i],
75 VB->AttribPtr[VERT_ATTRIB_TEX0+i] = &store->texcoord[i];
98 _mesa_vector4f_alloc( &store->texcoord[i], 0, VB->Size, 32 );
111 if (store->texcoord[i].data)
112 _mesa_vector4f_free( &store->texcoord[i] );
H A Dt_rasterpos.c256 * \param texcoord incoming texcoord and resulting texcoord
260 const GLfloat normal[3], GLuint unit, GLfloat texcoord[4])
281 texcoord[0] = DOT4(vObj, texUnit->GenS.ObjectPlane);
284 texcoord[0] = DOT4(vEye, texUnit->GenS.EyePlane);
287 texcoord[0] = rx * mInv + 0.5F;
290 texcoord[0] = rx;
293 texcoord[0] = normal[0];
304 texcoord[
259 compute_texgen(struct gl_context *ctx, const GLfloat vObj[4], const GLfloat vEye[4], const GLfloat normal[3], GLuint unit, GLfloat texcoord[4]) argument
[all...]
H A Dt_vb_program.c195 vp_fetch_texel(struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, argument
203 1, (const GLfloat (*)[4]) texcoord,
H A Dt_vb_texgen.c76 GLvector4f texcoord[MAX_TEXTURE_COORD_UNITS]; member in struct:texgen_stage_data
172 * (f). This allows us to pass in either a texcoord vector4f, or a
257 GLvector4f *out = &store->texcoord[unit];
279 GLvector4f *out = &store->texcoord[unit];
281 GLfloat (*texcoord)[4] = (GLfloat (*)[4])out->start;
287 texcoord[i][0] = norm[0];
288 texcoord[i][1] = norm[1];
289 texcoord[i][2] = norm[2];
307 GLvector4f *out = &store->texcoord[unit];
308 GLfloat (*texcoord)[
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dfeedback.c123 const GLfloat texcoord[4])
140 _mesa_feedback_token( ctx, texcoord[0] );
141 _mesa_feedback_token( ctx, texcoord[1] );
142 _mesa_feedback_token( ctx, texcoord[2] );
143 _mesa_feedback_token( ctx, texcoord[3] );
120 _mesa_feedback_vertex(struct gl_context *ctx, const GLfloat win[4], const GLfloat color[4], const GLfloat texcoord[4]) argument
H A Deval.c1015 static GLfloat texcoord[4] = { 0.0, 0.0, 0.0, 1.0 }; local
1023 init_1d_map( &ctx->EvalMap.Map1Texture1, 1, texcoord );
1024 init_1d_map( &ctx->EvalMap.Map1Texture2, 2, texcoord );
1025 init_1d_map( &ctx->EvalMap.Map1Texture3, 3, texcoord );
1026 init_1d_map( &ctx->EvalMap.Map1Texture4, 4, texcoord );
1035 init_2d_map( &ctx->EvalMap.Map2Texture1, 1, texcoord );
1036 init_2d_map( &ctx->EvalMap.Map2Texture2, 2, texcoord );
1037 init_2d_map( &ctx->EvalMap.Map2Texture3, 3, texcoord );
1038 init_2d_map( &ctx->EvalMap.Map2Texture4, 4, texcoord );
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_cb_feedback.c88 const GLfloat *color, *texcoord; local
99 * color and texcoord attribs to use here.
110 texcoord = v->data[slot];
112 texcoord = ctx->Current.Attrib[VERT_ATTRIB_TEX0];
114 _mesa_feedback_vertex(ctx, win, color, texcoord);
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_fragprog.c79 fetch_texel_lod( struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, argument
92 1, (const GLfloat (*)[4]) texcoord,
110 fetch_texel_deriv( struct gl_context *ctx, const GLfloat texcoord[4], argument
133 texcoord[0], texcoord[1], texcoord[3],
134 1.0F / texcoord[3]);
141 1, (const GLfloat (*)[4]) texcoord,
H A Ds_atifragshader.c47 fetch_texel(struct gl_context * ctx, const GLfloat texcoord[4], GLfloat lambda, argument
55 1, (const GLfloat(*)[4]) texcoord,
/external/mesa3d/src/mesa/main/
H A Dfeedback.c123 const GLfloat texcoord[4])
140 _mesa_feedback_token( ctx, texcoord[0] );
141 _mesa_feedback_token( ctx, texcoord[1] );
142 _mesa_feedback_token( ctx, texcoord[2] );
143 _mesa_feedback_token( ctx, texcoord[3] );
120 _mesa_feedback_vertex(struct gl_context *ctx, const GLfloat win[4], const GLfloat color[4], const GLfloat texcoord[4]) argument
H A Deval.c1015 static GLfloat texcoord[4] = { 0.0, 0.0, 0.0, 1.0 }; local
1023 init_1d_map( &ctx->EvalMap.Map1Texture1, 1, texcoord );
1024 init_1d_map( &ctx->EvalMap.Map1Texture2, 2, texcoord );
1025 init_1d_map( &ctx->EvalMap.Map1Texture3, 3, texcoord );
1026 init_1d_map( &ctx->EvalMap.Map1Texture4, 4, texcoord );
1035 init_2d_map( &ctx->EvalMap.Map2Texture1, 1, texcoord );
1036 init_2d_map( &ctx->EvalMap.Map2Texture2, 2, texcoord );
1037 init_2d_map( &ctx->EvalMap.Map2Texture3, 3, texcoord );
1038 init_2d_map( &ctx->EvalMap.Map2Texture4, 4, texcoord );
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_feedback.c88 const GLfloat *color, *texcoord; local
99 * color and texcoord attribs to use here.
110 texcoord = v->data[slot];
112 texcoord = ctx->Current.Attrib[VERT_ATTRIB_TEX0];
114 _mesa_feedback_vertex(ctx, win, color, texcoord);
/external/mesa3d/src/mesa/swrast/
H A Ds_fragprog.c79 fetch_texel_lod( struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, argument
92 1, (const GLfloat (*)[4]) texcoord,
110 fetch_texel_deriv( struct gl_context *ctx, const GLfloat texcoord[4], argument
133 texcoord[0], texcoord[1], texcoord[3],
134 1.0F / texcoord[3]);
141 1, (const GLfloat (*)[4]) texcoord,
H A Ds_atifragshader.c47 fetch_texel(struct gl_context * ctx, const GLfloat texcoord[4], GLfloat lambda, argument
55 1, (const GLfloat(*)[4]) texcoord,
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
H A Dnv30_state.h85 uint16_t texcoord[10]; member in struct:nv30_vertprog
117 uint16_t texcoord[10]; member in struct:nv30_fragprog
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
H A Dfs-test.c56 float texcoord[4]; member in struct:vertex
210 ve[2].src_offset = Offset(struct vertex, texcoord);
H A Dgs-test.c58 float texcoord[4]; member in struct:vertex
243 ve[2].src_offset = Offset(struct vertex, texcoord);
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_state.h85 uint16_t texcoord[10]; member in struct:nv30_vertprog
117 uint16_t texcoord[10]; member in struct:nv30_fragprog
/external/mesa3d/src/gallium/tests/graw/
H A Dfs-test.c56 float texcoord[4]; member in struct:vertex
210 ve[2].src_offset = Offset(struct vertex, texcoord);
H A Dgs-test.c58 float texcoord[4]; member in struct:vertex
243 ve[2].src_offset = Offset(struct vertex, texcoord);
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestgl.c171 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord) argument
183 texcoord[0] = 0.0f; /* Min X */
184 texcoord[1] = 0.0f; /* Min Y */
185 texcoord[2] = (GLfloat)surface->w / w; /* Max X */
186 texcoord[3] = (GLfloat)surface->h / h; /* Max Y */
254 GLfloat texcoord[4]; local
265 cursor_texture = SDL_GL_LoadTexture(image, texcoord);
268 texMinX = texcoord[0];
269 texMinY = texcoord[1];
270 texMaxX = texcoord[
313 GLfloat texcoord[4]; local
[all...]

Completed in 816 milliseconds

12