clip-stack: combine modelview-projection in set_clip_planes
authorRobert Bragg <robert@linux.intel.com>
Mon, 22 Nov 2010 15:51:15 +0000 (15:51 +0000)
committerRobert Bragg <robert@linux.intel.com>
Tue, 23 Nov 2010 12:50:29 +0000 (12:50 +0000)
commitc68280556ee762c840bb8c73da16d505b6efe1ac
tree18c66db52ccc157c4dfb3eb5a6093a27ddfc307a
parent99f4832c28512e8b670b3681eeb228b4c8c08d14
clip-stack: combine modelview-projection in set_clip_planes

When using clip planes and we we have to project some vertices into
screen coordinates we used to transform those by the modelview and then
the projection matrix separately. Now we combine the modelview and
projection matrix and then use that to transform the vertices in one
step instead.
clutter/cogl/cogl/cogl-clip-stack.c