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

Issue 789033002: Remove SkCanvas::drawBitmapMatrix() (Closed)

Created:
6 years ago by f(malita)
Modified:
6 years ago
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 5

Patch Set 2 : drop gm + review comments #

Total comments: 1

Patch Set 3 : non-const canvas ptr #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -361 lines) Patch
M bench/BitmapScaleBench.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M experimental/PdfViewer/SkNulCanvas.h View 1 chunk +0 lines, -2 lines 0 comments Download
M gm/bitmapmatrix.cpp View 1 1 chunk +0 lines, -135 lines 0 comments Download
M gm/downsamplebitmap.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M gm/filterbitmap.cpp View 1 chunk +11 lines, -13 lines 0 comments Download
M gm/filterindiabox.cpp View 1 chunk +11 lines, -12 lines 0 comments Download
M gm/xfermodes.cpp View 2 chunks +12 lines, -5 lines 0 comments Download
M gyp/gmslides.gypi View 1 1 chunk +0 lines, -1 line 0 comments Download
M include/core/SkCanvas.h View 1 chunk +0 lines, -3 lines 0 comments Download
M include/utils/SkDeferredCanvas.h View 1 chunk +0 lines, -2 lines 0 comments Download
M include/utils/SkDumpCanvas.h View 1 chunk +0 lines, -2 lines 0 comments Download
M include/utils/SkLuaCanvas.h View 1 chunk +0 lines, -2 lines 0 comments Download
M include/utils/SkNWayCanvas.h View 1 chunk +0 lines, -2 lines 0 comments Download
M include/utils/SkProxyCanvas.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 chunk +0 lines, -7 lines 0 comments Download
M src/core/SkPictureFlat.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkPicturePlayback.cpp View 1 chunk +4 lines, -1 line 0 comments Download
M src/core/SkPictureRecord.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/core/SkPictureRecord.cpp View 2 chunks +1 line, -13 lines 0 comments Download
M src/core/SkRecordDraw.cpp View 2 chunks +0 lines, -6 lines 0 comments Download
M src/core/SkRecorder.h View 1 chunk +0 lines, -3 lines 0 comments Download
M src/core/SkRecorder.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M src/core/SkRecords.h View 2 chunks +0 lines, -2 lines 0 comments Download
M src/pdf/SkPDFShader.cpp View 1 2 7 chunks +17 lines, -11 lines 0 comments Download
M src/pipe/SkGPipePriv.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/pipe/SkGPipeRead.cpp View 2 chunks +0 lines, -14 lines 0 comments Download
M src/pipe/SkGPipeWrite.cpp View 2 chunks +0 lines, -12 lines 0 comments Download
M src/utils/SkDeferredCanvas.cpp View 1 chunk +0 lines, -11 lines 0 comments Download
M src/utils/SkDumpCanvas.cpp View 1 chunk +0 lines, -9 lines 0 comments Download
M src/utils/SkLuaCanvas.cpp View 1 chunk +0 lines, -8 lines 0 comments Download
M src/utils/SkNWayCanvas.cpp View 1 chunk +0 lines, -8 lines 0 comments Download
M src/utils/SkProxyCanvas.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M src/utils/debugger/SkDebugCanvas.h View 1 chunk +0 lines, -3 lines 0 comments Download
M src/utils/debugger/SkDebugCanvas.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M src/utils/debugger/SkDrawCommand.h View 1 chunk +0 lines, -15 lines 0 comments Download
M src/utils/debugger/SkDrawCommand.cpp View 1 chunk +0 lines, -29 lines 0 comments Download
M tests/PictureTest.cpp View 1 1 chunk +0 lines, -1 line 0 comments Download
M tests/SurfaceTest.cpp View 2 chunks +0 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
f(malita)
Chrome/Blink are drawBitmapMatrix-free, and hopefully so is Android. https://codereview.chromium.org/789033002/diff/1/gm/bitmapmatrix.cpp File gm/bitmapmatrix.cpp (right): https://codereview.chromium.org/789033002/diff/1/gm/bitmapmatrix.cpp#newcode32 gm/bitmapmatrix.cpp:32: return ...
6 years ago (2014-12-09 23:50:08 UTC) #2
mtklein
I have some small comments, but overall this LGTM. I'm happy to see it go, ...
6 years ago (2014-12-10 14:48:10 UTC) #3
robertphillips
lgtm
6 years ago (2014-12-10 15:00:37 UTC) #4
reed1
lgtm
6 years ago (2014-12-10 15:19:51 UTC) #5
f(malita)
On 2014/12/10 14:48:10, mtklein wrote: > I guess the obvious question is, why did this ...
6 years ago (2014-12-10 15:33:56 UTC) #6
mtklein
https://codereview.chromium.org/789033002/diff/20001/src/pdf/SkPDFShader.cpp File src/pdf/SkPDFShader.cpp (right): https://codereview.chromium.org/789033002/diff/20001/src/pdf/SkPDFShader.cpp#newcode472 src/pdf/SkPDFShader.cpp:472: static void drawBitmapMatrix(SkCanvas& canvas, const SkBitmap& bm, const SkMatrix& ...
6 years ago (2014-12-10 16:15:37 UTC) #7
reed1
On 2014/12/10 16:15:37, mtklein wrote: > https://codereview.chromium.org/789033002/diff/20001/src/pdf/SkPDFShader.cpp > File src/pdf/SkPDFShader.cpp (right): > > https://codereview.chromium.org/789033002/diff/20001/src/pdf/SkPDFShader.cpp#newcode472 > ...
6 years ago (2014-12-10 16:34:51 UTC) #8
f(malita)
On 2014/12/10 16:34:51, reed1 wrote: > On 2014/12/10 16:15:37, mtklein wrote: > > https://codereview.chromium.org/789033002/diff/20001/src/pdf/SkPDFShader.cpp > ...
6 years ago (2014-12-10 17:00:57 UTC) #9
f(malita)
6 years ago (2014-12-10 17:02:20 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
c54d8db4d169ea5f2af2a9a2349df007bd428475 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698