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

Issue 1463373002: scaling API on SkPixmap (Closed)

Created:
5 years, 1 month ago by reed1
Modified:
5 years, 1 month ago
Reviewers:
f(malita)
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 : rename to scalePixels, to mirror readPixels #

Patch Set 3 : #

Patch Set 4 : start to plumb cachinghint #

Patch Set 5 : ready for review #

Total comments: 4

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+268 lines, -51 lines) Patch
M gm/image.cpp View 1 2 3 4 5 1 chunk +108 lines, -0 lines 0 comments Download
M include/core/SkImage.h View 1 2 3 2 chunks +22 lines, -2 lines 0 comments Download
M include/core/SkPixmap.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M src/core/SkBitmapController.cpp View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M src/core/SkBitmapProvider.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkBitmapProvider.cpp View 1 2 3 2 chunks +9 lines, -1 line 0 comments Download
M src/core/SkImageCacherator.h View 1 2 3 3 chunks +7 lines, -4 lines 0 comments Download
M src/core/SkImageCacherator.cpp View 1 2 3 8 chunks +27 lines, -19 lines 0 comments Download
M src/core/SkPixmap.cpp View 1 1 chunk +38 lines, -0 lines 0 comments Download
M src/image/SkImage.cpp View 1 2 3 4 5 3 chunks +22 lines, -5 lines 0 comments Download
M src/image/SkImage_Base.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/image/SkImage_Generator.cpp View 1 2 3 3 chunks +6 lines, -6 lines 0 comments Download
M src/image/SkImage_Gpu.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/image/SkImage_Gpu.cpp View 1 2 3 3 chunks +6 lines, -4 lines 0 comments Download
M src/image/SkImage_Raster.cpp View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
reed1
5 years, 1 month ago (2015-11-20 21:53:27 UTC) #2
f(malita)
lgtm
5 years, 1 month ago (2015-11-21 13:27:46 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463373002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463373002/20001
5 years, 1 month ago (2015-11-22 19:28:51 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/4476)
5 years, 1 month ago (2015-11-22 19:31:32 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463373002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463373002/40001
5 years, 1 month ago (2015-11-22 19:32:52 UTC) #9
reed1
ptal -- now with actual impl
5 years, 1 month ago (2015-11-22 19:33:01 UTC) #10
reed1
todo: - ensure that volatile means we don't try to cache the output - consider ...
5 years, 1 month ago (2015-11-22 19:43:12 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463373002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463373002/80001
5 years, 1 month ago (2015-11-23 17:50:28 UTC) #14
reed1
todos done, ptal
5 years, 1 month ago (2015-11-23 17:51:11 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-23 18:05:57 UTC) #18
f(malita)
LGTM https://codereview.chromium.org/1463373002/diff/80001/gm/image.cpp File gm/image.cpp (right): https://codereview.chromium.org/1463373002/diff/80001/gm/image.cpp#newcode209 gm/image.cpp:209: // canvas->drawImage(image, 0, 0, nullptr); Leftover? https://codereview.chromium.org/1463373002/diff/80001/src/image/SkImage.cpp File ...
5 years, 1 month ago (2015-11-23 18:06:37 UTC) #19
reed1
https://codereview.chromium.org/1463373002/diff/80001/gm/image.cpp File gm/image.cpp (right): https://codereview.chromium.org/1463373002/diff/80001/gm/image.cpp#newcode209 gm/image.cpp:209: // canvas->drawImage(image, 0, 0, nullptr); On 2015/11/23 18:06:36, f(malita) ...
5 years, 1 month ago (2015-11-23 20:07:22 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463373002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463373002/100001
5 years, 1 month ago (2015-11-23 20:19:12 UTC) #23
commit-bot: I haz the power
5 years, 1 month ago (2015-11-23 20:32:18 UTC) #24
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://skia.googlesource.com/skia/+/095530389d8211895309107a4f74beefacce638c

Powered by Google App Engine
This is Rietveld 408576698