aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkDevice.h')
-rw-r--r--include/core/SkDevice.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index e38e2aa428..ed1c8fd63b 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -90,9 +90,8 @@ public:
*/
virtual bool isOpaque() const = 0;
- /** Return the bitmap config of the device's pixels
+ /** DEPRECATED - Return the bitmap config of the device's pixels
*/
- SK_ATTR_DEPRECATED("want to hide configness of the device -- don't use")
virtual SkBitmap::Config config() const = 0;
/** Return the bitmap associated with this device. Call this each time you need
@@ -118,7 +117,6 @@ public:
* will determines how the pixel valuess are intepreted. If the bitmap is
* not kARGB_8888_Config then this parameter is ignored.
*/
- SK_ATTR_DEPRECATED("use SkCanvas version of same call")
virtual void writePixels(const SkBitmap& bitmap, int x, int y,
SkCanvas::Config8888 config8888 = SkCanvas::kNative_Premul_Config8888) = 0;