|
This CL cleans up the drawBitmap* call stack a bit in preparation for the "bleed" change; it:
folds SkCanvas::commonDrawBitmap into internalDrawbitmap (its only caller)
removes the 'srcRect' parameter from SkCanvas::internalDrawbitmap (since it was always NULL)
removes the 'srcRectOrNull' parameter from SkDevice::drawBitmap (and derived classes) since it was always NULL
makes a minor change to SkGpuDevice::internalDrawBitmap to only perform checks to turn off the texture domain if it was turned on in the first place
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+37 lines, -90 lines) |
Patch |
|
M |
include/core/SkCanvas.h
|
View
|
1
|
3 chunks |
+4 lines, -9 lines |
0 comments
|
Download
|
|
M |
include/core/SkDevice.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
include/device/xps/SkXPSDevice.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
include/gpu/SkGpuDevice.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
include/pdf/SkPDFDevice.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/core/SkCanvas.cpp
|
View
|
1
|
4 chunks |
+14 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/core/SkDevice.cpp
|
View
|
1
|
2 chunks |
+2 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/device/xps/SkXPSDevice.cpp
|
View
|
1
|
2 chunks |
+2 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/gpu/SkGpuDevice.cpp
|
View
|
1
|
5 chunks |
+11 lines, -24 lines |
0 comments
|
Download
|
|
M |
src/pdf/SkPDFDevice.cpp
|
View
|
1
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/utils/SkDeferredCanvas.cpp
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/utils/SkPictureUtils.cpp
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
tests/DeferredCanvasTest.cpp
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|