/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
H A D | r200_fragshader.c | 514 CLAMPED_FLOAT_TO_UBYTE(con_byte[0], shader->Constants[i][0]); 515 CLAMPED_FLOAT_TO_UBYTE(con_byte[1], shader->Constants[i][1]); 516 CLAMPED_FLOAT_TO_UBYTE(con_byte[2], shader->Constants[i][2]); 517 CLAMPED_FLOAT_TO_UBYTE(con_byte[3], shader->Constants[i][3]); 520 CLAMPED_FLOAT_TO_UBYTE(con_byte[0], ctx->ATIFragmentShader.GlobalConstants[i][0]); 521 CLAMPED_FLOAT_TO_UBYTE(con_byte[1], ctx->ATIFragmentShader.GlobalConstants[i][1]); 522 CLAMPED_FLOAT_TO_UBYTE(con_byte[2], ctx->ATIFragmentShader.GlobalConstants[i][2]); 523 CLAMPED_FLOAT_TO_UBYTE(con_byte[3], ctx->ATIFragmentShader.GlobalConstants[i][3]);
|
H A D | r200_tex.c | 291 CLAMPED_FLOAT_TO_UBYTE(c[0], color[0]); 292 CLAMPED_FLOAT_TO_UBYTE(c[1], color[1]); 293 CLAMPED_FLOAT_TO_UBYTE(c[2], color[2]); 294 CLAMPED_FLOAT_TO_UBYTE(c[3], color[3]);
|
H A D | r200_state.c | 73 CLAMPED_FLOAT_TO_UBYTE(refByte, ref); 115 CLAMPED_FLOAT_TO_UBYTE(color[0], cf[0]); 116 CLAMPED_FLOAT_TO_UBYTE(color[1], cf[1]); 117 CLAMPED_FLOAT_TO_UBYTE(color[2], cf[2]); 118 CLAMPED_FLOAT_TO_UBYTE(color[3], cf[3]);
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
H A D | s_alpha.c | 116 CLAMPED_FLOAT_TO_UBYTE(ref, ctx->Color.AlphaRef); 138 CLAMPED_FLOAT_TO_UBYTE(ref, ctx->Color.AlphaRef);
|
H A D | s_chan.h | 76 #define CLAMPED_FLOAT_TO_CHAN(c, f) CLAMPED_FLOAT_TO_UBYTE(c, f)
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | r200_fragshader.c | 514 CLAMPED_FLOAT_TO_UBYTE(con_byte[0], shader->Constants[i][0]); 515 CLAMPED_FLOAT_TO_UBYTE(con_byte[1], shader->Constants[i][1]); 516 CLAMPED_FLOAT_TO_UBYTE(con_byte[2], shader->Constants[i][2]); 517 CLAMPED_FLOAT_TO_UBYTE(con_byte[3], shader->Constants[i][3]); 520 CLAMPED_FLOAT_TO_UBYTE(con_byte[0], ctx->ATIFragmentShader.GlobalConstants[i][0]); 521 CLAMPED_FLOAT_TO_UBYTE(con_byte[1], ctx->ATIFragmentShader.GlobalConstants[i][1]); 522 CLAMPED_FLOAT_TO_UBYTE(con_byte[2], ctx->ATIFragmentShader.GlobalConstants[i][2]); 523 CLAMPED_FLOAT_TO_UBYTE(con_byte[3], ctx->ATIFragmentShader.GlobalConstants[i][3]);
|
H A D | r200_tex.c | 291 CLAMPED_FLOAT_TO_UBYTE(c[0], color[0]); 292 CLAMPED_FLOAT_TO_UBYTE(c[1], color[1]); 293 CLAMPED_FLOAT_TO_UBYTE(c[2], color[2]); 294 CLAMPED_FLOAT_TO_UBYTE(c[3], color[3]);
|
H A D | r200_state.c | 73 CLAMPED_FLOAT_TO_UBYTE(refByte, ref); 115 CLAMPED_FLOAT_TO_UBYTE(color[0], cf[0]); 116 CLAMPED_FLOAT_TO_UBYTE(color[1], cf[1]); 117 CLAMPED_FLOAT_TO_UBYTE(color[2], cf[2]); 118 CLAMPED_FLOAT_TO_UBYTE(color[3], cf[3]);
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_alpha.c | 116 CLAMPED_FLOAT_TO_UBYTE(ref, ctx->Color.AlphaRef); 138 CLAMPED_FLOAT_TO_UBYTE(ref, ctx->Color.AlphaRef);
|
H A D | s_chan.h | 76 #define CLAMPED_FLOAT_TO_CHAN(c, f) CLAMPED_FLOAT_TO_UBYTE(c, f)
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
H A D | i830_texstate.c | 305 CLAMPED_FLOAT_TO_UBYTE(border[0], sampler->BorderColor.f[0]); 306 CLAMPED_FLOAT_TO_UBYTE(border[1], sampler->BorderColor.f[1]); 307 CLAMPED_FLOAT_TO_UBYTE(border[2], sampler->BorderColor.f[2]); 308 CLAMPED_FLOAT_TO_UBYTE(border[3], sampler->BorderColor.f[3]);
|
H A D | i915_texstate.c | 359 CLAMPED_FLOAT_TO_UBYTE(border[0], sampler->BorderColor.f[0]); 360 CLAMPED_FLOAT_TO_UBYTE(border[1], sampler->BorderColor.f[1]); 361 CLAMPED_FLOAT_TO_UBYTE(border[2], sampler->BorderColor.f[2]); 362 CLAMPED_FLOAT_TO_UBYTE(border[3], sampler->BorderColor.f[3]);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
H A D | radeon_tex.c | 248 CLAMPED_FLOAT_TO_UBYTE(c[0], color[0]); 249 CLAMPED_FLOAT_TO_UBYTE(c[1], color[1]); 250 CLAMPED_FLOAT_TO_UBYTE(c[2], color[2]); 251 CLAMPED_FLOAT_TO_UBYTE(c[3], color[3]);
|
H A D | radeon_state.c | 72 CLAMPED_FLOAT_TO_UBYTE(refByte, ref);
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | i830_texstate.c | 305 CLAMPED_FLOAT_TO_UBYTE(border[0], sampler->BorderColor.f[0]); 306 CLAMPED_FLOAT_TO_UBYTE(border[1], sampler->BorderColor.f[1]); 307 CLAMPED_FLOAT_TO_UBYTE(border[2], sampler->BorderColor.f[2]); 308 CLAMPED_FLOAT_TO_UBYTE(border[3], sampler->BorderColor.f[3]);
|
H A D | i915_texstate.c | 359 CLAMPED_FLOAT_TO_UBYTE(border[0], sampler->BorderColor.f[0]); 360 CLAMPED_FLOAT_TO_UBYTE(border[1], sampler->BorderColor.f[1]); 361 CLAMPED_FLOAT_TO_UBYTE(border[2], sampler->BorderColor.f[2]); 362 CLAMPED_FLOAT_TO_UBYTE(border[3], sampler->BorderColor.f[3]);
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_tex.c | 248 CLAMPED_FLOAT_TO_UBYTE(c[0], color[0]); 249 CLAMPED_FLOAT_TO_UBYTE(c[1], color[1]); 250 CLAMPED_FLOAT_TO_UBYTE(c[2], color[2]); 251 CLAMPED_FLOAT_TO_UBYTE(c[3], color[3]);
|
H A D | radeon_state.c | 72 CLAMPED_FLOAT_TO_UBYTE(refByte, ref);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | macros.h | 141 *** CLAMPED_FLOAT_TO_UBYTE: map float known to be in [0,1] to ubyte in [0,255] 161 #define CLAMPED_FLOAT_TO_UBYTE(UB, F) \ macro 170 #define CLAMPED_FLOAT_TO_UBYTE(ub, f) \ macro
|
H A D | pack.c | 4424 CLAMPED_FLOAT_TO_UBYTE(dst[rDst], rgba[i][RCOMP]); 4433 CLAMPED_FLOAT_TO_UBYTE(dst[gDst], rgba[i][GCOMP]); 4442 CLAMPED_FLOAT_TO_UBYTE(dst[bDst], rgba[i][BCOMP]); 4451 CLAMPED_FLOAT_TO_UBYTE(dst[aDst], rgba[i][ACOMP]); 4463 CLAMPED_FLOAT_TO_UBYTE(dst[i], rgba[i][RCOMP]); 4473 CLAMPED_FLOAT_TO_UBYTE(dst[0], rgba[i][RCOMP]);
|
H A D | format_pack.c | 1138 CLAMPED_FLOAT_TO_UBYTE(a, src[ACOMP]);
|
/external/mesa3d/src/mesa/main/ |
H A D | macros.h | 141 *** CLAMPED_FLOAT_TO_UBYTE: map float known to be in [0,1] to ubyte in [0,255] 161 #define CLAMPED_FLOAT_TO_UBYTE(UB, F) \ macro 170 #define CLAMPED_FLOAT_TO_UBYTE(ub, f) \ macro
|
H A D | pack.c | 4424 CLAMPED_FLOAT_TO_UBYTE(dst[rDst], rgba[i][RCOMP]); 4433 CLAMPED_FLOAT_TO_UBYTE(dst[gDst], rgba[i][GCOMP]); 4442 CLAMPED_FLOAT_TO_UBYTE(dst[bDst], rgba[i][BCOMP]); 4451 CLAMPED_FLOAT_TO_UBYTE(dst[aDst], rgba[i][ACOMP]); 4463 CLAMPED_FLOAT_TO_UBYTE(dst[i], rgba[i][RCOMP]); 4473 CLAMPED_FLOAT_TO_UBYTE(dst[0], rgba[i][RCOMP]);
|
H A D | format_pack.c | 1138 CLAMPED_FLOAT_TO_UBYTE(a, src[ACOMP]);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/ |
H A D | meta.c | 2736 CLAMPED_FLOAT_TO_UBYTE(fg, ctx->Current.RasterColor[ACOMP]);
|