aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/SkGpuDevice.h
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-11-03 20:29:47 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-11-03 20:29:47 +0000
commit6850eab42ba4c2a7033a99824b02a2846ce0ef2a (patch)
tree9b4ecfb0c6a4ea734e52692892c91f6419857f6f /include/gpu/SkGpuDevice.h
parent15356a68b2a87e3ab9fc49392d085a4201ffeb62 (diff)
Override 32BPP format in SkCanvas::readPixels
Review URL: http://codereview.appspot.com/5330073/ git-svn-id: http://skia.googlecode.com/svn/trunk@2600 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/SkGpuDevice.h')
-rw-r--r--include/gpu/SkGpuDevice.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/gpu/SkGpuDevice.h b/include/gpu/SkGpuDevice.h
index d394d1202d..631cc065d0 100644
--- a/include/gpu/SkGpuDevice.h
+++ b/include/gpu/SkGpuDevice.h
@@ -142,7 +142,8 @@ protected:
// overrides from SkDevice
virtual bool onReadPixels(const SkBitmap& bitmap,
- int x, int y) SK_OVERRIDE;
+ int x, int y,
+ SkCanvas::Config8888 config8888) SK_OVERRIDE;
private: