skia2/include/effects
reed@google.com 6bac947cd5 Add option in flattening to write factory names inline, as we are recording.
SkGPipe needs this, since it cannot (unlike SkPicture) see all of the factories
before it hands its data to the reader.

In this mode, the writer embedds the factory name the first time it sees it,
and then after that writes an index (referencing the fFactorySet). The reader
installs an empty array, and as it encounters names, appends them to that array
so that subsequent indices can be used to retrieve the previously named factory.

Some of the existing patheffects did not register their factory names, so those
changes are also part of this CL. Annoyingly, to register your factory using the
current scheme, it has to be in the public section of the class definition.




git-svn-id: http://skia.googlecode.com/svn/trunk@1663 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-21 19:24:00 +00:00
..
Sk1DPathEffect.h grab from latest android 2008-12-17 15:59:43 +00:00
Sk2DPathEffect.h code style 2011-04-20 11:17:30 +00:00
SkAvoidXfermode.h Add missing flattenable registrations and CreateProc() functions; 2011-04-27 14:09:52 +00:00
SkBlurDrawLooper.h Simplify drawloopers and drawfilters. This allows the canvas to keep its 2011-04-07 14:18:59 +00:00
SkBlurMaskFilter.h Add DLL exports (Fixes Multi-DLL build in Chrome against TOT skia) 2011-04-15 15:42:24 +00:00
SkColorMatrix.h grab from latest android 2008-12-17 15:59:43 +00:00
SkColorMatrixFilter.h Add missing flattenable registrations and CreateProc() functions; 2011-04-27 14:09:52 +00:00
SkCornerPathEffect.h Add option in flattening to write factory names inline, as we are recording. 2011-06-21 19:24:00 +00:00
SkDashPathEffect.h Add option in flattening to write factory names inline, as we are recording. 2011-06-21 19:24:00 +00:00
SkDiscretePathEffect.h Add option in flattening to write factory names inline, as we are recording. 2011-06-21 19:24:00 +00:00
SkDrawExtraPathEffect.h grab from latest android 2008-12-17 15:59:43 +00:00
SkEmbossMaskFilter.h code style 2011-04-20 11:17:30 +00:00
SkGradientShader.h Add code needed to build skia as a windows dll within the chromium project. 2011-03-15 21:27:08 +00:00
SkGroupShape.h add shape flatten so they work properly in pictures 2009-06-29 16:02:20 +00:00
SkKernel33MaskFilter.h code style 2011-04-20 11:17:30 +00:00
SkLayerDrawLooper.h Add DLL exports (Fixes Multi-DLL build in Chrome against TOT skia) 2011-04-15 15:42:24 +00:00
SkLayerRasterizer.h code style 2011-04-20 11:17:30 +00:00
SkPaintFlagsDrawFilter.h Simplify drawloopers and drawfilters. This allows the canvas to keep its 2011-04-07 14:18:59 +00:00
SkPixelXorXfermode.h Add missing flattenable registrations and CreateProc() functions; 2011-04-27 14:09:52 +00:00
SkPorterDuff.h Upstreaming changes from android. 2011-03-14 20:30:14 +00:00
SkRectShape.h add shape flatten so they work properly in pictures 2009-06-29 16:02:20 +00:00
SkTableMaskFilter.h rename gamma to table, since it is more general than just gamma 2009-10-29 17:37:56 +00:00
SkTransparentShader.h code style 2011-04-20 11:17:30 +00:00