commit | 86628936822ec75b2897f60619bf594e85476741 | [log] [tgz] |
---|---|---|
author | fs@opera.com <fs@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Wed Feb 05 18:15:42 2014 |
committer | fs@opera.com <fs@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Wed Feb 05 18:15:42 2014 |
tree | 22f96977cbe73bdf0f5d11a215cf1ff092bf571c | |
parent | bda870bb7c8aabe7f2499e5ce4262222b8a73cb1 [diff] |
Coalesce writes in SVGPathByteStreamBuilder Add a helper class CoalescingBuffer, that collects the data for a segment into a local (stack) buffer, and then writes the entire stack buffer in one go to the SVGPathByteStream. This reduces codesize (on GCC 4.8) by roughly 50% (closePath being the only method that grows). Review URL: https://codereview.chromium.org/149913004 git-svn-id: svn://svn.chromium.org/blink/trunk@166523 bbb929c8-8fbe-4397-9dbb-9b2b20218538