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

Issue 1118823004: make drawImage a virtual on SkDevice (Closed)

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

Description

make drawImage a virtual on SkDevice default impl will turn the Image into a (raster) bitmap and call drawBitmap. BUG=skia:3803 Committed: https://skia.googlesource.com/skia/+/f603fb3d0e5fa57c3f228d66945bef198b001135

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : remove all image.draw code #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -55 lines) Patch
M include/core/SkDevice.h View 1 chunk +4 lines, -0 lines 2 comments Download
M include/core/SkImage.h View 1 2 1 chunk +0 lines, -13 lines 0 comments Download
M src/core/SkCanvas.cpp View 2 chunks +51 lines, -5 lines 0 comments Download
M src/core/SkDevice.cpp View 1 1 chunk +20 lines, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 1 chunk +43 lines, -0 lines 0 comments Download
M src/image/SkImage.cpp View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M src/image/SkImage_Base.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M src/image/SkImage_Gpu.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M src/image/SkImage_Gpu.cpp View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M src/image/SkImage_Raster.cpp View 1 2 2 chunks +0 lines, -13 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
reed1
5 years, 7 months ago (2015-05-04 14:49:42 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1118823004/20001
5 years, 7 months ago (2015-05-04 14:50:23 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-04 14:55:46 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1118823004/40001
5 years, 7 months ago (2015-05-04 14:56:23 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-04 15:05:09 UTC) #10
bsalomon
lgtm https://codereview.chromium.org/1118823004/diff/40001/include/core/SkDevice.h File include/core/SkDevice.h (right): https://codereview.chromium.org/1118823004/diff/40001/include/core/SkDevice.h#newcode212 include/core/SkDevice.h:212: virtual void drawImage(const SkDraw&, const SkImage*, SkScalar x, ...
5 years, 7 months ago (2015-05-04 15:08:07 UTC) #11
reed1
https://codereview.chromium.org/1118823004/diff/40001/include/core/SkDevice.h File include/core/SkDevice.h (right): https://codereview.chromium.org/1118823004/diff/40001/include/core/SkDevice.h#newcode212 include/core/SkDevice.h:212: virtual void drawImage(const SkDraw&, const SkImage*, SkScalar x, SkScalar ...
5 years, 7 months ago (2015-05-04 15:11:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1118823004/40001
5 years, 7 months ago (2015-05-04 15:31:37 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/f603fb3d0e5fa57c3f228d66945bef198b001135
5 years, 7 months ago (2015-05-04 15:32:10 UTC) #15
reed1
5 years, 7 months ago (2015-05-04 16:00:15 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1122803002/ by reed@google.com.

The reason for reverting is: need to make serialization work for pictures, now
that images are "real".

Powered by Google App Engine
This is Rietveld 408576698