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

Issue 1153123003: refactor bitmapshader to use a controller (Closed)

Created:
5 years, 6 months ago by reed1
Modified:
5 years, 6 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

refactor bitmapshader to use a controller BUG=skia: Committed: https://skia.googlesource.com/skia/+/64045423ddb0159cf857d55e25bad11026355902

Patch Set 1 #

Total comments: 10

Patch Set 2 : ready for testing #

Patch Set 3 : address comments from #1 #

Patch Set 4 : #

Total comments: 12

Patch Set 5 : remove SkInPlace #

Patch Set 6 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -184 lines) Patch
M gyp/core.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkTemplates.h View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
A src/core/SkBitmapController.h View 1 2 3 4 1 chunk +62 lines, -0 lines 0 comments Download
A src/core/SkBitmapController.cpp View 1 2 3 4 5 1 chunk +218 lines, -0 lines 0 comments Download
M src/core/SkBitmapProcState.h View 1 2 3 4 4 chunks +11 lines, -10 lines 1 comment Download
M src/core/SkBitmapProcState.cpp View 1 2 3 4 4 chunks +17 lines, -174 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
reed1
#1 needs to change to allow the controller to return more state (e.g. a ref'd ...
5 years, 6 months ago (2015-06-01 21:01:01 UTC) #2
scroggo
https://codereview.chromium.org/1153123003/diff/1/src/core/SkBitmapController.cpp File src/core/SkBitmapController.cpp (right): https://codereview.chromium.org/1153123003/diff/1/src/core/SkBitmapController.cpp#newcode177 src/core/SkBitmapController.cpp:177: fScaledBitmap.installPixels(info, level.fPixels, level.fRowBytes); Should we check the return value? ...
5 years, 6 months ago (2015-06-02 13:24:54 UTC) #3
reed1
https://codereview.chromium.org/1153123003/diff/1/src/core/SkBitmapController.cpp File src/core/SkBitmapController.cpp (right): https://codereview.chromium.org/1153123003/diff/1/src/core/SkBitmapController.cpp#newcode177 src/core/SkBitmapController.cpp:177: fScaledBitmap.installPixels(info, level.fPixels, level.fRowBytes); On 2015/06/02 13:24:53, scroggo wrote: > ...
5 years, 6 months ago (2015-06-02 14:07:46 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1153123003/40001
5 years, 6 months ago (2015-06-02 14:07:58 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-Clang-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-Clang-x86_64-Debug-Trybot/builds/1358) Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on ...
5 years, 6 months ago (2015-06-02 14:09:03 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1153123003/60001
5 years, 6 months ago (2015-06-02 20:27:17 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-02 20:32:30 UTC) #12
reed1
ptal
5 years, 6 months ago (2015-06-02 21:08:14 UTC) #13
scroggo
https://codereview.chromium.org/1153123003/diff/60001/src/core/SkBitmapController.cpp File src/core/SkBitmapController.cpp (right): https://codereview.chromium.org/1153123003/diff/60001/src/core/SkBitmapController.cpp#newcode211 src/core/SkBitmapController.cpp:211: SkDebugf(""); Did you mean to leave this in? https://codereview.chromium.org/1153123003/diff/60001/src/core/SkBitmapController.h ...
5 years, 6 months ago (2015-06-02 21:17:34 UTC) #14
reed2
https://codereview.chromium.org/1153123003/diff/60001/src/core/SkInPlace.h File src/core/SkInPlace.h (right): https://codereview.chromium.org/1153123003/diff/60001/src/core/SkInPlace.h#newcode13 src/core/SkInPlace.h:13: class SkInPlace { On 2015/06/02 21:17:34, scroggo wrote: > ...
5 years, 6 months ago (2015-06-03 02:33:35 UTC) #16
reed1
removed SkInPlace and just using storage/size since it will (eventually) be a public api. https://codereview.chromium.org/1153123003/diff/60001/src/core/SkBitmapController.cpp ...
5 years, 6 months ago (2015-06-04 13:17:03 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1153123003/100001
5 years, 6 months ago (2015-06-04 13:18:18 UTC) #19
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 6 months ago (2015-06-04 13:18:21 UTC) #20
scroggo
On 2015/06/04 13:17:03, reed1 wrote: > removed SkInPlace and just using storage/size since it will ...
5 years, 6 months ago (2015-06-04 13:29:41 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://skia.googlesource.com/skia/+/64045423ddb0159cf857d55e25bad11026355902
5 years, 6 months ago (2015-06-04 13:31:35 UTC) #22
robertphillips
5 years, 6 months ago (2015-06-04 15:27:27 UTC) #23
Message was sent while issue was closed.
posthumous lgtm + a question

https://codereview.chromium.org/1153123003/diff/100001/src/core/SkBitmapProcS...
File src/core/SkBitmapProcState.h (right):

https://codereview.chromium.org/1153123003/diff/100001/src/core/SkBitmapProcS...
src/core/SkBitmapProcState.h:131: enum {
Is there any static assert we could write that would cache a gradual change ?

Powered by Google App Engine
This is Rietveld 408576698