blur-effect: Add padding to account for the blur
authorEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 19 Aug 2010 13:06:52 +0000 (14:06 +0100)
committerRobert Bragg <robert@linux.intel.com>
Wed, 29 Sep 2010 14:12:57 +0000 (15:12 +0100)
commita6e5ecebe3c7e593257a5c3d4dc052561d4147f9
tree5fdfe23abb14a36c455feb20abf44f17d72807cc
parent5d97ca5f87a621b33129a675b5a4342c2b7a1dc7
blur-effect: Add padding to account for the blur

The blur effect will sample pixels on the edges of the offscreen buffer,
so we want to add a padding to avoid clamping the blur.

We do this by creating a larger target texture, and updating the paint
volume of the actor during paint to take that padding into account.
clutter/clutter-blur-effect.c