Home
last modified time | relevance | path

Searched refs:AlphaRef (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_alpha.c115 CLAMPED_FLOAT_TO_UBYTE(ref, ctx->Color.AlphaRef); in _swrast_alpha_test()
121 CLAMPED_FLOAT_TO_USHORT(ref, ctx->Color.AlphaRef); in _swrast_alpha_test()
126 const GLfloat ref = ctx->Color.AlphaRef; in _swrast_alpha_test()
137 CLAMPED_FLOAT_TO_UBYTE(ref, ctx->Color.AlphaRef); in _swrast_alpha_test()
144 CLAMPED_FLOAT_TO_USHORT(ref, ctx->Color.AlphaRef); in _swrast_alpha_test()
150 const GLfloat ref = ctx->Color.AlphaRef; in _swrast_alpha_test()
/external/mesa3d/src/mesa/main/
Dblend.c695 ctx->Color.AlphaRef = CLAMP(ref, 0.0F, 1.0F); in _mesa_AlphaFunc()
698 ctx->Driver.AlphaFunc(ctx, func, ctx->Color.AlphaRef); in _mesa_AlphaFunc()
1011 ctx->Color.AlphaRef = 0; in _mesa_init_color()
Dmtypes.h425 GLclampf AlphaRef; /**< Alpha reference value */ member
Dget.c983 v->value_float = ctx->Color.AlphaRef; in find_custom_value()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_raster.c162 FLOAT_TO_UBYTE(ctx->Color.AlphaRef); in nv04_emit_control()
Dnv10_state_raster.c47 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.AlphaRef)); in nv10_emit_alpha_func()
/external/mesa3d/docs/relnotes/
D4.1285 - Changed ctx->Driver.AlphaRef() to take GLfloat instead of GLchan.
286 - ctx->Color.AlphaRef is now GLfloat.
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_cc.c267 UNCLAMPED_FLOAT_TO_UBYTE(cc->cc1.alpha_ref_fi.ui, ctx->Color.AlphaRef); in gen6_upload_color_calc_state()
Dbrw_cc.c214 UNCLAMPED_FLOAT_TO_UBYTE(cc->cc7.alpha_ref.ub[0], ctx->Color.AlphaRef); in upload_cc_unit()
Dbrw_wm.c567 key->alpha_test_ref = ctx->Color.AlphaRef; in brw_wm_populate_key()
/external/mesa3d/src/mesa/drivers/common/
Ddriverfuncs.c215 ctx->Driver.AlphaFunc(ctx, ctx->Color.AlphaFunc, ctx->Color.AlphaRef); in _mesa_init_driver_state()
Dmeta.h83 GLclampf AlphaRef; member
Dmeta.c471 save->AlphaRef = ctx->Color.AlphaRef; in _mesa_meta_begin()
839 _mesa_AlphaFunc(save->AlphaFunc, save->AlphaRef); in _mesa_meta_end()
2312 GLfloat ref = ctx->Color.AlphaRef; in alpha_test_raster_color()