Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Issue 17800002: Speed up SVG sprites by only painting the source rect in SVGImage::draw (Closed)

Created:
7 years, 6 months ago by pdr.
Modified:
7 years, 6 months ago
Reviewers:
Stephen Chennney
CC:
blink-reviews, pdr, f(malita), Stephen Chennney, eae+blinkwatch
Visibility:
Public.

Description

Speed up SVG sprites by only painting the source rect in SVGImage::draw Previously we painted an entire SVG sprite image, even if only a small region was needed. This patch fixes this mistake by only painting the minimum required area. This patch takes a high-profile SVG scroll demo by adrianosmond from around ~10fps to 30+fps. A minimized example of this bug is at: philbit.com/sprites2.html (improved from less than 1fps to 30+fps) BUG=253091 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153069

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M Source/core/svg/graphics/SVGImage.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
pdr.
7 years, 6 months ago (2013-06-26 05:22:29 UTC) #1
Stephen Chennney
lgtm
7 years, 6 months ago (2013-06-26 12:40:15 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pdr@chromium.org/17800002/1
7 years, 6 months ago (2013-06-26 12:40:25 UTC) #3
commit-bot: I haz the power
7 years, 6 months ago (2013-06-26 14:02:22 UTC) #4
Message was sent while issue was closed.
Change committed as 153069

Powered by Google App Engine
This is Rietveld 408576698