diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-20 17:49:04 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-20 17:49:04 +0000 |
commit | 3055b700189afdd02486ed8f2279cea1d8897243 (patch) | |
tree | a66e6ce6e9717464dd67eb206f76440da9bab059 /bench/DisplacementBench.cpp | |
parent | 4eaa6647e70c9404d1c920f674d706ca2d2a76b9 (diff) |
Split SkDevice out of SkBitmapDevice
https://codereview.chromium.org/22978012/
git-svn-id: http://skia.googlecode.com/svn/trunk@10830 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench/DisplacementBench.cpp')
-rw-r--r-- | bench/DisplacementBench.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/DisplacementBench.cpp b/bench/DisplacementBench.cpp index 5adec1f706..8f1483a50a 100644 --- a/bench/DisplacementBench.cpp +++ b/bench/DisplacementBench.cpp @@ -35,7 +35,7 @@ protected: 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 @@ protected: 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; |