summaryrefslogtreecommitdiffstats
path: root/src/glx/indirect_init.c
diff options
context:
space:
mode:
authorMaxim Levitsky <[email protected]>2011-05-19 12:50:28 +0200
committerChristoph Bumiller <[email protected]>2011-05-19 12:50:28 +0200
commit116133af3499947500a6d0c877fbc8f564ee4c76 (patch)
tree2370ce4f522c990b15e89931cc0569313bbfef68 /src/glx/indirect_init.c
parentbfaa458445978b5210e6866256d19448db2c6dd0 (diff)
nv50: add support for user clip planes
Clip distance is calculated each time vertex position is written which is suboptiomal is some cases but very safe. User clip planes are an obsolete feature anyway. Every time number of clip planes increases, the vertex program is recompiled. That ensures no overhead in normal case (no user clip planes) and reasonable overhead otherwise. Fixes 3D windows in compiz, and reflection effect in neverball. Also fixes compiz expo plugin when windows were dragged and each window shown 3 times.
Diffstat (limited to 'src/glx/indirect_init.c')
0 files changed, 0 insertions, 0 deletions