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

Unified Diff: include/core/SkBitmap.h

Issue 183763035: remove SK_SUPPORT_DEEPCOPYTO_CONFIG code -- no longer used (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 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 | « gyp/tests.gypi ('k') | src/core/SkBitmap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkBitmap.h
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
index 578865eb809e18bb4a89be50f038ee7cde9609df..c0632e2d45f38cd474db0fa1f68fdecd3ecfe257 100644
--- a/include/core/SkBitmap.h
+++ b/include/core/SkBitmap.h
@@ -16,8 +16,6 @@
//#define SK_SUPPORT_LEGACY_COPYTO_CONFIG
-//#define SK_SUPPORT_DEEPCOPYTO_CONFIG
-
struct SkMask;
struct SkIRect;
struct SkRect;
@@ -647,19 +645,6 @@ public:
*/
bool canCopyTo(SkColorType colorType) const;
- /** Makes a deep copy of this bitmap, respecting the requested config, and
- * with custom allocation logic that will keep the copied pixels
- * in the same domain as the source: If the src pixels are allocated for
- * the cpu, then so will the dst. If the src pixels are allocated on the
- * gpu (typically as a texture), the it will do the same for the dst.
- * If the request cannot be fulfilled, returns false and dst is unmodified.
- */
-#ifndef SK_SUPPORT_DEEPCOPYTO_CONFIG
-private:
-#endif
- bool deepCopyTo(SkBitmap* dst, Config c) const;
-public:
-
/** Makes a deep copy of this bitmap, keeping the copied pixels
* in the same domain as the source: If the src pixels are allocated for
* the cpu, then so will the dst. If the src pixels are allocated on the
« no previous file with comments | « gyp/tests.gypi ('k') | src/core/SkBitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698