Home
last modified time | relevance | path

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

12345678

/third_party/skia/src/core/
DSkFlattenable.cpp16 uint32_t SkNamedFactorySet::find(SkFlattenable::Factory factory) { in find()
21 const char* name = SkFlattenable::FactoryToName(factory); in find()
57 SkFlattenable::Factory fFactory;
77 void SkFlattenable::Finalize() { in Finalize()
81 void SkFlattenable::Register(const char name[], Factory factory) { in Register()
91 SkFlattenable::Factory SkFlattenable::NameToFactory(const char name[]) { in NameToFactory()
102 const char* SkFlattenable::FactoryToName(Factory fact) { in FactoryToName()
116 sk_sp<SkData> SkFlattenable::serialize(const SkSerialProcs* procs) const { in serialize()
128 size_t SkFlattenable::serialize(void* memory, size_t memory_size, in serialize()
138 sk_sp<SkFlattenable> SkFlattenable::Deserialize(SkFlattenable::Type type, const void* data, in Deserialize()
[all …]
DSkGlobalInitialization_core.cpp11 void SkFlattenable::RegisterFlattenablesIfNeeded() { in RegisterFlattenablesIfNeeded()
14 SkFlattenable::PrivateInitializer::InitEffects(); in RegisterFlattenablesIfNeeded()
15 SkFlattenable::PrivateInitializer::InitImageFilters(); in RegisterFlattenablesIfNeeded()
16 SkFlattenable::Finalize(); in RegisterFlattenablesIfNeeded()
DSkColorFilterBase.h58 static SkFlattenable::Type GetFlattenableType() { in GetFlattenableType()
62 SkFlattenable::Type getFlattenableType() const override { in getFlattenableType()
69 SkFlattenable::Deserialize(
89 using INHERITED = SkFlattenable;
/third_party/flutter/skia/src/core/
DSkFlattenable.cpp16 uint32_t SkNamedFactorySet::find(SkFlattenable::Factory factory) { in find()
21 const char* name = SkFlattenable::FactoryToName(factory); in find()
57 SkFlattenable::Factory fFactory;
77 void SkFlattenable::Finalize() { in Finalize()
81 void SkFlattenable::Register(const char name[], Factory factory) { in Register()
91 SkFlattenable::Factory SkFlattenable::NameToFactory(const char name[]) { in NameToFactory()
102 const char* SkFlattenable::FactoryToName(Factory fact) { in FactoryToName()
116 sk_sp<SkData> SkFlattenable::serialize(const SkSerialProcs* procs) const { in serialize()
128 size_t SkFlattenable::serialize(void* memory, size_t memory_size, in serialize()
138 sk_sp<SkFlattenable> SkFlattenable::Deserialize(SkFlattenable::Type type, const void* data, in Deserialize()
[all …]
DSkGlobalInitialization_core.cpp11 void SkFlattenable::RegisterFlattenablesIfNeeded() { in RegisterFlattenablesIfNeeded()
14 SkFlattenable::PrivateInitializer::InitEffects(); in RegisterFlattenablesIfNeeded()
15 SkFlattenable::PrivateInitializer::InitImageFilters(); in RegisterFlattenablesIfNeeded()
16 SkFlattenable::Finalize(); in RegisterFlattenablesIfNeeded()
DSkReadBuffer.h105 SkFlattenable* readFlattenable(SkFlattenable::Type);
147 void setFactoryPlayback(SkFlattenable::Factory array[], int count) { in setFactoryPlayback()
204 SkTHashMap<uint32_t, SkFlattenable::Factory> fFlattenableDict;
211 SkFlattenable::Factory* fFactoryArray;
275 SkFlattenable* readFlattenable(SkFlattenable::Type) { return nullptr; } in readFlattenable()
310 void setFactoryPlayback(SkFlattenable::Factory[], int) {} in setFactoryPlayback()
/third_party/skia/include/core/
DSkFlattenable.h26 class SK_API SkFlattenable : public SkRefCnt {
39 typedef sk_sp<SkFlattenable> (*Factory)(SkReadBuffer&);
41 SkFlattenable() {} in SkFlattenable() function
75 static sk_sp<SkFlattenable> Deserialize(Type, const void* data, size_t length,
98 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer&); \
99 friend class SkFlattenable::PrivateInitializer; \
104 SkFlattenable::Register(#type, type::CreateProc)
107 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer&); \
108 friend class SkFlattenable::PrivateInitializer; \
DSkDrawLooper.h32 class SK_API SkDrawLooper : public SkFlattenable {
110 static SkFlattenable::Type GetFlattenableType() { in GetFlattenableType()
114 SkFlattenable::Type getFlattenableType() const override { in getFlattenableType()
121 SkFlattenable::Deserialize(
132 using INHERITED = SkFlattenable;
DSkDrawable.h29 class SK_API SkDrawable : public SkFlattenable {
113 static SkFlattenable::Type GetFlattenableType() { in GetFlattenableType()
117 SkFlattenable::Type getFlattenableType() const override { in getFlattenableType()
124 SkFlattenable::Deserialize(
DSkImageFilter.h30 class SK_API SkImageFilter : public SkFlattenable {
99 SkFlattenable::Deserialize(kSkImageFilter_Type, data, size, procs).release()));
111 using INHERITED = SkFlattenable;
/third_party/flutter/skia/include/core/
DSkFlattenable.h26 class SK_API SkFlattenable : public SkRefCnt {
43 typedef sk_sp<SkFlattenable> (*Factory)(SkReadBuffer&);
45 SkFlattenable() {} in SkFlattenable() function
79 static sk_sp<SkFlattenable> Deserialize(Type, const void* data, size_t length,
98 #define SK_REGISTER_FLATTENABLE(type) SkFlattenable::Register(#type, type::CreateProc)
101 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer&); \
102 friend class SkFlattenable::PrivateInitializer; \
DSkMaskFilter.h25 class SK_API SkMaskFilter : public SkFlattenable {
57 static SkFlattenable::Type GetFlattenableType() { in GetFlattenableType()
61 SkFlattenable::Type getFlattenableType() const override { in getFlattenableType()
68 SkFlattenable::Deserialize(
74 friend class SkFlattenable; variable
DSkDrawLooper.h32 class SK_API SkDrawLooper : public SkFlattenable {
110 static SkFlattenable::Type GetFlattenableType() { in GetFlattenableType()
114 SkFlattenable::Type getFlattenableType() const override { in getFlattenableType()
121 SkFlattenable::Deserialize(
132 typedef SkFlattenable INHERITED;
DSkImageFilter.h31 class SK_API SkImageFilter : public SkFlattenable {
138 static SkFlattenable::Type GetFlattenableType() { in GetFlattenableType()
142 SkFlattenable::Type getFlattenableType() const override { in getFlattenableType()
149 SkFlattenable::Deserialize(kSkImageFilter_Type, data, size, procs).release()));
161 typedef SkFlattenable INHERITED;
DSkPathEffect.h27 class SK_API SkPathEffect : public SkFlattenable {
149 static SkFlattenable::Type GetFlattenableType() { in GetFlattenableType()
153 SkFlattenable::Type getFlattenableType() const override { in getFlattenableType()
160 SkFlattenable::Deserialize(
184 typedef SkFlattenable INHERITED;
DSkColorFilter.h33 class SK_API SkColorFilter : public SkFlattenable {
102 static SkFlattenable::Type GetFlattenableType() { in GetFlattenableType()
106 SkFlattenable::Type getFlattenableType() const override { in getFlattenableType()
113 SkFlattenable::Deserialize(
137 typedef SkFlattenable INHERITED;
DSkDrawable.h29 class SK_API SkDrawable : public SkFlattenable {
113 static SkFlattenable::Type GetFlattenableType() { in GetFlattenableType()
117 SkFlattenable::Type getFlattenableType() const override { in getFlattenableType()
124 SkFlattenable::Deserialize(
/third_party/skia/tests/
DFlattenDrawableTest.cpp35 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc()
73 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc()
108 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc()
109 sk_sp<SkFlattenable> intDrawable( in CreateProc()
110 buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in CreateProc()
114 sk_sp<SkFlattenable> paintDrawable( in CreateProc()
115 buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in CreateProc()
161 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc()
162 sk_sp<SkFlattenable> compoundDrawable( in CreateProc()
163 buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in CreateProc()
[all …]
DFlattenableNameToFactory.cpp12 if (!SkFlattenable::NameToFactory("SkImageShader")) { in DEF_TEST()
15 if (SkFlattenable::NameToFactory("AAA-non-existent")) { in DEF_TEST()
18 if (SkFlattenable::NameToFactory("SkNonExistent")) { in DEF_TEST()
21 if (SkFlattenable::NameToFactory("ZZZ-non-existent")) { in DEF_TEST()
DFlattenableFactoryToName.cpp15 const SkFlattenable* f, in test_flattenable()
18 SkFlattenable::Factory factory = f->getFactory(); in test_flattenable()
21 if (!SkFlattenable::FactoryToName(factory)) { in test_flattenable()
/third_party/flutter/skia/tests/
DFlattenDrawableTest.cpp34 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc()
72 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc()
109 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc()
110 sk_sp<SkFlattenable> intDrawable( in CreateProc()
111 buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in CreateProc()
115 sk_sp<SkFlattenable> paintDrawable( in CreateProc()
116 buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in CreateProc()
162 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc()
163 sk_sp<SkFlattenable> compoundDrawable( in CreateProc()
164 buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in CreateProc()
[all …]
DFlattenableNameToFactory.cpp12 if (!SkFlattenable::NameToFactory("SkImageShader")) { in DEF_TEST()
15 if (SkFlattenable::NameToFactory("AAA-non-existent")) { in DEF_TEST()
18 if (SkFlattenable::NameToFactory("SkNonExistent")) { in DEF_TEST()
21 if (SkFlattenable::NameToFactory("ZZZ-non-existent")) { in DEF_TEST()
DFlattenableFactoryToName.cpp14 const SkFlattenable* f, in test_flattenable()
17 SkFlattenable::Factory factory = f->getFactory(); in test_flattenable()
20 if (!SkFlattenable::FactoryToName(factory)) { in test_flattenable()
/third_party/flutter/skia/src/ports/
DSkGlobalInitialization_default.cpp12 void SkFlattenable::PrivateInitializer::InitEffects() {} in InitEffects()
13 void SkFlattenable::PrivateInitializer::InitImageFilters() {} in InitImageFilters()
61 void SkFlattenable::PrivateInitializer::InitEffects() { in InitEffects()
117 void SkFlattenable::PrivateInitializer::InitImageFilters() { in InitImageFilters()
/third_party/skia/src/ports/
DSkGlobalInitialization_default.cpp12 void SkFlattenable::PrivateInitializer::InitEffects() {} in InitEffects()
13 void SkFlattenable::PrivateInitializer::InitImageFilters() {} in InitImageFilters()
66 void SkFlattenable::PrivateInitializer::InitEffects() { in InitEffects()
125 void SkFlattenable::PrivateInitializer::InitImageFilters() { in InitImageFilters()

12345678