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

Issue 1530743002: Fix UB function problems for shaders and mask. (Closed)

Created:
5 years ago by herb_g
Modified:
5 years ago
Reviewers:
mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : fix externals #

Total comments: 2

Patch Set 3 : add comment about const #

Patch Set 4 : fix 16-bit masks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -40 lines) Patch
M include/core/SkShader.h View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M src/core/SkBitmapProcShader.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkBitmapProcState.h View 1 2 3 1 chunk +2 lines, -4 lines 0 comments Download
M src/core/SkBitmapProcState.cpp View 1 2 3 6 chunks +14 lines, -10 lines 0 comments Download
M src/core/SkBitmapProcState_shaderproc.h View 1 chunk +3 lines, -2 lines 0 comments Download
M src/core/SkBlitMask.h View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkBlitMask_D32.cpp View 1 2 3 6 chunks +18 lines, -18 lines 0 comments Download
M src/core/SkBlitter_ARGB32.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 42 (17 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1530743002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1530743002/1
5 years ago (2015-12-15 22:56:32 UTC) #4
herb_g
This is a second try. Please ignore the first.
5 years ago (2015-12-15 22:56:46 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot/builds/3152) Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on ...
5 years ago (2015-12-15 22:57:21 UTC) #7
herb_g
fix externals
5 years ago (2015-12-15 23:01:05 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1530743002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1530743002/20001
5 years ago (2015-12-15 23:01:39 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-15 23:15:30 UTC) #12
mtklein
lgtm
5 years ago (2015-12-15 23:36:24 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1530743002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1530743002/20001
5 years ago (2015-12-16 15:22:56 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/4747)
5 years ago (2015-12-16 15:24:08 UTC) #17
mtklein
+Mike for include/ Do we have any external shaders? Is ShadeProc actually or incidentally public?
5 years ago (2015-12-17 15:15:05 UTC) #19
reed1
https://codereview.chromium.org/1530743002/diff/20001/include/core/SkShader.h File include/core/SkShader.h (right): https://codereview.chromium.org/1530743002/diff/20001/include/core/SkShader.h#newcode152 include/core/SkShader.h:152: typedef void (*ShadeProc)(const void* ctx, int x, int y, ...
5 years ago (2015-12-17 18:12:14 UTC) #20
reed1
On 2015/12/17 15:15:05, mtklein wrote: > +Mike for include/ > > Do we have any ...
5 years ago (2015-12-17 18:20:06 UTC) #21
herb_g
add comment about const
5 years ago (2015-12-17 19:58:17 UTC) #22
herb_g
PTAL https://codereview.chromium.org/1530743002/diff/20001/include/core/SkShader.h File include/core/SkShader.h (right): https://codereview.chromium.org/1530743002/diff/20001/include/core/SkShader.h#newcode152 include/core/SkShader.h:152: typedef void (*ShadeProc)(const void* ctx, int x, int ...
5 years ago (2015-12-17 19:59:23 UTC) #23
reed1
lgtm
5 years ago (2015-12-17 20:29:50 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1530743002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1530743002/40001
5 years ago (2015-12-17 20:41:24 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/dafd044e4aea529f88d899247678d4549f776388
5 years ago (2015-12-17 22:22:37 UTC) #29
herb_g
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1534243002/ by herb@google.com. ...
5 years ago (2015-12-18 16:50:00 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1530743002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1530743002/60001
5 years ago (2015-12-18 17:25:25 UTC) #32
herb_g
Fixed problem with 16-bit masks. PTAL
5 years ago (2015-12-18 17:25:41 UTC) #33
mtklein
lgtm
5 years ago (2015-12-18 17:27:37 UTC) #34
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-18 17:46:28 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1530743002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1530743002/60001
5 years ago (2015-12-18 17:51:39 UTC) #39
mtklein
On 2015/12/18 at 17:46:28, commit-bot wrote: > Dry run: This issue passed the CQ dry ...
5 years ago (2015-12-18 17:51:48 UTC) #40
commit-bot: I haz the power
5 years ago (2015-12-18 17:52:18 UTC) #42
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/c7a784cc8cb1c1dfcd39a32b2170ffe547904e9f

Powered by Google App Engine
This is Rietveld 408576698