diff options
author | Maxim Levitsky <[email protected]> | 2011-05-19 12:50:28 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-05-19 12:50:28 +0200 |
commit | 116133af3499947500a6d0c877fbc8f564ee4c76 (patch) | |
tree | 2370ce4f522c990b15e89931cc0569313bbfef68 /src/glx/indirect_init.c | |
parent | bfaa458445978b5210e6866256d19448db2c6dd0 (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