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

Issue 942533002: Refactor BenchmarkingCanvas to avoid internal Skia dependencies (Closed)

Created:
5 years, 10 months ago by f(malita)
Modified:
5 years, 10 months ago
CC:
cc-bugs_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, extensions-reviews_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor BenchmarkingCanvas to avoid internal Skia dependencies Re-implement BenchmarkingCanvas functionality based on public Skia APIs only. Convert Skia types to base::Value() structured data hierarchies (which are then pass through to the viewer). BUG=457691 R=reed@google.com,robertphillips@google.com,nduca@chromium.org,pdr@chromium.org Committed: https://crrev.com/f5190e0b6f8f56c5f715928b4c68d39564cb1988 Cr-Commit-Position: refs/heads/master@{#318236}

Patch Set 1 #

Patch Set 2 : rebased #

Patch Set 3 : speculative Win warnings fix #

Total comments: 8

Patch Set 4 : review comments #

Patch Set 5 : balance color filter ref #

Total comments: 6

Patch Set 6 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+855 lines, -309 lines) Patch
M cc/resources/picture.h View 2 chunks +2 lines, -3 lines 0 comments Download
M cc/resources/picture.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/skia_benchmarking_extension.cc View 1 2 3 4 5 5 chunks +33 lines, -45 lines 0 comments Download
M content/renderer/skia_benchmarking_extension_unittest.cc View 1 2 chunks +65 lines, -57 lines 0 comments Download
M skia/ext/benchmarking_canvas.h View 1 2 3 4 5 1 chunk +64 lines, -23 lines 0 comments Download
M skia/ext/benchmarking_canvas.cc View 1 2 3 4 5 1 chunk +688 lines, -178 lines 0 comments Download

Messages

Total messages: 23 (6 generated)
f(malita)
I couldn't quite get myself to rip out the trace-viewer paint debugger, so instead I ...
5 years, 10 months ago (2015-02-19 18:23:01 UTC) #1
pdr.
Is there a performance difference with this approach vs the original? https://codereview.chromium.org/942533002/diff/20002/content/renderer/skia_benchmarking_extension.cc File content/renderer/skia_benchmarking_extension.cc (right): ...
5 years, 10 months ago (2015-02-20 04:48:00 UTC) #2
f(malita)
On 2015/02/20 04:48:00, pdr wrote: > Is there a performance difference with this approach vs ...
5 years, 10 months ago (2015-02-20 13:57:00 UTC) #3
f(malita)
On 2015/02/20 13:57:00, f(malita) wrote: > On 2015/02/20 04:48:00, pdr wrote: > > Is there ...
5 years, 10 months ago (2015-02-20 14:03:33 UTC) #4
pdr.
LGTM from the peanut gallery that doesn't know much about skia/ or cc/. Robert or ...
5 years, 10 months ago (2015-02-20 18:17:53 UTC) #5
f(malita)
Ping for Skia review.
5 years, 10 months ago (2015-02-23 19:53:18 UTC) #6
robertphillips
https://codereview.chromium.org/942533002/diff/20002/skia/ext/benchmarking_canvas.cc File skia/ext/benchmarking_canvas.cc (right): https://codereview.chromium.org/942533002/diff/20002/skia/ext/benchmarking_canvas.cc#newcode180 skia/ext/benchmarking_canvas.cc:180: ImageFilters? ColorFilters? https://codereview.chromium.org/942533002/diff/20002/skia/ext/benchmarking_canvas.cc#newcode254 skia/ext/benchmarking_canvas.cc:254: val->Set("bounds", AsValue(path.getBounds())); Dump out convexity, ...
5 years, 10 months ago (2015-02-23 20:30:21 UTC) #7
reed1
lgtm
5 years, 10 months ago (2015-02-23 20:42:45 UTC) #8
f(malita)
https://codereview.chromium.org/942533002/diff/20002/skia/ext/benchmarking_canvas.cc File skia/ext/benchmarking_canvas.cc (right): https://codereview.chromium.org/942533002/diff/20002/skia/ext/benchmarking_canvas.cc#newcode180 skia/ext/benchmarking_canvas.cc:180: On 2015/02/23 20:30:21, robertphillips wrote: > ImageFilters? > ColorFilters? ...
5 years, 10 months ago (2015-02-24 17:45:00 UTC) #9
f(malita)
+piman for the skia_benchmarking_extension.cc cleanup bits. Nat, can you also take a quick look at ...
5 years, 10 months ago (2015-02-24 18:19:54 UTC) #11
piman
LGTM for content/ but some style nits. https://codereview.chromium.org/942533002/diff/60001/content/renderer/skia_benchmarking_extension.cc File content/renderer/skia_benchmarking_extension.cc (right): https://codereview.chromium.org/942533002/diff/60001/content/renderer/skia_benchmarking_extension.cc#newcode65 content/renderer/skia_benchmarking_extension.cc:65: , playback_count_(count) ...
5 years, 10 months ago (2015-02-24 21:55:09 UTC) #12
f(malita)
https://codereview.chromium.org/942533002/diff/60001/content/renderer/skia_benchmarking_extension.cc File content/renderer/skia_benchmarking_extension.cc (right): https://codereview.chromium.org/942533002/diff/60001/content/renderer/skia_benchmarking_extension.cc#newcode65 content/renderer/skia_benchmarking_extension.cc:65: , playback_count_(count) { On 2015/02/24 21:55:09, piman (Very slow ...
5 years, 10 months ago (2015-02-24 22:29:20 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/942533002/80001
5 years, 10 months ago (2015-02-25 22:46:53 UTC) #16
commit-bot: I haz the power
Failed to commit the patch.
5 years, 10 months ago (2015-02-26 02:36:21 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/942533002/80001
5 years, 10 months ago (2015-02-26 15:39:32 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:80001)
5 years, 10 months ago (2015-02-26 15:49:03 UTC) #22
commit-bot: I haz the power
5 years, 10 months ago (2015-02-26 15:49:54 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f5190e0b6f8f56c5f715928b4c68d39564cb1988
Cr-Commit-Position: refs/heads/master@{#318236}

Powered by Google App Engine
This is Rietveld 408576698