Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_vs_state.c57 if (brw->vs.prog_data->nr_params == 0 && !ctx->Transform.ClipPlanesEnabled) { in gen6_upload_vs_push_constants()
79 if (ctx->Transform.ClipPlanesEnabled != 0 && !uses_clip_distance) { in gen6_upload_vs_push_constants()
82 = _mesa_logbase2(ctx->Transform.ClipPlanesEnabled) + 1; in gen6_upload_vs_push_constants()
Dbrw_vs.c389 key.userclip_active = (ctx->Transform.ClipPlanesEnabled != 0); in brw_upload_vs_prog()
394 = _mesa_bitcount_64(ctx->Transform.ClipPlanesEnabled); in brw_upload_vs_prog()
396 = ctx->Transform.ClipPlanesEnabled; in brw_upload_vs_prog()
399 = _mesa_logbase2(ctx->Transform.ClipPlanesEnabled) + 1; in brw_upload_vs_prog()
Dbrw_curbe.c68 if (ctx->Transform.ClipPlanesEnabled) { in calculate_curbe_offsets()
69 GLuint nr_planes = 6 + _mesa_bitcount_64(ctx->Transform.ClipPlanesEnabled); in calculate_curbe_offsets()
239 if (ctx->Transform.ClipPlanesEnabled & (1<<j)) { in brw_upload_constant_buffer()
Dgen6_clip_state.c67 userclip = ctx->Transform.ClipPlanesEnabled; in upload_clip_state()
Dgen7_clip_state.c94 userclip = ctx->Transform.ClipPlanesEnabled; in upload_clip_state()
Dbrw_vs_state.c92 if (ctx->Transform.ClipPlanesEnabled && !brw->vs.prog_data->uses_new_param_layout) { in brw_upload_vs_unit()
Dbrw_sf.c172 key.userclip_active = (ctx->Transform.ClipPlanesEnabled != 0); in brw_upload_sf_prog()
Dbrw_clip.c154 key.nr_userclip = _mesa_bitcount_64(ctx->Transform.ClipPlanesEnabled); in brw_upload_clip_prog()
/external/mesa3d/src/mesa/tnl/
Dt_vb_cliptmp.h141 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { in TAG()
230 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { in TAG()
293 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { in TAG()
Dt_vb_vertex.c70 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { \
213 if (ctx->Transform.ClipPlanesEnabled) { in run_vertex_stage()
Dt_rasterpos.c92 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { in userclip_point()
401 if (ctx->Transform.ClipPlanesEnabled && !userclip_point(ctx, clip)) { in _tnl_RasterPos()
Dt_vb_program.c91 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { in userclip()
167 if (ctx->Transform.ClipPlanesEnabled && (!ctx->VertexProgram._Enabled || in do_ndc_cliptest()
/external/mesa3d/src/mesa/main/
Dmatrix.c579 if (ctx->Transform.ClipPlanesEnabled) { in update_projection()
582 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { in update_projection()
781 ctx->Transform.ClipPlanesEnabled = 0; in _mesa_init_transform()
Dclip.c90 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { in _mesa_ClipPlane()
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 },
Denable.c316 if ((ctx->Transform.ClipPlanesEnabled & (1 << p)) in _mesa_set_enable()
323 ctx->Transform.ClipPlanesEnabled |= (1 << p); in _mesa_set_enable()
327 ctx->Transform.ClipPlanesEnabled &= ~(1 << p); in _mesa_set_enable()
1255 return (ctx->Transform.ClipPlanesEnabled >> p) & 1; in _mesa_IsEnabled()
Dattrib.c267 attr->ClipPlanes = ctx->Transform.ClipPlanesEnabled; in _mesa_PushAttrib()
514 if ((ctx->Transform.ClipPlanesEnabled & mask) != (enable->ClipPlanes & mask)) in pop_enable_group()
1256 !!(xform->ClipPlanesEnabled & mask)); in _mesa_PopAttrib()
Dmtypes.h1480 GLbitfield ClipPlanesEnabled; /**< on/off bitmask */ member
/external/mesa3d/src/mesa/drivers/dri/radeon/
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 )
Dradeon_state.c1136 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { in radeonUpdateClipPlanes()
2086 if (ctx->Transform.ClipPlanesEnabled) in radeonValidateState()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_rasterizer.c251 raster->clip_plane_enable = ctx->Transform.ClipPlanesEnabled; in update_raster_state()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c152 GLbitfield ClipPlanesEnabled; member
731 save->ClipPlanesEnabled = ctx->Transform.ClipPlanesEnabled; in _mesa_meta_begin()
732 if (ctx->Transform.ClipPlanesEnabled) { in _mesa_meta_begin()
1064 if (save->ClipPlanesEnabled) { in _mesa_meta_end()
1067 if (save->ClipPlanesEnabled & (1 << i)) { in _mesa_meta_end()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_vertprog.c1146 if (ctx->Transform.ClipPlanesEnabled) { in r200SetupVertexProg()
1149 rmesa->hw.tcl.cmd[TCL_UCP_VERT_BLEND_CTL] |= (ctx->Transform.ClipPlanesEnabled << 2); in r200SetupVertexProg()
Dr200_state.c1364 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { in r200UpdateClipPlanes()
2019 if (ctx->Transform.ClipPlanesEnabled & (1 << i)) { in r200Enable()
2314 if (ctx->Transform.ClipPlanesEnabled) in r200ValidateState()
/external/mesa3d/docs/
DRELNOTES-4.1295 by GLuint ctx->Transform.ClipPlanesEnabled. The later is a bitfield.

12