/external/mesa3d/src/mesa/tnl/ |
D | t_vertex_generic.c | 333 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]); in insert_4ub_4f_rgba_4() 334 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]); in insert_4ub_4f_rgba_4() 335 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[2]); in insert_4ub_4f_rgba_4() 336 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[3]); in insert_4ub_4f_rgba_4() 344 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]); in insert_4ub_4f_rgba_3() 345 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]); in insert_4ub_4f_rgba_3() 346 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[2]); in insert_4ub_4f_rgba_3() 355 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]); in insert_4ub_4f_rgba_2() 356 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]); in insert_4ub_4f_rgba_2() 366 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]); in insert_4ub_4f_rgba_1() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_maos_vbtmp.h | 196 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.red, col[0][0]); in TAG() 197 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.green, col[0][1]); in TAG() 198 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.blue, col[0][2]); in TAG() 199 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.alpha, col[0][3]); in TAG() 205 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.red, spec[0][0]); in TAG() 206 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.green, spec[0][1]); in TAG() 207 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.blue, spec[0][2]); in TAG() 211 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.alpha, radeonComputeFogBlendFactor(ctx, fog[0][0])); in TAG()
|
D | radeon_swtcl.c | 559 UNCLAMPED_FLOAT_TO_UBYTE(color->red, (c)[0]); \ 560 UNCLAMPED_FLOAT_TO_UBYTE(color->green, (c)[1]); \ 561 UNCLAMPED_FLOAT_TO_UBYTE(color->blue, (c)[2]); \ 562 UNCLAMPED_FLOAT_TO_UBYTE(color->alpha, (c)[3]); \ 571 UNCLAMPED_FLOAT_TO_UBYTE(spec->red, (c)[0]); \ 572 UNCLAMPED_FLOAT_TO_UBYTE(spec->green, (c)[1]); \ 573 UNCLAMPED_FLOAT_TO_UBYTE(spec->blue, (c)[2]); \
|
/external/mesa3d/src/mesa/main/ |
D | format_pack.c | 367 UNCLAMPED_FLOAT_TO_UBYTE(d[2], src[RCOMP]); in pack_float_RGB888() 368 UNCLAMPED_FLOAT_TO_UBYTE(d[1], src[GCOMP]); in pack_float_RGB888() 369 UNCLAMPED_FLOAT_TO_UBYTE(d[0], src[BCOMP]); in pack_float_RGB888() 416 UNCLAMPED_FLOAT_TO_UBYTE(d[2], src[BCOMP]); in pack_float_BGR888() 417 UNCLAMPED_FLOAT_TO_UBYTE(d[1], src[GCOMP]); in pack_float_BGR888() 418 UNCLAMPED_FLOAT_TO_UBYTE(d[0], src[RCOMP]); in pack_float_BGR888() 463 UNCLAMPED_FLOAT_TO_UBYTE(v[0], src[RCOMP]); in pack_float_RGB565() 464 UNCLAMPED_FLOAT_TO_UBYTE(v[1], src[GCOMP]); in pack_float_RGB565() 465 UNCLAMPED_FLOAT_TO_UBYTE(v[2], src[BCOMP]); in pack_float_RGB565() 508 UNCLAMPED_FLOAT_TO_UBYTE(r, src[RCOMP]); in pack_float_RGB565_REV() [all …]
|
D | colormac.h | 49 UNCLAMPED_FLOAT_TO_UBYTE(dst[i], src[i]); in _mesa_unclamped_float_rgba_to_ubyte()
|
D | debug.c | 586 UNCLAMPED_FLOAT_TO_UBYTE(buf[i], f[i]); in _mesa_dump_image() 597 UNCLAMPED_FLOAT_TO_UBYTE(buf[i], f[i]); in _mesa_dump_image()
|
D | macros.h | 148 #define UNCLAMPED_FLOAT_TO_UBYTE(UB, F) \ macro 168 #define UNCLAMPED_FLOAT_TO_UBYTE(ub, f) \ macro
|
D | format_unpack.c | 2086 UNCLAMPED_FLOAT_TO_UBYTE(dst[i][0], tmp[i*4+0]); in _mesa_unpack_ubyte_rgba_row() 2087 UNCLAMPED_FLOAT_TO_UBYTE(dst[i][1], tmp[i*4+1]); in _mesa_unpack_ubyte_rgba_row() 2088 UNCLAMPED_FLOAT_TO_UBYTE(dst[i][2], tmp[i*4+2]); in _mesa_unpack_ubyte_rgba_row() 2089 UNCLAMPED_FLOAT_TO_UBYTE(dst[i][3], tmp[i*4+3]); in _mesa_unpack_ubyte_rgba_row()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_pixel_bitmap.c | 220 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[0], tmpColor[0]); in do_blit_bitmap() 221 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[1], tmpColor[1]); in do_blit_bitmap() 222 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[2], tmpColor[2]); in do_blit_bitmap() 223 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[3], tmpColor[3]); in do_blit_bitmap()
|
D | i830_texblend.c | 82 UNCLAMPED_FLOAT_TO_UBYTE(r, factor[0]); in emit_factor() 83 UNCLAMPED_FLOAT_TO_UBYTE(g, factor[1]); in emit_factor() 84 UNCLAMPED_FLOAT_TO_UBYTE(b, factor[2]); in emit_factor() 85 UNCLAMPED_FLOAT_TO_UBYTE(a, factor[3]); in emit_factor()
|
D | intel_tris.c | 630 UNCLAMPED_FLOAT_TO_UBYTE((dst)[0], (src)[2]); \ 631 UNCLAMPED_FLOAT_TO_UBYTE((dst)[1], (src)[1]); \ 632 UNCLAMPED_FLOAT_TO_UBYTE((dst)[2], (src)[0]); \ 633 UNCLAMPED_FLOAT_TO_UBYTE((dst)[3], (src)[3]); \ 638 UNCLAMPED_FLOAT_TO_UBYTE((dst)[0], (src)[2]); \ 639 UNCLAMPED_FLOAT_TO_UBYTE((dst)[1], (src)[1]); \ 640 UNCLAMPED_FLOAT_TO_UBYTE((dst)[2], (src)[0]); \
|
D | i830_state.c | 210 UNCLAMPED_FLOAT_TO_UBYTE(refByte, ref); in i830AlphaFunc() 266 UNCLAMPED_FLOAT_TO_UBYTE(r, color[RCOMP]); in i830BlendColor() 267 UNCLAMPED_FLOAT_TO_UBYTE(g, color[GCOMP]); in i830BlendColor() 268 UNCLAMPED_FLOAT_TO_UBYTE(b, color[BCOMP]); in i830BlendColor() 269 UNCLAMPED_FLOAT_TO_UBYTE(a, color[ACOMP]); in i830BlendColor()
|
D | i915_state.c | 185 UNCLAMPED_FLOAT_TO_UBYTE(refByte, ref); in i915AlphaFunc() 244 UNCLAMPED_FLOAT_TO_UBYTE(r, color[RCOMP]); in i915BlendColor() 245 UNCLAMPED_FLOAT_TO_UBYTE(g, color[GCOMP]); in i915BlendColor() 246 UNCLAMPED_FLOAT_TO_UBYTE(b, color[BCOMP]); in i915BlendColor() 247 UNCLAMPED_FLOAT_TO_UBYTE(a, color[ACOMP]); in i915BlendColor()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_pixel_bitmap.c | 220 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[0], tmpColor[0]); in do_blit_bitmap() 221 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[1], tmpColor[1]); in do_blit_bitmap() 222 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[2], tmpColor[2]); in do_blit_bitmap() 223 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[3], tmpColor[3]); in do_blit_bitmap()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_pixel_bitmap.c | 220 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[0], tmpColor[0]); in do_blit_bitmap() 221 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[1], tmpColor[1]); in do_blit_bitmap() 222 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[2], tmpColor[2]); in do_blit_bitmap() 223 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[3], tmpColor[3]); in do_blit_bitmap()
|
D | brw_wm_sampler_state.c | 116 UNCLAMPED_FLOAT_TO_UBYTE(sdc->ub[0], color[0]); in upload_default_color() 117 UNCLAMPED_FLOAT_TO_UBYTE(sdc->ub[1], color[1]); in upload_default_color() 118 UNCLAMPED_FLOAT_TO_UBYTE(sdc->ub[2], color[2]); in upload_default_color() 119 UNCLAMPED_FLOAT_TO_UBYTE(sdc->ub[3], color[3]); in upload_default_color()
|
D | gen6_cc.c | 222 UNCLAMPED_FLOAT_TO_UBYTE(cc->cc1.alpha_ref_fi.ui, ctx->Color.AlphaRef); in gen6_upload_color_calc_state()
|
D | brw_cc.c | 196 UNCLAMPED_FLOAT_TO_UBYTE(cc->cc7.alpha_ref.ub[0], ctx->Color.AlphaRef); in upload_cc_unit()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_swtcl.c | 437 UNCLAMPED_FLOAT_TO_UBYTE(color->red, (c)[0]); \ 438 UNCLAMPED_FLOAT_TO_UBYTE(color->green, (c)[1]); \ 439 UNCLAMPED_FLOAT_TO_UBYTE(color->blue, (c)[2]); \ 440 UNCLAMPED_FLOAT_TO_UBYTE(color->alpha, (c)[3]); \ 449 UNCLAMPED_FLOAT_TO_UBYTE(spec->red, (c)[0]); \ 450 UNCLAMPED_FLOAT_TO_UBYTE(spec->green, (c)[1]); \ 451 UNCLAMPED_FLOAT_TO_UBYTE(spec->blue, (c)[2]); \
|
/external/mesa3d/src/mesa/swrast/ |
D | s_chan.h | 77 #define UNCLAMPED_FLOAT_TO_CHAN(c, f) UNCLAMPED_FLOAT_TO_UBYTE(c, f)
|
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
D | wmesa.c | 275 UNCLAMPED_FLOAT_TO_UBYTE(col[0], color.f[0]); in clear() 276 UNCLAMPED_FLOAT_TO_UBYTE(col[1], color.f[1]); in clear() 277 UNCLAMPED_FLOAT_TO_UBYTE(col[2], color.f[2]); in clear()
|
/external/mesa3d/src/mesa/math/ |
D | m_translate.c | 444 #define TRX_UB(ub,f,n) UNCLAMPED_FLOAT_TO_UBYTE(ub, PTR_ELT(f,n))
|
/external/mesa3d/docs/ |
D | VERSIONS | 1196 - fixed bug in UNCLAMPED_FLOAT_TO_UBYTE macro; solves a color
|