diff options
author | 2014-06-03 10:53:59 -0700 | |
---|---|---|
committer | 2014-06-03 10:54:00 -0700 | |
commit | 868074b50b0fc3e460d2aa97c1096827fe0a1935 (patch) | |
tree | c5ab88df3447648135bda22d667fe93d362d384e /include/core/SkCanvas.h | |
parent | 55ada0630e1ce1bfd6e6e60b70370384530622cc (diff) |
remove SkBounder -- unused and unloved
BUG=skia:
R=scroggo@google.com
Author: reed@google.com
Review URL: https://codereview.chromium.org/312553006
Diffstat (limited to 'include/core/SkCanvas.h')
-rw-r--r-- | include/core/SkCanvas.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index 6eb42d2f5a..4aaf46b397 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -18,22 +18,12 @@ #include "SkRegion.h" #include "SkXfermode.h" -// if not defined, we always assume ClipToLayer for saveLayer() -//#define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG - - -//#define SK_SUPPORT_LEGACY_GETCLIPTYPE -//#define SK_SUPPORT_LEGACY_GETTOTALCLIP -//#define SK_SUPPORT_LEGACY_GETTOPDEVICE - -//#define SK_SUPPORT_LEGACY_DRAWTEXT_VIRTUAL #ifdef SK_SUPPORT_LEGACY_DRAWTEXT_VIRTUAL #define SK_LEGACY_DRAWTEXT_VIRTUAL virtual #else #define SK_LEGACY_DRAWTEXT_VIRTUAL #endif -class SkBounder; class SkBaseDevice; class SkDraw; class SkDrawFilter; @@ -1069,22 +1059,6 @@ public: ////////////////////////////////////////////////////////////////////////// - /** Get the current bounder object. - The bounder's reference count is unchaged. - @return the canva's bounder (or NULL). - */ - SkBounder* getBounder() const { return fBounder; } - - /** Set a new bounder (or NULL). - Pass NULL to clear any previous bounder. - As a convenience, the parameter passed is also returned. - If a previous bounder exists, its reference count is decremented. - If bounder is not NULL, its reference count is incremented. - @param bounder the new bounder (or NULL) to be installed in the canvas - @return the set bounder object - */ - virtual SkBounder* setBounder(SkBounder* bounder); - /** Get the current filter object. The filter's reference count is not affected. The filter is saved/restored, just like the matrix and clip. @return the canvas' filter (or NULL). @@ -1304,7 +1278,6 @@ private: // the first N recs that can fit here mean we won't call malloc uint32_t fMCRecStorage[32]; - SkBounder* fBounder; int fSaveLayerCount; // number of successful saveLayer calls int fCullCount; // number of active culls |