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

Issue 583453002: SkCanvas::drawImage is the new way for drawing an SkImage to a Canvas (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : Rebase master #

Patch Set 3 : Don't forget SkImage_Raster #

Patch Set 4 : Method renaming #

Patch Set 5 : Simplify #

Patch Set 6 : Rebase master + clean #

Patch Set 7 : Revert renames in SkImage* #

Patch Set 8 : Again #

Total comments: 2

Patch Set 9 : Include #

Patch Set 10 : Make SkImage::draw public temporary for compatibility reasons #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -61 lines) Patch
M gm/dftext.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M gm/image.cpp View 1 2 3 4 5 3 chunks +7 lines, -7 lines 0 comments Download
M gm/multipicturedraw.cpp View 1 10 chunks +23 lines, -23 lines 0 comments Download
M include/core/SkCanvas.h View 1 2 3 4 5 4 chunks +10 lines, -2 lines 0 comments Download
M include/core/SkImage.h View 1 2 3 4 5 6 7 8 9 2 chunks +11 lines, -11 lines 0 comments Download
M samplecode/SampleTextureDomain.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 4 5 6 7 8 12 chunks +22 lines, -10 lines 0 comments Download
M src/gpu/GrRecordReplaceDraw.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/image/SkSurface.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/utils/SkLua.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/CachedDecodingPixelRefTest.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 28 (4 generated)
Rémi Piotaix
PTAL Chromium compiles sucessfully with this patch applied to Skia.
6 years, 3 months ago (2014-09-17 22:59:56 UTC) #2
reed1
I like the direction of this. Lets rename the (now private) SkImage::draw to something like ...
6 years, 3 months ago (2014-09-18 18:25:28 UTC) #4
Rémi Piotaix
On 2014/09/18 18:25:28, reed1 wrote: > I like the direction of this. > > Lets ...
6 years, 3 months ago (2014-09-18 18:41:08 UTC) #5
Justin Novosad
On 2014/09/18 18:41:08, Rémi Piotaix wrote: > On 2014/09/18 18:25:28, reed1 wrote: > > I ...
6 years, 3 months ago (2014-09-18 18:47:31 UTC) #6
Rémi Piotaix
On 2014/09/18 18:25:28, reed1 wrote: > I like the direction of this. > > Lets ...
6 years, 3 months ago (2014-09-18 18:57:17 UTC) #7
Rémi Piotaix
New patch: don't depend on https://codereview.chromium.org/577063004/ anymore. What is the best name for the method ...
6 years, 3 months ago (2014-09-19 21:13:49 UTC) #8
reed1
On 2014/09/19 21:13:49, Rémi Piotaix wrote: > New patch: don't depend on https://codereview.chromium.org/577063004/ anymore. > ...
6 years, 3 months ago (2014-09-19 21:20:30 UTC) #9
Rémi Piotaix
On 2014/09/19 21:20:30, reed1 wrote: > Actually, I like just drawFooRect, and think we should ...
6 years, 3 months ago (2014-09-22 15:44:08 UTC) #10
Rémi Piotaix
SkImage::draw() removed. public SkImage_Base::draw[Rect]() added that calls SkCanvas::drawBitmap() (overidden in SkImage_Raster/Gpu) SkCanvas::drawImage() calls SkImage_Base::draw() by ...
6 years, 3 months ago (2014-09-22 19:02:28 UTC) #11
reed1
There are an awful lot of renaming going on in this CL, in addition to ...
6 years, 3 months ago (2014-09-22 19:26:06 UTC) #12
Rémi Piotaix
On 2014/09/22 19:26:06, reed1 wrote: > There are an awful lot of renaming going on ...
6 years, 3 months ago (2014-09-22 19:48:20 UTC) #13
reed1
1. Will you also be updating all of the canvas subclasses to know about the ...
6 years, 3 months ago (2014-09-22 21:00:29 UTC) #14
Rémi Piotaix
On 2014/09/22 21:00:29, reed1 wrote: > 1. Will you also be updating all of the ...
6 years, 3 months ago (2014-09-22 21:07:03 UTC) #15
Rémi Piotaix
On 2014/09/22 21:07:03, Rémi Piotaix wrote: > On 2014/09/22 21:00:29, reed1 wrote: > > 1. ...
6 years, 3 months ago (2014-09-22 21:23:43 UTC) #16
reed1
lgtm w/ question about including SkImage.h instead of SkImage_Base.h https://codereview.chromium.org/583453002/diff/140001/src/core/SkCanvas.cpp File src/core/SkCanvas.cpp (right): https://codereview.chromium.org/583453002/diff/140001/src/core/SkCanvas.cpp#newcode15 src/core/SkCanvas.cpp:15: ...
6 years, 3 months ago (2014-09-23 12:29:44 UTC) #17
Rémi Piotaix
https://codereview.chromium.org/583453002/diff/140001/src/core/SkCanvas.cpp File src/core/SkCanvas.cpp (right): https://codereview.chromium.org/583453002/diff/140001/src/core/SkCanvas.cpp#newcode15 src/core/SkCanvas.cpp:15: #include "SkImage_Base.h" On 2014/09/23 12:29:44, reed1 wrote: > Can ...
6 years, 3 months ago (2014-09-23 19:47:24 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/583453002/160001
6 years, 3 months ago (2014-09-23 21:01:36 UTC) #20
commit-bot: I haz the power
Committed patchset #9 (id:160001) as 432789972c1e1f8a66165c75a250dba1853efa08
6 years, 3 months ago (2014-09-23 21:10:55 UTC) #21
borenet
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/598133002/ by borenet@google.com. ...
6 years, 2 months ago (2014-09-24 18:02:21 UTC) #22
Rémi Piotaix
PTAL-Again :) SkImage::draw is now public (temporarily) to not break the ChromiumOs Ozone builder.
6 years, 2 months ago (2014-09-24 18:47:28 UTC) #23
Justin Novosad
On 2014/09/24 18:47:28, Rémi Piotaix wrote: > PTAL-Again :) > > SkImage::draw is now public ...
6 years, 2 months ago (2014-09-24 18:55:38 UTC) #24
reed1
lets land a fix to dri so we can make it private again asap
6 years, 2 months ago (2014-09-24 19:09:20 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/583453002/180001
6 years, 2 months ago (2014-09-24 19:55:13 UTC) #27
commit-bot: I haz the power
6 years, 2 months ago (2014-09-24 20:03:33 UTC) #28
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as b5fae93d72c7b6480f83fd8a7b534cd1fdfcd49a

Powered by Google App Engine
This is Rietveld 408576698