/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11tex/ |
d3d11tex.hlsl | 35 float2 texcoord : TEXCOORD;
41 float2 texcoord : TEXCOORD;
49 result.texcoord = input.texcoord * 8;
50 result.factors.xy = input.texcoord;
51 result.factors.zw = 1 - input.texcoord;
57 float4 a0 = tex0.Sample(samp0, input.texcoord);
58 float4 a1 = tex0.Sample(samp1, input.texcoord);
[all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tex/ |
d3d11tex.hlsl | 35 float2 texcoord : TEXCOORD;
41 float2 texcoord : TEXCOORD;
49 result.texcoord = input.texcoord * 8;
50 result.factors.xy = input.texcoord;
51 result.factors.zw = 1 - input.texcoord;
57 float4 a0 = tex0.Sample(samp0, input.texcoord);
58 float4 a1 = tex0.Sample(samp1, input.texcoord);
[all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11blit.hlsl | 33 float2 texcoord : TEXCOORD;
39 float2 texcoord : TEXCOORD;
46 result.texcoord = input.texcoord;
52 return tex.Sample(samp, input.texcoord);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11blit.hlsl | 33 float2 texcoord : TEXCOORD;
39 float2 texcoord : TEXCOORD;
46 result.texcoord = input.texcoord;
52 return tex.Sample(samp, input.texcoord);
|
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_vb_texmat.c | 49 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] );
|
t_vb_texgen.c | 76 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)[4] = (GLfloat (*)[4]) out->start [all...] |
t_rasterpos.c | 256 * \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[1] = DOT4(vObj, texUnit->GenT.ObjectPlane) [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_texmat.c | 49 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] );
|
t_vb_texgen.c | 76 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)[4] = (GLfloat (*)[4]) out->start [all...] |
t_rasterpos.c | 256 * \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[1] = DOT4(vObj, texUnit->GenT.ObjectPlane) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
feedback.h | 43 const GLfloat texcoord[4] ); 71 const GLfloat texcoord[4] )
|
/external/mesa3d/src/mesa/main/ |
feedback.h | 43 const GLfloat texcoord[4] ); 71 const GLfloat texcoord[4] )
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_texfilter.c | 152 * s = texcoord in [0,1] 505 const GLfloat texcoord[4], 515 *i = clamp_rect_coord_nearest(samp->WrapS, texcoord[0], width); 516 *j = clamp_rect_coord_nearest(samp->WrapT, texcoord[1], height); 520 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]); 525 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]); 526 *j = nearest_texel_location(samp->WrapT, img, height, texcoord[1]); 530 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]); 531 *j = tex_array_slice(texcoord[1], height); 535 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]) [all...] |
s_fragprog.c | 79 fetch_texel_lod( struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, 92 1, (const GLfloat (*)[4]) texcoord, 110 fetch_texel_deriv( struct gl_context *ctx, const GLfloat texcoord[4], 133 texcoord[0], texcoord[1], texcoord[3], 134 1.0F / texcoord[3]); 141 1, (const GLfloat (*)[4]) texcoord,
|
/external/mesa3d/src/mesa/swrast/ |
s_texfilter.c | 152 * s = texcoord in [0,1] 505 const GLfloat texcoord[4], 515 *i = clamp_rect_coord_nearest(samp->WrapS, texcoord[0], width); 516 *j = clamp_rect_coord_nearest(samp->WrapT, texcoord[1], height); 520 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]); 525 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]); 526 *j = nearest_texel_location(samp->WrapT, img, height, texcoord[1]); 530 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]); 531 *j = tex_array_slice(texcoord[1], height); 535 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]) [all...] |
s_fragprog.c | 79 fetch_texel_lod( struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, 92 1, (const GLfloat (*)[4]) texcoord, 110 fetch_texel_deriv( struct gl_context *ctx, const GLfloat texcoord[4], 133 texcoord[0], texcoord[1], texcoord[3], 134 1.0F / texcoord[3]); 141 1, (const GLfloat (*)[4]) texcoord,
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
prog_execute.h | 32 typedef void (*FetchTexelLodFunc)(struct gl_context *ctx, const GLfloat texcoord[4], 35 typedef void (*FetchTexelDerivFunc)(struct gl_context *ctx, const GLfloat texcoord[4],
|
prog_execute.c | 390 const GLfloat texcoord[4], GLfloat lodBias, 402 machine->FetchTexelDeriv(ctx, texcoord, 408 machine->FetchTexelLod(ctx, texcoord, lodBias, unit, color); 1651 GLfloat texcoord[4], color[4]; local 1676 GLfloat texcoord[4], color[4], lodBias; local 1703 GLfloat texcoord[4], dtdx[4], dtdy[4], color[4]; local 1716 GLfloat texcoord[4], color[4], lod; local 1732 GLfloat texcoord[4], color[4]; local 1755 GLfloat texcoord[4], color[4]; local [all...] |
/external/mesa3d/src/mesa/program/ |
prog_execute.h | 32 typedef void (*FetchTexelLodFunc)(struct gl_context *ctx, const GLfloat texcoord[4], 35 typedef void (*FetchTexelDerivFunc)(struct gl_context *ctx, const GLfloat texcoord[4],
|
prog_execute.c | 390 const GLfloat texcoord[4], GLfloat lodBias, 402 machine->FetchTexelDeriv(ctx, texcoord, 408 machine->FetchTexelLod(ctx, texcoord, lodBias, unit, color); 1651 GLfloat texcoord[4], color[4]; local 1676 GLfloat texcoord[4], color[4], lodBias; local 1703 GLfloat texcoord[4], dtdx[4], dtdy[4], color[4]; local 1716 GLfloat texcoord[4], color[4], lod; local 1732 GLfloat texcoord[4], color[4]; local 1755 GLfloat texcoord[4], color[4]; local [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
testgl.c | 171 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord) 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[2] 313 GLfloat texcoord[4]; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
nv30_state.h | 85 uint16_t texcoord[10]; member in struct:nv30_vertprog 117 uint16_t texcoord[10]; member in struct:nv30_fragprog
|
nv30_vertprog.c | 64 if (memcmp(vp->texcoord, fp->texcoord, sizeof(vp->texcoord))) { 67 memcpy(vp->texcoord, fp->texcoord, sizeof(vp->texcoord));
|
/external/mesa3d/src/gallium/drivers/nv30/ |
nv30_state.h | 85 uint16_t texcoord[10]; member in struct:nv30_vertprog 117 uint16_t texcoord[10]; member in struct:nv30_fragprog
|
nv30_vertprog.c | 64 if (memcmp(vp->texcoord, fp->texcoord, sizeof(vp->texcoord))) { 67 memcpy(vp->texcoord, fp->texcoord, sizeof(vp->texcoord));
|