Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(403)

Unified Diff: include/core/SkDevice.h

Issue 327263002: remove SK_SUPPORT_LEGACY_DEVICE_CONFIG code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkBitmapDevice.h ('k') | include/gpu/SkGpuDevice.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkDevice.h
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index e58a491563a7511cda871a01fb2e80fc229c870c..25ad4993869f5eb833c8fdc9db081e7b97b342b3 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -1,4 +1,3 @@
-
/*
* Copyright 2010 The Android Open Source Project
*
@@ -6,7 +5,6 @@
* found in the LICENSE file.
*/
-
#ifndef SkDevice_DEFINED
#define SkDevice_DEFINED
@@ -76,18 +74,11 @@ public:
bounds->setXYWH(origin.x(), origin.y(), this->width(), this->height());
}
-
/** Returns true if the device's bitmap's config treats every pixel as
implicitly opaque.
*/
virtual bool isOpaque() const = 0;
-#ifdef SK_SUPPORT_LEGACY_DEVICE_CONFIG
- /** Return the bitmap config of the device's pixels
- */
- virtual SkBitmap::Config config() const = 0;
-#endif
-
/** Return the bitmap associated with this device. Call this each time you need
to access the bitmap, as it notifies the subclass to perform any flushing
etc. before you examine the pixels.
« no previous file with comments | « include/core/SkBitmapDevice.h ('k') | include/gpu/SkGpuDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698