test-clip: Replace the ellipse with a rotated rectangle
authorNeil Roberts <neil@linux.intel.com>
Mon, 24 Jan 2011 17:17:16 +0000 (17:17 +0000)
committerNeil Roberts <neil@linux.intel.com>
Mon, 24 Jan 2011 17:40:07 +0000 (17:40 +0000)
commit6102f802449d22d543621532b543d6879fdb1925
tree60951bc6f00a16f5d7f3d83d012f2d3a4eca7973
parent5137d0a23f19ce461f178596b687479bd62d8522
test-clip: Replace the ellipse with a rotated rectangle

With test-clip it's possible to draw three different shapes depending
on what mouse button is used: a rectangle, an ellipse or a path
containing multiple shapes. However the ellipse is also a path so it
doesn't really test anything extra from the third option. This
replaces the ellipse with a rectangle that is first rotated by the
modelview matrix. The rotated matrix won't be able to use the scissor
so it can be used to test stencil and clip plane clipping.
tests/interactive/test-clip.c