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

Issue 15967010: Add skiaBenchmarking.getOps() (Closed)

Created:
7 years, 6 months ago by f(malita)
Modified:
7 years, 6 months ago
Reviewers:
pdr., nduca, Stephen White, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org, reed1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add skiaBenchmarking.getOps() Given a JSON-encoded Picture, the new function returns an array of Skia draw commands + info. Depends on https://codereview.chromium.org/16638014/. Re-landing after Skia SkDebugCanvas static initializer fix (https://code.google.com/p/skia/source/detail?r=9723). R=nduca@chromium.org, piman@chromium.org, senorblanco@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207676 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208695

Patch Set 1 #

Total comments: 10

Patch Set 2 : Removed compile time flag, added unittest. #

Patch Set 3 : Leave Picture::Raster() alone for now. #

Patch Set 4 : Remove stale comment & empty clip after picture.cc revert. #

Patch Set 5 : Refactored unit test. #

Patch Set 6 : Zap unneeded skia_benchmarking_extension.h include. #

Patch Set 7 : Speculative "Win" bot compilation fix. #

Total comments: 7

Patch Set 8 : Helper test function instead of macro. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -16 lines) Patch
M content/content_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/skia_benchmarking_extension.cc View 1 2 3 4 5 6 7 6 chunks +69 lines, -16 lines 0 comments Download
A content/renderer/skia_benchmarking_extension_unittest.cc View 1 2 3 4 5 6 7 1 chunk +105 lines, -0 lines 0 comments Download
M skia/skia.gyp View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
f(malita)
7 years, 6 months ago (2013-06-11 22:38:33 UTC) #1
nduca
https://codereview.chromium.org/15967010/diff/1/content/renderer/skia_benchmarking_extension.cc File content/renderer/skia_benchmarking_extension.cc (right): https://codereview.chromium.org/15967010/diff/1/content/renderer/skia_benchmarking_extension.cc#newcode65 content/renderer/skia_benchmarking_extension.cc:65: " @returns [{ 'cmd': {String}, 'info': [String, ...] }, ...
7 years, 6 months ago (2013-06-11 23:52:13 UTC) #2
f(malita)
https://codereview.chromium.org/15967010/diff/1/content/renderer/skia_benchmarking_extension.cc File content/renderer/skia_benchmarking_extension.cc (right): https://codereview.chromium.org/15967010/diff/1/content/renderer/skia_benchmarking_extension.cc#newcode65 content/renderer/skia_benchmarking_extension.cc:65: " @returns [{ 'cmd': {String}, 'info': [String, ...] }, ...
7 years, 6 months ago (2013-06-12 13:32:37 UTC) #3
nduca
We need about:tracing features to be always-on, so any compile time option is basically a ...
7 years, 6 months ago (2013-06-12 19:19:09 UTC) #4
f(malita)
On 2013/06/12 19:19:09, nduca wrote: > We need about:tracing features to be always-on, so any ...
7 years, 6 months ago (2013-06-13 15:33:52 UTC) #5
nduca
I think you can unit test a layer lower -- e.g. you dont have to ...
7 years, 6 months ago (2013-06-13 21:32:21 UTC) #6
f(malita)
On 2013/06/13 21:32:21, nduca wrote: > I think you can unit test a layer lower ...
7 years, 6 months ago (2013-06-14 14:30:26 UTC) #7
f(malita)
Tried too early - the bots haven't picked up the Skia roll yet.
7 years, 6 months ago (2013-06-14 15:58:04 UTC) #8
nduca
lgtm this is awesome
7 years, 6 months ago (2013-06-14 18:24:09 UTC) #9
f(malita)
On 2013/06/14 18:24:09, nduca wrote: > lgtm this is awesome Thanks. Any idea what the ...
7 years, 6 months ago (2013-06-14 20:06:49 UTC) #10
f(malita)
On 2013/06/14 20:06:49, Florin Malita wrote: > > Any idea what the "Win" builder is ...
7 years, 6 months ago (2013-06-14 21:31:54 UTC) #11
nduca
I'm terrible at these things. jamesr tends to be very smart about this if you ...
7 years, 6 months ago (2013-06-14 23:05:37 UTC) #12
f(malita)
The Skia Mac naming fix is in (https://codereview.chromium.org/17101005/) so we should be able to land ...
7 years, 6 months ago (2013-06-19 13:43:01 UTC) #13
f(malita)
On 2013/06/19 13:43:01, Florin Malita wrote: > Unfortunately, there seems to be a problem preventing ...
7 years, 6 months ago (2013-06-20 17:17:45 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fmalita@chromium.org/15967010/31001
7 years, 6 months ago (2013-06-20 18:17:24 UTC) #15
f(malita)
On 2013/06/20 18:17:24, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
7 years, 6 months ago (2013-06-20 18:23:42 UTC) #16
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=10955
7 years, 6 months ago (2013-06-20 18:25:25 UTC) #17
piman
LGTM overall, 1 question, 1 nit. https://codereview.chromium.org/15967010/diff/31001/content/renderer/skia_benchmarking_extension.cc File content/renderer/skia_benchmarking_extension.cc (right): https://codereview.chromium.org/15967010/diff/31001/content/renderer/skia_benchmarking_extension.cc#newcode163 content/renderer/skia_benchmarking_extension.cc:163: scoped_refptr<cc::Picture> picture = ...
7 years, 6 months ago (2013-06-20 18:30:51 UTC) #18
f(malita)
https://codereview.chromium.org/15967010/diff/31001/content/renderer/skia_benchmarking_extension.cc File content/renderer/skia_benchmarking_extension.cc (right): https://codereview.chromium.org/15967010/diff/31001/content/renderer/skia_benchmarking_extension.cc#newcode163 content/renderer/skia_benchmarking_extension.cc:163: scoped_refptr<cc::Picture> picture = ParsePictureArg(args[0]); On 2013/06/20 18:30:52, piman wrote: ...
7 years, 6 months ago (2013-06-20 18:48:14 UTC) #19
Stephen White
LGTM https://codereview.chromium.org/15967010/diff/31001/skia/skia.gyp File skia/skia.gyp (right): https://codereview.chromium.org/15967010/diff/31001/skia/skia.gyp#newcode137 skia/skia.gyp:137: '../third_party/skia/src/utils/debugger/SkObjectParser.h', Note for posterity: we should probably create ...
7 years, 6 months ago (2013-06-20 19:06:02 UTC) #20
piman
https://codereview.chromium.org/15967010/diff/31001/content/renderer/skia_benchmarking_extension_unittest.cc File content/renderer/skia_benchmarking_extension_unittest.cc (right): https://codereview.chromium.org/15967010/diff/31001/content/renderer/skia_benchmarking_extension_unittest.cc#newcode26 content/renderer/skia_benchmarking_extension_unittest.cc:26: } while (0) On 2013/06/20 18:48:15, Florin Malita wrote: ...
7 years, 6 months ago (2013-06-20 19:35:03 UTC) #21
nduca
jumps on the lgtmtrain
7 years, 6 months ago (2013-06-20 19:37:14 UTC) #22
f(malita)
https://codereview.chromium.org/15967010/diff/31001/content/renderer/skia_benchmarking_extension_unittest.cc File content/renderer/skia_benchmarking_extension_unittest.cc (right): https://codereview.chromium.org/15967010/diff/31001/content/renderer/skia_benchmarking_extension_unittest.cc#newcode26 content/renderer/skia_benchmarking_extension_unittest.cc:26: } while (0) On 2013/06/20 19:35:03, piman wrote: > ...
7 years, 6 months ago (2013-06-20 20:05:19 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fmalita@chromium.org/15967010/50003
7 years, 6 months ago (2013-06-20 20:15:02 UTC) #24
f(malita)
Committed patchset #8 manually as r207676 (presubmit successful).
7 years, 6 months ago (2013-06-21 02:58:54 UTC) #25
f(malita)
On 2013/06/21 02:58:54, Florin Malita wrote: > Committed patchset #8 manually as r207676 (presubmit successful). ...
7 years, 6 months ago (2013-06-21 16:41:17 UTC) #26
nduca
now you have to get that up on g+ as a memegen
7 years, 6 months ago (2013-06-21 23:52:04 UTC) #27
f(malita)
Skia-side fix is in: https://code.google.com/p/skia/source/detail?r=9723 Waiting for the roll to re-land this...
7 years, 6 months ago (2013-06-22 16:09:18 UTC) #28
f(malita)
On 2013/06/22 16:09:18, Florin Malita wrote: > Skia-side fix is in: https://code.google.com/p/skia/source/detail?r=9723 > > Waiting ...
7 years, 6 months ago (2013-06-26 13:59:58 UTC) #29
f(malita)
7 years, 6 months ago (2013-06-26 14:15:10 UTC) #30
Message was sent while issue was closed.
Committed patchset #8 manually as r208695 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698