skia2/include
mdempsky 00d6e515e5 Eliminate some clutter in SkFlattenable
The Registrar class is unnecessary, as SkFlattenable factory
registration is now handled via initialization routines that can just
call the Register function directly.

Also, no need to lazily initialize gCount to 0, as initializing an int
to a constant value does not require dynamic initialization.  (C++
actually guarantees zero initialization of global ints anyway, but
existing practice in Skia appears to favor the explicit "= 0").

Relatedly, this requires removing the unused/unimplemented
SkLayerDrawLooper::MyRegistrar class.  And removing that allows Clang
to realize that SkLayerDrawLooper::fTopRec is unneeded too, so remove
that too to squelch the compiler warning/error.

This doesn't change any public API.
TBR=reed@google.com

Review URL: https://codereview.chromium.org/1361323002
2015-09-24 15:04:45 -07:00
..
animator Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
c Documentation: C API comments 2015-09-01 10:45:09 -07:00
codec Scanline decoding for bmp 2015-08-31 06:55:13 -07:00
config remove SkInstCnt 2015-06-26 11:45:03 -07:00
core Eliminate some clutter in SkFlattenable 2015-09-24 15:04:45 -07:00
device/xps C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} 2015-03-25 18:17:32 -07:00
effects Eliminate some clutter in SkFlattenable 2015-09-24 15:04:45 -07:00
gpu Stop supporting HW dither 2015-09-22 11:38:46 -07:00
images remove SkInstCnt 2015-06-26 11:45:03 -07:00
pathops Revert of Revert of remove SK_SUPPORT_LEGACY_PATHOP_ENUMS (patchset #1 id:1 of https://codereview.chromium.org/1203983003/) 2015-06-26 10:23:07 -07:00
pipe Fixing leaky handling of SkImage in SkDeferredCanvas. 2015-06-02 11:47:45 -07:00
ports Make mutex semaphore based. 2015-09-24 07:34:49 -07:00
private Make mutex semaphore based. 2015-09-24 07:34:49 -07:00
svg Remove SK_OFFSETOF from SkTypes, clean up offsetof usage. 2015-08-25 12:05:55 -07:00
utils Move SkTemplates.h to private. 2015-08-19 11:56:48 -07:00
views skia: Add support for ANGLE on linux 2015-09-23 11:35:55 -07:00
xml Move SkTemplates.h to private. 2015-08-19 11:56:48 -07:00