Index: bench/DisplacementBench.cpp |
=================================================================== |
--- bench/DisplacementBench.cpp (revision 10994) |
+++ bench/DisplacementBench.cpp (working copy) |
@@ -5,9 +5,9 @@ |
* found in the LICENSE file. |
*/ |
#include "SkBenchmark.h" |
+#include "SkBitmapDevice.h" |
#include "SkBitmapSource.h" |
#include "SkCanvas.h" |
-#include "SkDevice.h" |
#include "SkDisplacementMapEffect.h" |
#define FILTER_WIDTH_SMALL 32 |
@@ -35,7 +35,7 @@ |
const int h = isSmall() ? FILTER_HEIGHT_LARGE : FILTER_HEIGHT_LARGE; |
fBitmap.setConfig(SkBitmap::kARGB_8888_Config, w, h); |
fBitmap.allocPixels(); |
- SkDevice device(fBitmap); |
+ SkBitmapDevice device(fBitmap); |
SkCanvas canvas(&device); |
canvas.clear(0x00000000); |
SkPaint paint; |
@@ -51,7 +51,7 @@ |
const int h = isSmall() ? FILTER_HEIGHT_LARGE : FILTER_HEIGHT_LARGE; |
fCheckerboard.setConfig(SkBitmap::kARGB_8888_Config, w, h); |
fCheckerboard.allocPixels(); |
- SkDevice device(fCheckerboard); |
+ SkBitmapDevice device(fCheckerboard); |
SkCanvas canvas(&device); |
canvas.clear(0x00000000); |
SkPaint darkPaint; |