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

Issue 2412633002: leave pixel memory uninitialized for opaque alpha type in SkSurface::MakeRaster (Closed)

Created:
4 years, 2 months ago by lsalzman1
Modified:
4 years, 2 months ago
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

leave pixel memory uninitialized for opaque alpha type in SkSurface::MakeRaster BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2412633002 Committed: https://skia.googlesource.com/skia/+/c64ef3563dc8badac3d64544513b03df826cf8c3

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -5 lines) Patch
M include/core/SkSurface.h View 1 chunk +8 lines, -4 lines 0 comments Download
M src/image/SkSurface_Raster.cpp View 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 38 (11 generated)
lsalzman1
This saves the caller the cost of a double-clear for opaque alpha types where it ...
4 years, 2 months ago (2016-10-11 17:38:33 UTC) #3
reed1
mike/brian, are we ok to go back to the previous (raster at least) behavior of ...
4 years, 2 months ago (2016-10-12 00:25:41 UTC) #5
mtklein_C
Sure. The important bit from the previous CL was replacing malloc()->bzero() with just calloc(). Beyond ...
4 years, 2 months ago (2016-10-12 00:32:43 UTC) #8
lsalzman1
On 2016/10/12 00:32:43, mtklein_C wrote: > Sure. The important bit from the previous CL was ...
4 years, 2 months ago (2016-10-12 00:43:00 UTC) #9
mtklein_C
On 2016/10/12 at 00:43:00, lsalzman wrote: > On 2016/10/12 00:32:43, mtklein_C wrote: > > Sure. ...
4 years, 2 months ago (2016-10-12 03:03:51 UTC) #12
lsalzman1
On 2016/10/12 03:03:51, mtklein_C wrote: > This proposed change makes both the implementation of and ...
4 years, 2 months ago (2016-10-12 04:36:20 UTC) #13
mtklein_C
On 2016/10/12 at 04:36:20, lsalzman wrote: > On 2016/10/12 03:03:51, mtklein_C wrote: > > This ...
4 years, 2 months ago (2016-10-12 13:16:21 UTC) #14
lsalzman1
On 2016/10/12 13:16:21, mtklein_C wrote: > On 2016/10/12 at 04:36:20, lsalzman wrote: > > On ...
4 years, 2 months ago (2016-10-12 14:58:47 UTC) #15
mtklein
On 2016/10/12 14:58:47, lsalzman1 wrote: > On 2016/10/12 13:16:21, mtklein_C wrote: > > On 2016/10/12 ...
4 years, 2 months ago (2016-10-12 15:19:33 UTC) #16
reed1
SkColor isn't very future-oriented, given colorspaces etc. I think just the opaque-check is reasonable and ...
4 years, 2 months ago (2016-10-12 16:54:18 UTC) #17
mtklein_C
On 2016/10/12 at 16:54:18, reed wrote: > SkColor isn't very future-oriented, given colorspaces etc. > ...
4 years, 2 months ago (2016-10-12 17:00:03 UTC) #18
reed1
Seems like any change is speculative at this point.
4 years, 2 months ago (2016-10-12 17:04:08 UTC) #19
mtklein_C
On 2016/10/12 at 17:04:08, reed wrote: > Seems like any change is speculative at this ...
4 years, 2 months ago (2016-10-12 17:15:34 UTC) #20
lsalzman1
On 2016/10/12 17:15:34, mtklein_C wrote: > On 2016/10/12 at 17:04:08, reed wrote: > > Seems ...
4 years, 2 months ago (2016-10-12 18:53:47 UTC) #21
mtklein_C
On 2016/10/12 at 18:53:47, lsalzman wrote: > On 2016/10/12 17:15:34, mtklein_C wrote: > > On ...
4 years, 2 months ago (2016-10-12 18:56:28 UTC) #22
lsalzman1
On 2016/10/12 18:56:28, mtklein_C wrote: > On 2016/10/12 at 18:53:47, lsalzman wrote: > > On ...
4 years, 2 months ago (2016-10-12 19:24:36 UTC) #23
mtklein_C
> Harder to see on the average macrobenchmark as they are not necessarily exercising the ...
4 years, 2 months ago (2016-10-12 19:56:14 UTC) #24
lsalzman1
On 2016/10/12 19:56:14, mtklein_C wrote: > > Harder to see on the average macrobenchmark as ...
4 years, 2 months ago (2016-10-12 20:14:26 UTC) #25
reed1
Lets try landing this change as is, and see if it sticks. We can certainly ...
4 years, 2 months ago (2016-10-12 20:48:27 UTC) #26
mtklein_C
lgtm
4 years, 2 months ago (2016-10-12 21:08:13 UTC) #28
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/2412633002/1
4 years, 2 months ago (2016-10-12 21:08:21 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on master.client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/14762)
4 years, 2 months ago (2016-10-12 21:10:30 UTC) #31
reed1
lgtm
4 years, 2 months ago (2016-10-12 23:48:51 UTC) #33
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/2412633002/1
4 years, 2 months ago (2016-10-12 23:49:02 UTC) #34
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/c64ef3563dc8badac3d64544513b03df826cf8c3
4 years, 2 months ago (2016-10-12 23:50:19 UTC) #36
lsalzman1
On 2016/10/12 23:50:19, commit-bot: I haz the power wrote: > Committed patchset #1 (id:1) as ...
4 years, 2 months ago (2016-10-12 23:52:04 UTC) #37
mtklein
4 years, 2 months ago (2016-10-13 14:45:41 UTC) #38
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2421473003/ by mtklein@google.com.

The reason for reverting is: Reverting while we think about skia:5854 so the bot
doesn't regress further..

Powered by Google App Engine
This is Rietveld 408576698