skia2/src/views
commit-bot@chromium.org 7c9d0f3104 Factory methods for heap-allocated SkMaskFilter objects.
This is part of an effort to ensure that all SkPaint effects can only be
allocated on the heap.

This patch makes the constructors of SkMaskFilter and its subclasses non-public
and instead provides factory methods for  creating these objects on the heap. We
temporarily keep constructor of publicly visible classes public behind a flag.

BUG=skia:2187
R=scroggo@google.com, mtklein@google.com, reed@google.com

Author: dominikg@chromium.org

Review URL: https://codereview.chromium.org/173633003

git-svn-id: http://skia.googlecode.com/svn/trunk@13527 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-02-21 10:13:32 +00:00
..
animated Fix compilation with SK_ENABLE_INST_COUNT=1 2013-12-05 12:08:12 +00:00
ios Make SkOSWindow return the sample count and stencil bit count for its GL context. 2013-03-05 20:06:05 +00:00
mac use SkColorType instead of SkBitmap::Config in views/effects 2014-02-16 22:03:38 +00:00
sdl Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
unix Cleanup: Remove unused includes from skia_unix.cpp 2014-01-11 16:42:10 +00:00
win Move GrGLInterface function pointers into a nested struct 2014-01-21 16:09:18 +00:00
SkBGViewArtist.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkEvent.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkEventSink.cpp Fix compilation with SK_ENABLE_INST_COUNT=1 2013-12-05 12:08:12 +00:00
SkOSMenu.cpp Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:14:13 +00:00
SkParsePaint.cpp deprecate SkScalarRound (and its ilk), use SkScalarRound[ToInt,ToScalar]. #define SK_SUPPORT_DEPRECATED_SCALARROUND for legacy clients 2013-12-17 19:22:07 +00:00
SkProgressView.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkStackViewLayout.cpp deprecate SkScalarRound (and its ilk), use SkScalarRound[ToInt,ToScalar]. #define SK_SUPPORT_DEPRECATED_SCALARROUND for legacy clients 2013-12-17 19:22:07 +00:00
SkTagList.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkTagList.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkTextBox.cpp Fix a bug in SkTextBox. 2013-04-24 14:10:57 +00:00
SkTouchGesture.cpp remove SkFloatToScalar macro 2013-11-25 19:44:07 +00:00
SkView.cpp Fix compilation with SK_ENABLE_INST_COUNT=1 2013-12-05 12:08:12 +00:00
SkViewInflate.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkViewPriv.cpp Removed unused parameters 2013-03-12 14:36:57 +00:00
SkViewPriv.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkWidgets.cpp Factory methods for heap-allocated SkMaskFilter objects. 2014-02-21 10:13:32 +00:00
SkWindow.cpp use SkColorType instead of SkBitmap::Config in views/effects 2014-02-16 22:03:38 +00:00