Searched refs:ClipPlanesEnabled (Results 1 - 25 of 25) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dgen6_clip_state.c67 userclip = ctx->Transform.ClipPlanesEnabled;
H A Dgen6_vs_state.c57 if (brw->vs.prog_data->nr_params == 0 && !ctx->Transform.ClipPlanesEnabled) {
79 if (ctx->Transform.ClipPlanesEnabled != 0 && !uses_clip_distance) {
82 = _mesa_logbase2(ctx->Transform.ClipPlanesEnabled) + 1;
H A Dgen7_clip_state.c94 userclip = ctx->Transform.ClipPlanesEnabled;
H A Dbrw_curbe.c68 if (ctx->Transform.ClipPlanesEnabled) {
69 GLuint nr_planes = 6 + _mesa_bitcount_64(ctx->Transform.ClipPlanesEnabled);
239 if (ctx->Transform.ClipPlanesEnabled & (1<<j)) {
H A Dbrw_vs.c389 key.userclip_active = (ctx->Transform.ClipPlanesEnabled != 0);
394 = _mesa_bitcount_64(ctx->Transform.ClipPlanesEnabled);
396 = ctx->Transform.ClipPlanesEnabled;
399 = _mesa_logbase2(ctx->Transform.ClipPlanesEnabled) + 1;
H A Dbrw_vs_state.c92 if (ctx->Transform.ClipPlanesEnabled && !brw->vs.prog_data->uses_new_param_layout) {
H A Dbrw_sf.c172 key.userclip_active = (ctx->Transform.ClipPlanesEnabled != 0);
H A Dbrw_clip.c154 key.nr_userclip = _mesa_bitcount_64(ctx->Transform.ClipPlanesEnabled);
/external/mesa3d/src/mesa/main/
H A Dclip.c90 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) {
H A Dmatrix.c579 if (ctx->Transform.ClipPlanesEnabled) {
582 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) {
781 ctx->Transform.ClipPlanesEnabled = 0;
H A Denable.c316 if ((ctx->Transform.ClipPlanesEnabled & (1 << p))
323 ctx->Transform.ClipPlanesEnabled |= (1 << p);
327 ctx->Transform.ClipPlanesEnabled &= ~(1 << p);
1255 return (ctx->Transform.ClipPlanesEnabled >> p) & 1;
H A Dget.c566 { GL_CLIP_DISTANCE0, CONTEXT_BIT0(Transform.ClipPlanesEnabled), extra_valid_clip_distance },
567 { GL_CLIP_DISTANCE1, CONTEXT_BIT1(Transform.ClipPlanesEnabled), extra_valid_clip_distance },
568 { GL_CLIP_DISTANCE2, CONTEXT_BIT2(Transform.ClipPlanesEnabled), extra_valid_clip_distance },
569 { GL_CLIP_DISTANCE3, CONTEXT_BIT3(Transform.ClipPlanesEnabled), extra_valid_clip_distance },
570 { GL_CLIP_DISTANCE4, CONTEXT_BIT4(Transform.ClipPlanesEnabled), extra_valid_clip_distance },
571 { GL_CLIP_DISTANCE5, CONTEXT_BIT5(Transform.ClipPlanesEnabled), extra_valid_clip_distance },
572 { GL_CLIP_DISTANCE6, CONTEXT_BIT6(Transform.ClipPlanesEnabled), extra_valid_clip_distance },
573 { GL_CLIP_DISTANCE7, CONTEXT_BIT7(Transform.ClipPlanesEnabled), extra_valid_clip_distance },
H A Dattrib.c267 attr->ClipPlanes = ctx->Transform.ClipPlanesEnabled;
514 if ((ctx->Transform.ClipPlanesEnabled & mask) != (enable->ClipPlanes & mask))
1256 !!(xform->ClipPlanesEnabled & mask));
H A Dmtypes.h1480 GLbitfield ClipPlanesEnabled; /**< on/off bitmask */ member in struct:gl_transform_attrib
/external/mesa3d/src/mesa/tnl/
H A Dt_vb_vertex.c70 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { \
213 if (ctx->Transform.ClipPlanesEnabled) {
H A Dt_vb_cliptmp.h141 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) {
230 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) {
293 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) {
H A Dt_rasterpos.c92 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) {
401 if (ctx->Transform.ClipPlanesEnabled && !userclip_point(ctx, clip)) {
H A Dt_vb_program.c91 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) {
167 if (ctx->Transform.ClipPlanesEnabled && (!ctx->VertexProgram._Enabled ||
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_state_init.c228 TCL_CHECK( tcl_ucp0_add4, (ctx->Transform.ClipPlanesEnabled & 0x1), 4 )
229 TCL_CHECK( tcl_ucp1_add4, (ctx->Transform.ClipPlanesEnabled & 0x2), 4 )
230 TCL_CHECK( tcl_ucp2_add4, (ctx->Transform.ClipPlanesEnabled & 0x4), 4 )
231 TCL_CHECK( tcl_ucp3_add4, (ctx->Transform.ClipPlanesEnabled & 0x8), 4 )
232 TCL_CHECK( tcl_ucp4_add4, (ctx->Transform.ClipPlanesEnabled & 0x10), 4 )
233 TCL_CHECK( tcl_ucp5_add4, (ctx->Transform.ClipPlanesEnabled & 0x20), 4 )
H A Dradeon_state.c1136 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) {
2086 if (ctx->Transform.ClipPlanesEnabled)
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_rasterizer.c251 raster->clip_plane_enable = ctx->Transform.ClipPlanesEnabled;
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_vertprog.c1146 if (ctx->Transform.ClipPlanesEnabled) {
1149 rmesa->hw.tcl.cmd[TCL_UCP_VERT_BLEND_CTL] |= (ctx->Transform.ClipPlanesEnabled << 2);
H A Dr200_state.c1364 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) {
2019 if (ctx->Transform.ClipPlanesEnabled & (1 << i)) {
2314 if (ctx->Transform.ClipPlanesEnabled)
H A Dr200_state_init.c270 TCL_OR_VP_CHECK( tcl_ucp_add4, (ctx->Transform.ClipPlanesEnabled & (1 << (atom->idx))), 4 )
/external/mesa3d/src/mesa/drivers/common/
H A Dmeta.c152 GLbitfield ClipPlanesEnabled; member in struct:save_state
731 save->ClipPlanesEnabled = ctx->Transform.ClipPlanesEnabled;
732 if (ctx->Transform.ClipPlanesEnabled) {
1064 if (save->ClipPlanesEnabled) {
1067 if (save->ClipPlanesEnabled & (1 << i)) {

Completed in 322 milliseconds