Emmanuele Bassi a3e8e0025a effect: Rework the OffscreenEffect painting
The OffscreenEffect should set up the off screen draw buffer so that it
has the same projection and modelview as if it where on screen; we
achieve that by setting up the viewport to be the same size of the stage
but with an initial offset given by the left-most vertex of the actor.

When we paint the texture attached to the FBO we then set up the
modelview matrix of the on screen draw buffer so that it's the same as
the stage one: this way, the texture will be painted in screen
coordinates and it will occupy the same area as the actor would have
had.
2010-06-03 14:10:55 +01:00
..
2010-06-03 11:41:03 +01:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2009-01-20 18:47:50 +00:00
2010-04-22 16:39:18 +01:00
2010-06-03 14:10:55 +01:00
2010-06-03 14:10:55 +01:00
2010-03-03 10:47:42 +00:00
2010-03-02 11:12:32 +00:00
2010-05-25 11:13:03 +01:00
2010-03-02 11:12:32 +00:00
2009-10-14 11:31:26 +01:00
2009-07-10 11:38:42 +01:00
2010-03-02 11:12:32 +00:00
2010-02-03 14:38:13 +00:00
2010-02-01 10:40:34 +00:00
2010-03-02 11:12:32 +00:00
2010-06-03 14:10:55 +01:00
2010-06-03 14:10:55 +01:00