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

Issue 380323002: Switch to one-at-a-time SkPicture::clone interface (Closed)

Created:
6 years, 5 months ago by robertphillips
Modified:
6 years, 5 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Project:
chromium
Visibility:
Public.

Description

Switch to one-at-a-time SkPicture::clone interface This updates Chromium to use the one-at-a-time SkPicture clone interface since Skia is moving towards removing SkPicture's default and copy constructors. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282668

Patch Set 1 #

Total comments: 2

Patch Set 2 : Switch to using single clone entry point #

Total comments: 2

Patch Set 3 : Remove make_scoped_refptr #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -6 lines) Patch
M cc/resources/picture.cc View 1 2 1 chunk +3 lines, -6 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
robertphillips
6 years, 5 months ago (2014-07-10 19:05:25 UTC) #1
mtklein
LGTM
6 years, 5 months ago (2014-07-10 19:22:39 UTC) #2
danakj
https://codereview.chromium.org/380323002/diff/1/cc/resources/picture.cc File cc/resources/picture.cc (right): https://codereview.chromium.org/380323002/diff/1/cc/resources/picture.cc#newcode234 cc/resources/picture.cc:234: scoped_ptr<SkPicture* []> clones(new SkPicture* [num_threads - 1]); This is ...
6 years, 5 months ago (2014-07-10 19:57:05 UTC) #3
mtklein
https://codereview.chromium.org/380323002/diff/1/cc/resources/picture.cc File cc/resources/picture.cc (right): https://codereview.chromium.org/380323002/diff/1/cc/resources/picture.cc#newcode234 cc/resources/picture.cc:234: scoped_ptr<SkPicture* []> clones(new SkPicture* [num_threads - 1]); Why don't ...
6 years, 5 months ago (2014-07-10 20:09:51 UTC) #4
robertphillips
PTAL I have revised the CL to use the other clone method (as Mike suggested).
6 years, 5 months ago (2014-07-11 12:45:58 UTC) #5
mtklein
On 2014/07/11 12:45:58, robertphillips wrote: > PTAL I have revised the CL to use the ...
6 years, 5 months ago (2014-07-11 13:02:56 UTC) #6
danakj
I assume doing one clone at a time is not somehow worse for performance than ...
6 years, 5 months ago (2014-07-11 15:30:40 UTC) #7
mtklein
On 2014/07/11 15:30:40, danakj wrote: > I assume doing one clone at a time is ...
6 years, 5 months ago (2014-07-11 15:45:10 UTC) #8
danakj
On 2014/07/11 15:45:10, mtklein wrote: > On 2014/07/11 15:30:40, danakj wrote: > > I assume ...
6 years, 5 months ago (2014-07-11 15:46:20 UTC) #9
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 5 months ago (2014-07-11 15:46:22 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertphillips@google.com/380323002/40001
6 years, 5 months ago (2014-07-11 15:47:58 UTC) #11
robertphillips
On 2014/07/11 15:30:40, danakj wrote: > I assume doing one clone at a time is ...
6 years, 5 months ago (2014-07-11 15:59:18 UTC) #12
robertphillips
https://codereview.chromium.org/380323002/diff/20001/cc/resources/picture.cc File cc/resources/picture.cc (right): https://codereview.chromium.org/380323002/diff/20001/cc/resources/picture.cc#newcode236 cc/resources/picture.cc:236: make_scoped_refptr(new Picture(skia::AdoptRef(picture_->clone()), On 2014/07/11 15:30:40, danakj wrote: > nit: ...
6 years, 5 months ago (2014-07-11 15:59:43 UTC) #13
commit-bot: I haz the power
6 years, 5 months ago (2014-07-11 19:44:34 UTC) #14
Message was sent while issue was closed.
Change committed as 282668

Powered by Google App Engine
This is Rietveld 408576698