/external/mesa3d/src/mesa/swrast/ |
s_span.c | 888 rgba[i][ACOMP] = (GLubyte) CLAMP(a, 0.0, 255.0); 897 rgba[i][ACOMP] = (GLushort) CLAMP(a, 0.0, 65535.0); 904 /* clamp later */ 911 * Clamp span's float colors to [0,1] 920 rgba[i][RCOMP] = CLAMP(rgba[i][RCOMP], 0.0F, 1.0F); 921 rgba[i][GCOMP] = CLAMP(rgba[i][GCOMP], 0.0F, 1.0F); 922 rgba[i][BCOMP] = CLAMP(rgba[i][BCOMP], 0.0F, 1.0F); 923 rgba[i][ACOMP] = CLAMP(rgba[i][ACOMP], 0.0F, 1.0F); [all...] |
s_texfetch_tmp.h | [all...] |
s_texfilter.c | 424 * Do clamp/wrap for a texture rectangle coord, GL_NEAREST filter mode. 431 return IFLOOR( CLAMP(coord, 0.0F, max - 1) ); 433 return IFLOOR( CLAMP(coord, 0.5F, max - 0.5F) ); 435 return IFLOOR( CLAMP(coord, -0.5F, max + 0.5F) ); 455 fcol = CLAMP(coord - 0.5F, 0.0F, max - 1); 460 fcol = CLAMP(coord, 0.5F, max - 0.5F); 468 fcol = CLAMP(coord, -0.5F, max + 0.5F); 492 slice = CLAMP(slice, 0, size - 1); [all...] |
s_aalinetemp.h | 122 line.halfWidth = 0.5F * CLAMP(ctx->Line.Width,
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_texfilter.c | 424 * Do clamp/wrap for a texture rectangle coord, GL_NEAREST filter mode. 431 return IFLOOR( CLAMP(coord, 0.0F, max - 1) ); 433 return IFLOOR( CLAMP(coord, 0.5F, max - 0.5F) ); 435 return IFLOOR( CLAMP(coord, -0.5F, max + 0.5F) ); 455 fcol = CLAMP(coord - 0.5F, 0.0F, max - 1); 460 fcol = CLAMP(coord, 0.5F, max - 0.5F); 468 fcol = CLAMP(coord, -0.5F, max + 0.5F); 492 slice = CLAMP(slice, 0, size - 1); [all...] |
s_aalinetemp.h | 122 line.halfWidth = 0.5F * CLAMP(ctx->Line.Width,
|
/cts/tests/tests/animation/src/android/animation/cts/ |
AnimationActivity.java | 253 50f, color, darkColor, Shader.TileMode.CLAMP);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
nv50_state.c | 444 NV50_TSC_WRAP_CASE(CLAMP); 529 f[0] = CLAMP(cso->lod_bias, -16.0f, 15.0f); 532 f[0] = CLAMP(cso->min_lod, 0.0f, 15.0f); 533 f[1] = CLAMP(cso->max_lod, 0.0f, 15.0f); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_setup.c | 213 unsigned skip_left0 = CLAMP(xleft0 - x, 0, step); 214 unsigned skip_left1 = CLAMP(xleft1 - x, 0, step); 215 unsigned skip_right0 = CLAMP(x + step - xright0, 0, step); 216 unsigned skip_right1 = CLAMP(x + step - xright1, 0, step); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
shader.c | 117 CLAMP(state->color_transform_values[i], -val, val);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_tex.c | 294 bias = CLAMP( *param, min, 4.0 );
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_cb_drawtex.c | 160 z = CLAMP(z, 0.0f, 1.0f);
|
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_state.c | 444 NV50_TSC_WRAP_CASE(CLAMP); 529 f[0] = CLAMP(cso->lod_bias, -16.0f, 15.0f); 532 f[0] = CLAMP(cso->min_lod, 0.0f, 15.0f); 533 f[1] = CLAMP(cso->max_lod, 0.0f, 15.0f); [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_setup.c | 213 unsigned skip_left0 = CLAMP(xleft0 - x, 0, step); 214 unsigned skip_left1 = CLAMP(xleft1 - x, 0, step); 215 unsigned skip_right0 = CLAMP(x + step - xright0, 0, step); 216 unsigned skip_right1 = CLAMP(x + step - xright1, 0, step); [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
shader.c | 117 CLAMP(state->color_transform_values[i], -val, val);
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_tex.c | 294 bias = CLAMP( *param, min, 4.0 );
|
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_drawtex.c | 160 z = CLAMP(z, 0.0f, 1.0f);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
texstore.c | [all...] |
/external/mesa3d/src/mesa/main/ |
texstore.c | [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_math.h | 686 * Clamp X to [MIN, MAX]. 689 #define CLAMP( X, MIN, MAX ) ( (X)<(MIN) ? (MIN) : ((X)>(MAX) ? (MAX) : (X)) )
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nv10_state_tnl.c | 429 CLAMP(mat[MAT_ATTRIB_FRONT_SHININESS][0], 0, 1024),
|
nv20_state_tnl.c | 325 CLAMP(mat[MAT_ATTRIB_SHININESS(side)][0], 0, 1024),
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_tex.c | 338 bias = CLAMP( bias, min, 16.0 );
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_math.h | 686 * Clamp X to [MIN, MAX]. 689 #define CLAMP( X, MIN, MAX ) ( (X)<(MIN) ? (MIN) : ((X)>(MAX) ? (MAX) : (X)) )
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv10_state_tnl.c | 429 CLAMP(mat[MAT_ATTRIB_FRONT_SHININESS][0], 0, 1024),
|