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

Issue 2066903003: Document SkSurface::MakeRaster's memory initialization (Closed)

Created:
4 years, 6 months ago by f(malita)
Modified:
4 years, 5 months ago
Reviewers:
bsalomon, reed1
CC:
reviews_skia.org, xidachen
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Document SkSurface::MakeRaster's memory initialization So clients don't go clearing w/ SK_ColorTRANSPARENT unnecessarily. R=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2066903003 Committed: https://skia.googlesource.com/skia/+/03912f141fba6a5c17ac7e8fbe5998ac3834e29c

Patch Set 1 #

Total comments: 7

Patch Set 2 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -9 lines) Patch
M include/core/SkSurface.h View 1 3 chunks +10 lines, -5 lines 0 comments Download
M src/image/SkSurface_Raster.cpp View 1 1 chunk +0 lines, -4 lines 0 comments Download
M tests/SurfaceTest.cpp View 1 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
f(malita)
4 years, 6 months ago (2016-06-15 13:14:20 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2066903003/1
4 years, 6 months ago (2016-06-15 13:14:37 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-15 13:35:12 UTC) #7
reed1
brian, do we make this promise for gpu surfaces as well? https://codereview.chromium.org/2066903003/diff/1/include/core/SkSurface.h File include/core/SkSurface.h (right): ...
4 years, 6 months ago (2016-06-15 15:30:36 UTC) #9
f(malita)
https://codereview.chromium.org/2066903003/diff/1/include/core/SkSurface.h File include/core/SkSurface.h (right): https://codereview.chromium.org/2066903003/diff/1/include/core/SkSurface.h#newcode53 include/core/SkSurface.h:53: * zero-initialized, but respecting the specified rowBytes. If rowBytes==0, ...
4 years, 6 months ago (2016-06-15 15:36:37 UTC) #10
reed1
On 2016/06/15 15:36:37, f(malita) wrote: > https://codereview.chromium.org/2066903003/diff/1/include/core/SkSurface.h > File include/core/SkSurface.h (right): > > https://codereview.chromium.org/2066903003/diff/1/include/core/SkSurface.h#newcode53 > ...
4 years, 6 months ago (2016-06-15 15:38:00 UTC) #11
f(malita)
On 2016/06/15 15:38:00, reed1 wrote: > On 2016/06/15 15:36:37, f(malita) wrote: > > https://codereview.chromium.org/2066903003/diff/1/include/core/SkSurface.h > ...
4 years, 6 months ago (2016-06-15 15:51:04 UTC) #12
bsalomon
https://codereview.chromium.org/2066903003/diff/1/include/core/SkSurface.h File include/core/SkSurface.h (right): https://codereview.chromium.org/2066903003/diff/1/include/core/SkSurface.h#newcode53 include/core/SkSurface.h:53: * zero-initialized, but respecting the specified rowBytes. If rowBytes==0, ...
4 years, 6 months ago (2016-06-15 16:18:23 UTC) #13
f(malita)
On 2016/06/15 16:18:23, bsalomon wrote: > https://codereview.chromium.org/2066903003/diff/1/include/core/SkSurface.h > File include/core/SkSurface.h (right): > > https://codereview.chromium.org/2066903003/diff/1/include/core/SkSurface.h#newcode53 > ...
4 years, 5 months ago (2016-07-01 12:56:26 UTC) #14
reed1
https://codereview.chromium.org/2066903003/diff/1/include/core/SkSurface.h File include/core/SkSurface.h (right): https://codereview.chromium.org/2066903003/diff/1/include/core/SkSurface.h#newcode34 include/core/SkSurface.h:34: * Create a new surface, using the specified pixels/rowbytes ...
4 years, 5 months ago (2016-07-01 20:11:42 UTC) #15
f(malita)
https://codereview.chromium.org/2066903003/diff/1/include/core/SkSurface.h File include/core/SkSurface.h (right): https://codereview.chromium.org/2066903003/diff/1/include/core/SkSurface.h#newcode34 include/core/SkSurface.h:34: * Create a new surface, using the specified pixels/rowbytes ...
4 years, 5 months ago (2016-07-05 15:39:54 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2066903003/20001
4 years, 5 months ago (2016-07-05 15:40:07 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-05 15:53:18 UTC) #20
reed1
lgtm
4 years, 5 months ago (2016-07-06 13:18:58 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2066903003/20001
4 years, 5 months ago (2016-07-06 13:21:11 UTC) #23
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 13:22:09 UTC) #25
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/03912f141fba6a5c17ac7e8fbe5998ac3834e29c

Powered by Google App Engine
This is Rietveld 408576698