HomeSort by relevance Sort by last modified time
    Searched refs:CLAMP (Results 51 - 75 of 254) sorted by null

1 23 4 5 6 7 8 91011

  /external/chromium_org/third_party/mesa/src/src/mesa/main/
format_pack.c 1390 du = FLOAT_TO_BYTE(CLAMP(src[0], 0.0F, 1.0F));
1391 dv = FLOAT_TO_BYTE(CLAMP(src[1], 0.0F, 1.0F));
1428 *d = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f));
1440 GLbyte r = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f));
1441 GLbyte g = FLOAT_TO_BYTE(CLAMP(src[GCOMP], -1.0f, 1.0f));
1454 GLbyte r = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f));
1455 GLbyte g = FLOAT_TO_BYTE(CLAMP(src[GCOMP], -1.0f, 1.0f));
1456 GLbyte b = FLOAT_TO_BYTE(CLAMP(src[BCOMP], -1.0f, 1.0f));
1470 GLbyte r = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f));
1471 GLbyte g = FLOAT_TO_BYTE(CLAMP(src[GCOMP], -1.0f, 1.0f))
    [all...]
viewport.c 76 /* clamp width and height to the implementation dependent range */
128 ctx->Viewport.Near = (GLfloat) CLAMP(nearval, 0.0, 1.0);
129 ctx->Viewport.Far = (GLfloat) CLAMP(farval, 0.0, 1.0);
  /external/mesa3d/src/mesa/main/
format_pack.c 1390 du = FLOAT_TO_BYTE(CLAMP(src[0], 0.0F, 1.0F));
1391 dv = FLOAT_TO_BYTE(CLAMP(src[1], 0.0F, 1.0F));
1428 *d = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f));
1440 GLbyte r = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f));
1441 GLbyte g = FLOAT_TO_BYTE(CLAMP(src[GCOMP], -1.0f, 1.0f));
1454 GLbyte r = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f));
1455 GLbyte g = FLOAT_TO_BYTE(CLAMP(src[GCOMP], -1.0f, 1.0f));
1456 GLbyte b = FLOAT_TO_BYTE(CLAMP(src[BCOMP], -1.0f, 1.0f));
1470 GLbyte r = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f));
1471 GLbyte g = FLOAT_TO_BYTE(CLAMP(src[GCOMP], -1.0f, 1.0f))
    [all...]
viewport.c 76 /* clamp width and height to the implementation dependent range */
128 ctx->Viewport.Near = (GLfloat) CLAMP(nearval, 0.0, 1.0);
129 ctx->Viewport.Far = (GLfloat) CLAMP(farval, 0.0, 1.0);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
SamplerTest.java 43 mWrapValues[0] = Sampler.Value.CLAMP;
129 assertEquals(Value.CLAMP, Value.valueOf("CLAMP"));
  /frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
ResourceModifiers.java 80 Color.RED, Color.GREEN, Shader.TileMode.CLAMP);
88 Color.BLUE, Color.RED, Shader.TileMode.CLAMP);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ShadersActivity.java 85 Color.RED, Color.GREEN, Shader.TileMode.CLAMP);
93 Color.BLUE, Color.MAGENTA, Shader.TileMode.CLAMP);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Gradient_Delegate.java 131 case CLAMP:
162 case CLAMP:
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
sp_state_blend.c 82 CLAMP(blend_color->color[i], 0.0f, 1.0f);
  /external/mesa3d/src/gallium/drivers/softpipe/
sp_state_blend.c 82 CLAMP(blend_color->color[i], 0.0f, 1.0f);
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
brw_sf_state.c 235 sf->sf6.line_width = CLAMP(ctx->Line.Width, 1.0, 5.0) * (1<<1);
270 /* XXX clamp max depends on AA vs. non-AA */
274 sf->sf7.point_size = CLAMP(rint(CLAMP(ctx->Point.Size,
gen6_sf_state.c 222 uint32_t line_width_u3_7 = U_FIXED(CLAMP(ctx->Line.Width, 0.0, 7.99), 7);
242 /* Clamp to ARB_point_parameters user limits */
243 point_size = CLAMP(ctx->Point.Size, ctx->Point.MinSize, ctx->Point.MaxSize);
245 /* Clamp to the hardware limits and convert to fixed point */
246 dw4 |= U_FIXED(CLAMP(point_size, 0.125, 255.875), 3);
341 OUT_BATCH_F(0.0); /* XXX: global depth offset clamp */
gen7_sampler_state.c 112 * coordinate dimensions. Futher, only CUBE and CLAMP are valid.
146 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias +
161 sampler->ss1.max_lod = U_FIXED(CLAMP(gl_sampler->MaxLod, 0, 13), 8);
162 sampler->ss1.min_lod = U_FIXED(CLAMP(gl_sampler->MinLod, 0, 13), 8);
gen7_sf_state.c 251 uint32_t line_width_u3_7 = U_FIXED(CLAMP(ctx->Line.Width, 0.0, 7.99), 7);
277 /* Clamp to ARB_point_parameters user limits */
278 point_size = CLAMP(ctx->Point.Size, ctx->Point.MinSize, ctx->Point.MaxSize);
280 /* Clamp to the hardware limits and convert to fixed point */
281 dw3 |= U_FIXED(CLAMP(point_size, 0.125, 255.875), 3);
300 OUT_BATCH_F(0.0); /* XXX: global depth offset clamp */
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
nv10_state_tex.c 213 lod_max = CLAMP(lod_max, 0, 15);
214 lod_min = CLAMP(lod_min, 0, 15);
215 lod_bias = CLAMP(lod_bias, 0, 15);
nv20_state_tex.c 225 lod_max = CLAMP(lod_max, 0, 15);
226 lod_min = CLAMP(lod_min, 0, 15);
227 lod_bias = CLAMP(lod_bias, 0, 15);
  /external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
st_atom_rasterizer.c 207 /* clamp size now */
208 raster->point_size = CLAMP(ctx->Point.Size,
217 raster->line_width = CLAMP(ctx->Line.Width,
222 raster->line_width = CLAMP(ctx->Line.Width,
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_sf_state.c 235 sf->sf6.line_width = CLAMP(ctx->Line.Width, 1.0, 5.0) * (1<<1);
270 /* XXX clamp max depends on AA vs. non-AA */
274 sf->sf7.point_size = CLAMP(rint(CLAMP(ctx->Point.Size,
gen6_sf_state.c 222 uint32_t line_width_u3_7 = U_FIXED(CLAMP(ctx->Line.Width, 0.0, 7.99), 7);
242 /* Clamp to ARB_point_parameters user limits */
243 point_size = CLAMP(ctx->Point.Size, ctx->Point.MinSize, ctx->Point.MaxSize);
245 /* Clamp to the hardware limits and convert to fixed point */
246 dw4 |= U_FIXED(CLAMP(point_size, 0.125, 255.875), 3);
341 OUT_BATCH_F(0.0); /* XXX: global depth offset clamp */
gen7_sampler_state.c 112 * coordinate dimensions. Futher, only CUBE and CLAMP are valid.
146 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias +
161 sampler->ss1.max_lod = U_FIXED(CLAMP(gl_sampler->MaxLod, 0, 13), 8);
162 sampler->ss1.min_lod = U_FIXED(CLAMP(gl_sampler->MinLod, 0, 13), 8);
gen7_sf_state.c 251 uint32_t line_width_u3_7 = U_FIXED(CLAMP(ctx->Line.Width, 0.0, 7.99), 7);
277 /* Clamp to ARB_point_parameters user limits */
278 point_size = CLAMP(ctx->Point.Size, ctx->Point.MinSize, ctx->Point.MaxSize);
280 /* Clamp to the hardware limits and convert to fixed point */
281 dw3 |= U_FIXED(CLAMP(point_size, 0.125, 255.875), 3);
300 OUT_BATCH_F(0.0); /* XXX: global depth offset clamp */
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nv10_state_tex.c 213 lod_max = CLAMP(lod_max, 0, 15);
214 lod_min = CLAMP(lod_min, 0, 15);
215 lod_bias = CLAMP(lod_bias, 0, 15);
nv20_state_tex.c 225 lod_max = CLAMP(lod_max, 0, 15);
226 lod_min = CLAMP(lod_min, 0, 15);
227 lod_bias = CLAMP(lod_bias, 0, 15);
  /external/mesa3d/src/mesa/state_tracker/
st_atom_rasterizer.c 207 /* clamp size now */
208 raster->point_size = CLAMP(ctx->Point.Size,
217 raster->line_width = CLAMP(ctx->Line.Width,
222 raster->line_width = CLAMP(ctx->Line.Width,
  /packages/apps/Settings/src/com/android/settings/applications/
LinearColorBar.java 127 0, 0, 0, off-2, mRightColor &0xffffff, mRightColor, Shader.TileMode.CLAMP));
130 0, 0, 0, off-2, mMiddleColor&0xffffff, mMiddleColor, Shader.TileMode.CLAMP));
133 0, 0, 0, off/2, 0x00a0a0a0, 0xffa0a0a0, Shader.TileMode.CLAMP));

Completed in 413 milliseconds

1 23 4 5 6 7 8 91011