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

Issue 520793002: Use SkSurface and SkImage instead of SkGpuDevice and SkBitmap in cc. (Closed)

Created:
6 years, 3 months ago by bsalomon
Modified:
6 years, 3 months ago
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Use SkSurface and SkImage instead of SkGpuDevice and SkBitmap in cc. Committed: https://crrev.com/55ebb77d934328f027c2dc5c5cd2f7739eb3cd50 Cr-Commit-Position: refs/heads/master@{#293553}

Patch Set 1 #

Patch Set 2 : Remove #include in resource_provider.cc #

Total comments: 3

Patch Set 3 : Use skia::RefPtrs #

Patch Set 4 : Add null texture checks. #

Patch Set 5 : move null check to functions that create skimage #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -42 lines) Patch
M cc/output/gl_renderer.cc View 1 2 3 4 11 chunks +49 lines, -41 lines 3 comments Download
M cc/resources/resource_provider.cc View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 28 (7 generated)
bsalomon
I want to make SkGpuDevice a private subclass in Skia. These are the last remaining ...
6 years, 3 months ago (2014-08-29 18:22:09 UTC) #2
enne (OOO)
https://codereview.chromium.org/520793002/diff/20001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/520793002/diff/20001/cc/output/gl_renderer.cc#newcode802 cc/output/gl_renderer.cc:802: SkImage* image = surface->newImageSnapshot(); After fixing numerous memory leaks, ...
6 years, 3 months ago (2014-08-29 19:05:40 UTC) #3
bsalomon
https://codereview.chromium.org/520793002/diff/20001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/520793002/diff/20001/cc/output/gl_renderer.cc#newcode802 cc/output/gl_renderer.cc:802: SkImage* image = surface->newImageSnapshot(); On 2014/08/29 19:05:40, enne wrote: ...
6 years, 3 months ago (2014-08-29 20:47:33 UTC) #4
enne (OOO)
lgtm, although senorblanco should definitely take a look too. https://codereview.chromium.org/520793002/diff/20001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/520793002/diff/20001/cc/output/gl_renderer.cc#newcode802 cc/output/gl_renderer.cc:802: ...
6 years, 3 months ago (2014-08-29 21:20:21 UTC) #5
bsalomon
Alexis, do you feel comfortable reviewing this in Stephen's absence or know if there is ...
6 years, 3 months ago (2014-09-02 21:17:29 UTC) #7
sugoi1
On 2014/09/02 21:17:29, bsalomon wrote: > Alexis, do you feel comfortable reviewing this in Stephen's ...
6 years, 3 months ago (2014-09-03 12:11:43 UTC) #8
bsalomon
On 2014/09/03 12:11:43, sugoi1 wrote: > On 2014/09/02 21:17:29, bsalomon wrote: > > Alexis, do ...
6 years, 3 months ago (2014-09-03 17:33:58 UTC) #9
sugoi1
On 2014/09/03 17:33:58, bsalomon wrote: > On 2014/09/03 12:11:43, sugoi1 wrote: > > On 2014/09/02 ...
6 years, 3 months ago (2014-09-03 18:10:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bsalomon@google.com/520793002/60001
6 years, 3 months ago (2014-09-03 18:12:50 UTC) #12
danakj
On 2014/09/03 17:33:58, bsalomon wrote: > On 2014/09/03 12:11:43, sugoi1 wrote: > > On 2014/09/02 ...
6 years, 3 months ago (2014-09-03 19:11:00 UTC) #13
bsalomon
On 2014/09/03 19:11:00, danakj wrote: > On 2014/09/03 17:33:58, bsalomon wrote: > > On 2014/09/03 ...
6 years, 3 months ago (2014-09-03 19:24:11 UTC) #15
danakj
On Wed, Sep 3, 2014 at 3:24 PM, bsalomon via cc-bugs <cc-bugs@chromium.org> wrote: > On ...
6 years, 3 months ago (2014-09-03 19:34:36 UTC) #16
bsalomon
On 2014/09/03 19:34:36, danakj wrote: > On Wed, Sep 3, 2014 at 3:24 PM, bsalomon ...
6 years, 3 months ago (2014-09-04 21:27:02 UTC) #17
danakj
Thanks, that looks a lot better to me. LGTM
6 years, 3 months ago (2014-09-04 21:35:16 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bsalomon@google.com/520793002/80001
6 years, 3 months ago (2014-09-04 21:37:48 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/10260) win_chromium_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/8970)
6 years, 3 months ago (2014-09-04 22:40:07 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bsalomon@google.com/520793002/80001
6 years, 3 months ago (2014-09-05 18:00:49 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001) as 37ffe8f81510bbfb82b48640aa96fe7e51efc654
6 years, 3 months ago (2014-09-05 18:02:37 UTC) #25
bsalomon
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/546073002/ by bsalomon@google.com. ...
6 years, 3 months ago (2014-09-05 19:52:58 UTC) #26
Stephen White
Some post-commit comments. https://codereview.chromium.org/520793002/diff/80001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/520793002/diff/80001/cc/output/gl_renderer.cc#newcode673 cc/output/gl_renderer.cc:673: skia::RefPtr<SkCanvas> canvas = skia::SharePtr(surface->getCanvas()); Nit: does ...
6 years, 3 months ago (2014-09-09 14:10:31 UTC) #27
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:40:41 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/55ebb77d934328f027c2dc5c5cd2f7739eb3cd50
Cr-Commit-Position: refs/heads/master@{#293553}

Powered by Google App Engine
This is Rietveld 408576698