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

Issue 409653003: Now able to set the localMatrix when creating a SkShader from a SkImage (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

Now able to set the localMatrix when creating a SkShader from a SkImage BUG=skia:2771 Committed: https://skia.googlesource.com/skia/+/76d5b477c92ef076374fc7ea9d551c798656bebd

Patch Set 1 #

Total comments: 6

Patch Set 2 : Add test + corrections according to comments #

Patch Set 3 : Corrects warnings in windows build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -43 lines) Patch
M include/core/SkImage.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/image/SkImage.cpp View 1 1 chunk +4 lines, -2 lines 0 comments Download
M src/image/SkImage_Base.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/image/SkImage_Gpu.cpp View 1 2 chunks +8 lines, -3 lines 0 comments Download
M src/image/SkImage_Raster.cpp View 1 2 chunks +8 lines, -3 lines 0 comments Download
M tests/ImageNewShaderTest.cpp View 1 2 3 chunks +80 lines, -33 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Rémi Piotaix
PTAL
6 years, 5 months ago (2014-07-21 19:06:25 UTC) #1
Justin Novosad
Please add a test that exercises the new code. https://codereview.chromium.org/409653003/diff/1/include/core/SkImage.h File include/core/SkImage.h (right): https://codereview.chromium.org/409653003/diff/1/include/core/SkImage.h#newcode61 include/core/SkImage.h:61: ...
6 years, 5 months ago (2014-07-21 19:20:39 UTC) #2
bsalomon
https://codereview.chromium.org/409653003/diff/1/include/core/SkImage.h File include/core/SkImage.h (right): https://codereview.chromium.org/409653003/diff/1/include/core/SkImage.h#newcode61 include/core/SkImage.h:61: virtual SkShader* newShader(SkShader::TileMode, SkShader::TileMode, SkMatrix* localMatrix = NULL) const; ...
6 years, 5 months ago (2014-07-21 19:28:41 UTC) #3
Rémi Piotaix
Test added https://codereview.chromium.org/409653003/diff/1/include/core/SkImage.h File include/core/SkImage.h (right): https://codereview.chromium.org/409653003/diff/1/include/core/SkImage.h#newcode61 include/core/SkImage.h:61: virtual SkShader* newShader(SkShader::TileMode, SkShader::TileMode, SkMatrix* localMatrix = ...
6 years, 5 months ago (2014-07-22 19:08:08 UTC) #4
bsalomon
lgtm
6 years, 5 months ago (2014-07-22 19:26:37 UTC) #5
Justin Novosad
lgtm
6 years, 5 months ago (2014-07-22 20:19:17 UTC) #6
Rémi Piotaix
The CQ bit was checked by piotaixr@chromium.org
6 years, 5 months ago (2014-07-22 21:24:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/piotaixr@chromium.org/409653003/20001
6 years, 5 months ago (2014-07-22 21:24:53 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Win-VS2013-x86-Debug-Trybot on tryserver.skia ...
6 years, 5 months ago (2014-07-22 21:36:53 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-22 21:46:13 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-VS2013-x86-Debug-Trybot on tryserver.skia (http://108.170.220.76:10117/builders/Build-Win-VS2013-x86-Debug-Trybot/builds/951)
6 years, 5 months ago (2014-07-22 21:46:14 UTC) #11
Rémi Piotaix
The CQ bit was checked by piotaixr@chromium.org
6 years, 5 months ago (2014-07-22 21:49:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/piotaixr@chromium.org/409653003/40001
6 years, 5 months ago (2014-07-22 21:49:53 UTC) #13
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 22:02:20 UTC) #14
Message was sent while issue was closed.
Change committed as 76d5b477c92ef076374fc7ea9d551c798656bebd

Powered by Google App Engine
This is Rietveld 408576698