Home
last modified time | relevance | path

Searched refs:SkFlattenable (Results 1 – 25 of 98) sorted by relevance

1234

/external/skia/src/core/
DSkFlattenable.cpp14 uint32_t SkNamedFactorySet::find(SkFlattenable::Factory factory) { in find()
19 const char* name = SkFlattenable::FactoryToName(factory); in find()
55 SkFlattenable::Factory fFactory;
56 SkFlattenable::Type fType;
62 void SkFlattenable::Register(const char name[], Factory factory, SkFlattenable::Type type) { in Register()
90 SkFlattenable::Factory SkFlattenable::NameToFactory(const char name[]) { in NameToFactory()
104 bool SkFlattenable::NameToType(const char name[], SkFlattenable::Type* type) { in NameToType()
120 const char* SkFlattenable::FactoryToName(Factory fact) { in FactoryToName()
DSkFlattenableSerialization.cpp14 SkData* SkValidatingSerializeFlattenable(SkFlattenable* flattenable) { in SkValidatingSerializeFlattenable()
23 SkFlattenable* SkValidatingDeserializeFlattenable(const void* data, size_t size, in SkValidatingDeserializeFlattenable()
24 SkFlattenable::Type type) { in SkValidatingDeserializeFlattenable()
DSkReadBuffer.h125 virtual SkFlattenable* readFlattenable(SkFlattenable::Type);
185 void setFactoryPlayback(SkFlattenable::Factory array[], int count) { in setFactoryPlayback()
196 void setFactoryArray(SkTDArray<SkFlattenable::Factory>* array) { in setFactoryArray()
231 SkTDArray<SkFlattenable::Factory>* fFactoryTDArray;
232 SkFlattenable::Factory* fFactoryArray;
DSkValidatingReadBuffer.cpp224 SkFlattenable* SkValidatingReadBuffer::readFlattenable(SkFlattenable::Type type) { in readFlattenable()
233 SkFlattenable::Type baseType; in readFlattenable()
234 if (!SkFlattenable::NameToType(cname, &baseType) || (baseType != type)) { in readFlattenable()
238 SkFlattenable::Factory factory = SkFlattenable::NameToFactory(cname); in readFlattenable()
245 SkFlattenable* obj = NULL; in readFlattenable()
DSkReadBuffer.cpp291 SkFlattenable* SkReadBuffer::readFlattenable(SkFlattenable::Type ft) { in readFlattenable()
296 SkFlattenable::Factory factory = NULL; in readFlattenable()
314 factory = (SkFlattenable::Factory)readFunctionPtr(); in readFlattenable()
322 SkFlattenable* obj = NULL; in readFlattenable()
DSkPictureData.cpp115 static size_t compute_chunk_size(SkFlattenable::Factory* array, int count) { in compute_chunk_size()
119 const char* name = SkFlattenable::FactoryToName(array[i]); in compute_chunk_size()
145 SkAutoSTMalloc<16, SkFlattenable::Factory> storage(count); in WriteFactories()
146 SkFlattenable::Factory* array = (SkFlattenable::Factory*)storage.get(); in WriteFactories()
157 const char* name = SkFlattenable::FactoryToName(array[i]); in WriteFactories()
335 fFactoryPlayback->base()[i] = SkFlattenable::NameToFactory(str.c_str()); in parseStreamTag()
DSkPtrRecorder.h139 class SkFactorySet : public SkTPtrSet<SkFlattenable::Factory> {};
156 uint32_t find(SkFlattenable::Factory);
DSkValidatingReadBuffer.h42 SkFlattenable* readFlattenable(SkFlattenable::Type type) override;
DSkPathEffect.cpp67 SkFlattenable* SkComposePathEffect::CreateProc(SkReadBuffer& buffer) { in CreateProc()
100 SkFlattenable* SkSumPathEffect::CreateProc(SkReadBuffer& buffer) { in CreateProc()
/external/skia/include/core/
DSkFlattenable.h44 SkFlattenable::Registrar(#flattenable, flattenable::CreateProc, \
49 static SkFlattenable* CreateProc(SkReadBuffer&); \
68 class SK_API SkFlattenable : public SkRefCnt {
83 SK_DECLARE_INST_COUNT(SkFlattenable)
85 typedef SkFlattenable* (*Factory)(SkReadBuffer&);
87 SkFlattenable() {} in SkFlattenable() function
108 SkFlattenable::Register(name, factory, type); in Registrar()
DSkFlattenableSerialization.h15 SK_API SkData* SkValidatingSerializeFlattenable(SkFlattenable*);
16 SK_API SkFlattenable* SkValidatingDeserializeFlattenable(const void* data, size_t size,
17 SkFlattenable::Type type);
DSkRasterizer.h21 class SK_API SkRasterizer : public SkFlattenable {
40 typedef SkFlattenable INHERITED;
DSkDrawLooper.h31 class SK_API SkDrawLooper : public SkFlattenable {
118 typedef SkFlattenable INHERITED;
DSkColorFilter.h28 class SK_API SkColorFilter : public SkFlattenable {
162 typedef SkFlattenable INHERITED;
DSkMaskFilter.h42 class SK_API SkMaskFilter : public SkFlattenable {
229 typedef SkFlattenable INHERITED;
DSkXfermode.h32 class SK_API SkXfermode : public SkFlattenable {
249 typedef SkFlattenable INHERITED;
DSkWriteBuffer.h22 class SkFlattenable; variable
64 void writeFlattenable(const SkFlattenable* flattenable);
DSkPathEffect.h30 class SK_API SkPathEffect : public SkFlattenable {
150 typedef SkFlattenable INHERITED;
DSkShader.h35 class SK_API SkShader : public SkFlattenable {
486 typedef SkFlattenable INHERITED;
/external/skia/src/pipe/
DSkGPipeRead.cpp33 static SkFlattenable::Type paintflat_to_flattype(PaintFlats pf) { in paintflat_to_flattype()
35 SkFlattenable::kSkColorFilter_Type, in paintflat_to_flattype()
36 SkFlattenable::kSkDrawLooper_Type, in paintflat_to_flattype()
37 SkFlattenable::kSkImageFilter_Type, in paintflat_to_flattype()
38 SkFlattenable::kSkMaskFilter_Type, in paintflat_to_flattype()
39 SkFlattenable::kSkPathEffect_Type, in paintflat_to_flattype()
40 SkFlattenable::kSkRasterizer_Type, in paintflat_to_flattype()
41 SkFlattenable::kSkShader_Type, in paintflat_to_flattype()
42 SkFlattenable::kSkXfermode_Type, in paintflat_to_flattype()
46 return (SkFlattenable::Type)gEffectTypesInPaintFlatsOrder[pf]; in paintflat_to_flattype()
[all …]
/external/skia/include/effects/
DSkLayerDrawLooper.h85 static SkFlattenable* CreateProc(SkReadBuffer& buffer);
116 class MyRegistrar : public SkFlattenable::Registrar {
/external/skia/gm/
Dimagefiltersbase.cpp24 SkFlattenable::Register("FailImageFilter", in Registrar()
50 SkFlattenable* FailImageFilter::CreateProc(SkReadBuffer& buffer) { in CreateProc()
67 SkFlattenable::Register("IdentityImageFilter", in Registrar()
94 SkFlattenable* IdentityImageFilter::CreateProc(SkReadBuffer& buffer) { in CreateProc()
/external/skia/site/dev/contrib/
Dflatten.md6 font cache. Classes for these objects should derive from SkFlattenable or one of
72 You need to add one line to SkFlattenable::InitalizeFlattenables(). To register the
/external/skia/src/effects/
DSk2DPathEffect.cpp109 SkFlattenable* SkLine2DPathEffect::CreateProc(SkReadBuffer& buffer) { in CreateProc()
137 SkFlattenable* SkPath2DPathEffect::CreateProc(SkReadBuffer& buffer) { in CreateProc()
DSkPixelXorXfermode.cpp28 SkFlattenable* SkPixelXorXfermode::CreateProc(SkReadBuffer& buffer) { in CreateProc()

1234