evas: small 25% speed up of textgrid (we are still on average 10ms slower than urxvt).
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 20 Jun 2012 04:09:05 +0000 (04:09 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 20 Jun 2012 04:09:05 +0000 (04:09 +0000)
commitae01933829859a28ff0356fb030778e1d0913bbd
treea50269b97bd4e6b3068d576f878fb315f76e2196
parent68afbd8c93b4b473219456becad1f02312c65b3e
evas: small 25% speed up of textgrid (we are still on average 10ms slower than urxvt).

This patch reuse the same Evas_Text_Props across the textgrid (Later we could do that
across the canvas itself, but no test case yet, so not yet). It delay the real destruction
of Evas_Text_Props after the rendering cycle, so they will really die only if they are
not used during the latest frame. We could delay it a little bit more, but that does
the job at the moment.

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