Home
last modified time | relevance | path

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

12345

/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()
83 SkFlattenable::Factory SkFlattenable::NameToFactory(const char name[]) { in NameToFactory()
97 bool SkFlattenable::NameToType(const char name[], SkFlattenable::Type* type) { in NameToType()
113 const char* SkFlattenable::FactoryToName(Factory fact) { in FactoryToName()
DSkGlobalInitialization_core.cpp29 void SkFlattenable::PrivateInitializer::InitCore() { in InitCore()
57 void SkFlattenable::InitializeFlattenablesIfNeeded() { in InitializeFlattenablesIfNeeded()
58 SkOnce(&once, SkFlattenable::PrivateInitializer::InitCore); in InitializeFlattenablesIfNeeded()
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.h128 virtual SkFlattenable* readFlattenable(SkFlattenable::Type);
190 void setFactoryPlayback(SkFlattenable::Factory array[], int count) { in setFactoryPlayback()
201 void setFactoryArray(SkTDArray<SkFlattenable::Factory>* array) { in setFactoryArray()
236 SkTDArray<SkFlattenable::Factory>* fFactoryTDArray;
237 SkFlattenable::Factory* fFactoryArray;
DSkValidatingReadBuffer.cpp225 SkFlattenable* SkValidatingReadBuffer::readFlattenable(SkFlattenable::Type type) { in readFlattenable()
234 SkFlattenable::Type baseType; in readFlattenable()
235 if (!SkFlattenable::NameToType(cname, &baseType) || (baseType != type)) { in readFlattenable()
239 SkFlattenable::Factory factory = SkFlattenable::NameToFactory(cname); in readFlattenable()
246 SkFlattenable* obj = nullptr; in readFlattenable()
DSkReadBuffer.cpp336 SkFlattenable* SkReadBuffer::readFlattenable(SkFlattenable::Type ft) { in readFlattenable()
341 SkFlattenable::Factory factory = nullptr; in readFlattenable()
366 factory = (SkFlattenable::Factory)readFunctionPtr(); in readFlattenable()
374 SkFlattenable* obj = nullptr; in readFlattenable()
DSkPictureData.cpp138 static size_t compute_chunk_size(SkFlattenable::Factory* array, int count) { in compute_chunk_size()
142 const char* name = SkFlattenable::FactoryToName(array[i]); in compute_chunk_size()
168 SkAutoSTMalloc<16, SkFlattenable::Factory> storage(count); in WriteFactories()
169 SkFlattenable::Factory* array = (SkFlattenable::Factory*)storage.get(); in WriteFactories()
180 const char* name = SkFlattenable::FactoryToName(array[i]); in WriteFactories()
377 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()
104 SkFlattenable* SkSumPathEffect::CreateProc(SkReadBuffer& buffer) { in CreateProc()
/external/skia/include/core/
DSkFlattenable.h46 SkFlattenable::Register(#flattenable, flattenable::CreateProc, \
51 static SkFlattenable* CreateProc(SkReadBuffer&); \
52 friend class SkFlattenable::PrivateInitializer; \
70 class SK_API SkFlattenable : public SkRefCnt {
85 typedef SkFlattenable* (*Factory)(SkReadBuffer&);
87 SkFlattenable() {} in SkFlattenable() function
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 {
38 typedef SkFlattenable INHERITED;
DSkDrawLooper.h31 class SK_API SkDrawLooper : public SkFlattenable {
116 typedef SkFlattenable INHERITED;
DSkColorFilter.h27 class SK_API SkColorFilter : public SkFlattenable {
165 typedef SkFlattenable INHERITED;
DSkMaskFilter.h43 class SK_API SkMaskFilter : public SkFlattenable {
240 typedef SkFlattenable INHERITED;
DSkWriteBuffer.h22 class SkFlattenable; variable
64 void writeFlattenable(const SkFlattenable* flattenable);
DSkPathEffect.h29 class SK_API SkPathEffect : public SkFlattenable {
147 typedef SkFlattenable INHERITED;
DSkXfermode.h35 class SK_API SkXfermode : public SkFlattenable {
271 typedef SkFlattenable INHERITED;
DSkShader.h36 class SK_API SkShader : public SkFlattenable {
440 typedef SkFlattenable INHERITED;
/external/skia/tests/
DFlattenableFactoryToName.cpp13 const SkFlattenable* f, in test_flattenable()
16 SkFlattenable::Factory factory = f->getFactory(); in test_flattenable()
19 if (!SkFlattenable::FactoryToName(factory)) { in test_flattenable()
/external/skia/gm/
Dimagefiltersbase.cpp24 SkFlattenable::Register("FailImageFilter", in Registrar()
48 SkFlattenable* FailImageFilter::CreateProc(SkReadBuffer& buffer) { in CreateProc()
65 SkFlattenable::Register("IdentityImageFilter", in Registrar()
92 SkFlattenable* IdentityImageFilter::CreateProc(SkReadBuffer& buffer) { in CreateProc()
/external/skia/src/utils/
DSkBitmapSourceDeserializer.h15 class SkBitmapSourceDeserializer : public SkFlattenable {
/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.cpp110 SkFlattenable* SkLine2DPathEffect::CreateProc(SkReadBuffer& buffer) { in CreateProc()
138 SkFlattenable* SkPath2DPathEffect::CreateProc(SkReadBuffer& buffer) { in CreateProc()

12345