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

Issue 345463009: Deleted SkImage::newShaderClamp: not used, not implemented. (Closed)

Created:
6 years, 5 months ago by Rémi Piotaix
Modified:
6 years, 5 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Deleted SkImage::newShaderClamp: not used, not implemented. Implemented SkImage::newShader. BUG=skia:2701, 344804 Committed: https://skia.googlesource.com/skia/+/cef04f818820e59fb534eb226f967f72497845d3

Patch Set 1 #

Total comments: 6

Patch Set 2 : Moving newShader to onNewShader in subclasses #

Patch Set 3 : First test #

Patch Set 4 : Additional tests (using GPU), all passing! #

Total comments: 14

Patch Set 5 : Correcting according to comments #

Total comments: 4

Patch Set 6 : Correcting according to comments (2) #

Patch Set 7 : Organizing includes of SkImage.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -6 lines) Patch
M gyp/tests.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkImage.h View 1 2 3 4 5 6 2 chunks +2 lines, -6 lines 0 comments Download
M src/image/SkImage.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/image/SkImage_Base.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/image/SkImage_Gpu.cpp View 1 2 chunks +5 lines, -0 lines 0 comments Download
M src/image/SkImage_Raster.cpp View 1 2 chunks +6 lines, -0 lines 0 comments Download
A tests/ImageNewShaderTest.cpp View 1 2 3 4 5 1 chunk +107 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Rémi Piotaix
PTAL
6 years, 5 months ago (2014-06-27 21:49:37 UTC) #1
Justin Novosad
Please add a test for this. https://codereview.chromium.org/345463009/diff/1/src/image/SkImage_Codec.cpp File src/image/SkImage_Codec.cpp (right): https://codereview.chromium.org/345463009/diff/1/src/image/SkImage_Codec.cpp#newcode24 src/image/SkImage_Codec.cpp:24: SkShader* newShader(SkShader::TileMode, SkShader::TileMode) ...
6 years, 5 months ago (2014-07-02 15:31:09 UTC) #2
reed1
if we really have no callers, lets just delete the API entrypoints.
6 years, 5 months ago (2014-07-02 15:38:51 UTC) #3
Justin Novosad
On 2014/07/02 15:38:51, reed1 wrote: > if we really have no callers, lets just delete ...
6 years, 5 months ago (2014-07-02 15:41:31 UTC) #4
reed1
can we add a link to the related blink issue/request?
6 years, 5 months ago (2014-07-02 15:42:56 UTC) #5
Rémi Piotaix
Link to the blink issue added in the description.
6 years, 5 months ago (2014-07-02 17:44:13 UTC) #6
Rémi Piotaix
https://codereview.chromium.org/345463009/diff/1/src/image/SkImage_Codec.cpp File src/image/SkImage_Codec.cpp (right): https://codereview.chromium.org/345463009/diff/1/src/image/SkImage_Codec.cpp#newcode24 src/image/SkImage_Codec.cpp:24: SkShader* newShader(SkShader::TileMode, SkShader::TileMode) const; On 2014/07/02 15:31:08, junov wrote: ...
6 years, 5 months ago (2014-07-02 20:13:18 UTC) #7
Justin Novosad
Test?
6 years, 5 months ago (2014-07-02 20:17:08 UTC) #8
Rémi Piotaix
On 2014/07/02 20:17:08, junov wrote: > Test? First test uploaded, any comments ? (i'm not ...
6 years, 5 months ago (2014-07-03 22:10:10 UTC) #9
Rémi Piotaix
New tests added.
6 years, 5 months ago (2014-07-07 14:57:35 UTC) #10
Justin Novosad
https://codereview.chromium.org/345463009/diff/60001/src/image/SkImage_Codec.cpp File src/image/SkImage_Codec.cpp (right): https://codereview.chromium.org/345463009/diff/60001/src/image/SkImage_Codec.cpp#newcode43 src/image/SkImage_Codec.cpp:43: SkShader* SkImage_Codec::onNewShader(SkShader::TileMode tileX, SkShader::TileMode tileY) const { Do you ...
6 years, 5 months ago (2014-07-10 19:24:36 UTC) #11
Rémi Piotaix
New patch https://codereview.chromium.org/345463009/diff/60001/src/image/SkImage_Codec.cpp File src/image/SkImage_Codec.cpp (right): https://codereview.chromium.org/345463009/diff/60001/src/image/SkImage_Codec.cpp#newcode43 src/image/SkImage_Codec.cpp:43: SkShader* SkImage_Codec::onNewShader(SkShader::TileMode tileX, SkShader::TileMode tileY) const { ...
6 years, 5 months ago (2014-07-10 20:16:04 UTC) #12
Justin Novosad
https://codereview.chromium.org/345463009/diff/80001/src/image/SkImage_Codec.cpp File src/image/SkImage_Codec.cpp (left): https://codereview.chromium.org/345463009/diff/80001/src/image/SkImage_Codec.cpp#oldcode23 src/image/SkImage_Codec.cpp:23: Revert this whitespace change please https://codereview.chromium.org/345463009/diff/80001/tests/ImageNewShaderTest.cpp File tests/ImageNewShaderTest.cpp (right): ...
6 years, 5 months ago (2014-07-11 15:13:55 UTC) #13
Rémi Piotaix
New patch https://codereview.chromium.org/345463009/diff/80001/src/image/SkImage_Codec.cpp File src/image/SkImage_Codec.cpp (left): https://codereview.chromium.org/345463009/diff/80001/src/image/SkImage_Codec.cpp#oldcode23 src/image/SkImage_Codec.cpp:23: On 2014/07/11 15:13:55, junov wrote: > Revert ...
6 years, 5 months ago (2014-07-11 15:33:51 UTC) #14
Justin Novosad
On 2014/07/11 15:33:51, Rémi Piotaix wrote: lgtm
6 years, 5 months ago (2014-07-11 16:50:04 UTC) #15
Rémi Piotaix
The CQ bit was checked by piotaixr@chromium.org
6 years, 5 months ago (2014-07-11 16:59:15 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/piotaixr@chromium.org/345463009/100001
6 years, 5 months ago (2014-07-11 17:00:17 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-11 17:00:21 UTC) #18
commit-bot: I haz the power
Presubmit check for 345463009-100001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 5 months ago (2014-07-11 17:00:21 UTC) #19
reed1
api lgtm
6 years, 5 months ago (2014-07-12 11:29:51 UTC) #20
Rémi Piotaix
The CQ bit was checked by piotaixr@chromium.org
6 years, 5 months ago (2014-07-14 14:30:39 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/piotaixr@chromium.org/345463009/120001
6 years, 5 months ago (2014-07-14 14:30:54 UTC) #22
commit-bot: I haz the power
6 years, 5 months ago (2014-07-14 14:48:09 UTC) #23
Message was sent while issue was closed.
Change committed as cef04f818820e59fb534eb226f967f72497845d3

Powered by Google App Engine
This is Rietveld 408576698