* 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)
commit1c4505b85198b65ae1116d79623b86b6d17b9c39
treee05e6336549ecb1b2bcf720a4ac428ecff09b534
parentb57fb7981530c45d2f239a476225934dfc995cd6
* 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: http://svn.enlightenment.org/svn/e/trunk/evas@41770 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/canvas/evas_render.c