[Bug 14499] Need ability to reset Canvas clipping region without resetting all other Canvas state

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14499

--- Comment #3 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-10-25 03:25:54 UTC ---
If they're all setting the same font, just restructure your code to not set the
font each time. Doing it like that is really inefficient, regardless of the
clipping region thing.

If they're all setting different fonts then you're screwed either way.

In any case, do you have any data showing that the performance problem is in
setting the font? I would have imagined that if you're drawing 7000 shapes each
with their own text, the drawing of the text would vastly outweigh any cost of
setting the font, making this a non-issue.

It's hard to tell exactly what the right solution is here without a better
understanding of the problem. Can you provide a link to the page that you think
demonstrates what is inefficient about the current API?

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 25 October 2011 03:26:08 UTC