* evas: Fix two render bugs :
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 14 Aug 2009 17:17:01 +0000 (17:17 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 14 Aug 2009 17:17:01 +0000 (17:17 +0000)
commit32d27493d697d53aa14f999ef6999b34cd95d992
treee05e6336549ecb1b2bcf720a4ac428ecff09b534
parent5a70540e6f8774efda2bb4c1325f63c432884173
* evas: Fix two render bugs :
- Forgot to reset clip before drawing cleanup rect.
- Always draw a rect to reset the background, just
choose a correct color.

Note: This will slow down software_x11 engine, as this engine
always do memset, so it does it twice. Before only the alpha
case was impacted, now both case are. Need time to fix it. If
someone has, don't hesitate :-) You can use elementary windows
state test, to see if thing is going correctly or not.

For the record, SDL engine has a score around 500 under X11 on
my computer, where the X11 engine does only have a score around
450.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@41770 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/canvas/evas_render.c