Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(726)

Issue 6820104: Convert clipPaths to clipRects where possible in pictureRecord (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by robertphillips
Modified:
11 years, 10 months ago
Reviewers:
Leon, reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

For raster (old/left is pre-conversion) planet.mozilla.skp tile_256x256 c 1127.11 822.91 +304.20 +27.0% pokemon-table.skp tile_256x256 c 508.56 370.50 +138.06 +27.1% For GPU planet.mozilla.skp tile_256x256_gpu c 1201.21 900.91 +300.30 +25.0% pokemon-table.skp tile_256x256_gpu c 774.54 573.30 +201.24 +26.0% It appears to be a wash for the rest of the SkPictures. I do not know the impact on the record time but believe it to be minimal. Here are the conversion stats for the four SkPictures with the most clip paths: pokemon-table.skp 934 Clip Paths converted to Clip Rect (out of 936) planet.mozilla.skp 307 Clip Paths converted to Clip Rect (out of 307) youtube.skp 0 Clip Paths converted to Clip Rect (out of 355) worldjournal.skp 5 Clip Paths converted to Clip Rect (out of 221)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M src/core/SkPictureRecord.cpp View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 4
robertphillips
11 years, 10 months ago (2012-11-06 21:26:59 UTC) #1
Leon
On 2012/11/06 21:26:59, robertphillips wrote: FWIW, you can run "bench_pictures --mode record" to measure the ...
11 years, 10 months ago (2012-11-06 21:30:41 UTC) #2
robertphillips
So it appears to be a wash or slightly better w.r.t. record time. The only ...
11 years, 10 months ago (2012-11-06 21:56:31 UTC) #3
robertphillips
11 years, 10 months ago (2012-11-07 13:01:45 UTC) #4
committed as r6325
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b