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

Issue 197873039: Hide SkMallocPixelRef class befind SkPixelRef factory functions. (Closed)

Created:
6 years, 9 months ago by hal.canary
Modified:
5 years, 8 months ago
Reviewers:
scroggo, mtklein, reed1
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Hide SkMallocPixelRef class befind SkPixelRef factory functions. Motivation: After this lands, we can move Chrome to calling these new functions, then move SkMallocPixelref.h from include/ to src/. TODO: Transition Android as well BUG=skia:2391

Patch Set 1 #

Patch Set 2 : AnotherPatchSet #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -0 lines) Patch
M include/core/SkPixelRef.h View 1 chunk +73 lines, -0 lines 5 comments Download
M src/core/SkMallocPixelRef.cpp View 1 3 chunks +28 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
hal.canary
6 years, 8 months ago (2014-04-04 21:08:54 UTC) #1
scroggo
I like this direction. Comments in line. https://codereview.chromium.org/197873039/diff/10001/include/core/SkPixelRef.h File include/core/SkPixelRef.h (right): https://codereview.chromium.org/197873039/diff/10001/include/core/SkPixelRef.h#newcode64 include/core/SkPixelRef.h:64: static SkPixelRef* ...
6 years, 8 months ago (2014-04-04 21:21:06 UTC) #2
reed1
I'm nervous about making "prelock" part of our public contract. Today I don't think it ...
6 years, 8 months ago (2014-04-07 12:44:59 UTC) #3
hal.canary
https://codereview.chromium.org/197873039/diff/10001/include/core/SkPixelRef.h File include/core/SkPixelRef.h (right): https://codereview.chromium.org/197873039/diff/10001/include/core/SkPixelRef.h#newcode87 include/core/SkPixelRef.h:87: size_t offset = 0); On 2014/04/04 21:21:06, scroggo wrote: ...
6 years, 8 months ago (2014-04-07 14:43:02 UTC) #4
mtklein
https://codereview.chromium.org/197873039/diff/10001/include/core/SkPixelRef.h File include/core/SkPixelRef.h (right): https://codereview.chromium.org/197873039/diff/10001/include/core/SkPixelRef.h#newcode87 include/core/SkPixelRef.h:87: size_t offset = 0); > That said, perhaps a ...
6 years, 8 months ago (2014-04-07 14:51:01 UTC) #5
reed1
On 2014/04/07 14:51:01, mtklein wrote: > https://codereview.chromium.org/197873039/diff/10001/include/core/SkPixelRef.h > File include/core/SkPixelRef.h (right): > > https://codereview.chromium.org/197873039/diff/10001/include/core/SkPixelRef.h#newcode87 > ...
6 years, 8 months ago (2014-04-07 14:54:38 UTC) #6
hal.canary
On 2014/04/07 14:54:38, reed1 wrote: > On 2014/04/07 14:51:01, mtklein wrote: > > https://codereview.chromium.org/197873039/diff/10001/include/core/SkPixelRef.h > ...
6 years, 8 months ago (2014-04-07 14:56:29 UTC) #7
reed1
On 2014/04/07 14:54:38, reed1 wrote: > On 2014/04/07 14:51:01, mtklein wrote: > > https://codereview.chromium.org/197873039/diff/10001/include/core/SkPixelRef.h > ...
6 years, 8 months ago (2014-04-07 14:56:29 UTC) #8
mtklein
> double-hmmm. why do we need to accept SkData that doesn't point to the start ...
6 years, 8 months ago (2014-04-07 15:05:50 UTC) #9
reed1
On 2014/04/07 15:05:50, mtklein wrote: > > double-hmmm. why do we need to accept SkData ...
6 years, 8 months ago (2014-04-07 15:06:37 UTC) #10
hal.canary
6 years, 8 months ago (2014-04-07 15:24:22 UTC) #11
On 2014/04/07 15:05:50, mtklein wrote:
SkData can do its own offsetting.

Duh.  Of course.  Why didn't I see that before?

Powered by Google App Engine
This is Rietveld 408576698