skia2/include
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
..
animator grab from latest android 2008-12-17 15:59:43 +00:00
config get tests closer to passing for SKIA_SCALAR=fixed 2011-05-17 17:36:59 +00:00
core Add option in flattening to write factory names inline, as we are recording. 2011-06-21 19:24:00 +00:00
effects Add option in flattening to write factory names inline, as we are recording. 2011-06-21 19:24:00 +00:00
gpu Add GrRenderTexture cons for gpu dev. Remove factory from gpu device. 2011-06-17 15:10:21 +00:00
images merge from android tree: 2011-02-23 20:46:31 +00:00
pdf Add createNewCompatibleDevice. Allow devices to have a NULL factory and saveLayer will fall back on createNewCompatibleDevice. 2011-06-17 13:10:25 +00:00
pipe Modified Pipe Reader to read an atom at a time 2011-06-16 21:08:19 +00:00
ports Changed mac specific files to use ApplicationServices rather than Carbon 2011-06-21 13:09:32 +00:00
svg update to match latest skia apis 2010-05-17 14:34:13 +00:00
text experimental draft, please ignore 2010-02-11 13:56:04 +00:00
utils Changed mac specific files to use ApplicationServices rather than Carbon 2011-06-21 13:09:32 +00:00
views Add a way to save to PDF in SampleApp on Android and elsewhere. 2011-06-21 14:44:57 +00:00
xml update windows port 2009-12-18 21:33:39 +00:00