/external/skia/include/core/ |
D | SkFlattenable.h | 41 #define SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_START(flattenable) \ argument 42 void flattenable::InitializeFlattenables() { 47 #define SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(flattenable) \ argument 48 SkFlattenable::Register(#flattenable, flattenable::CreateProc, \ 49 flattenable::GetFlattenableType()); 51 #define SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(flattenable) \ argument 61 #define SK_DEFINE_FLATTENABLE_TYPE(flattenable) \ argument 63 return k##flattenable##_Type; \ 66 return k##flattenable##_Type; \ 68 static sk_sp<flattenable> Deserialize(const void* data, size_t size, \ [all …]
|
/external/skqp/include/core/ |
D | SkFlattenable.h | 41 #define SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_START(flattenable) \ argument 42 void flattenable::InitializeFlattenables() { 47 #define SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(flattenable) \ argument 48 SkFlattenable::Register(#flattenable, flattenable::CreateProc, \ 49 flattenable::GetFlattenableType()); 51 #define SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(flattenable) \ argument 61 #define SK_DEFINE_FLATTENABLE_TYPE(flattenable) \ argument 63 return k##flattenable##_Type; \ 66 return k##flattenable##_Type; \ 68 static sk_sp<flattenable> Deserialize(const void* data, size_t size, \ [all …]
|
/external/skia/fuzz/oss_fuzz/ |
D | FuzzImageFilterDeserialize.cpp | 22 auto flattenable = SkImageFilter::Deserialize(bytes->data(), bytes->size()); in FuzzImageFilterDeserialize() local 24 if (flattenable != nullptr) { in FuzzImageFilterDeserialize() 27 paint.setImageFilter(flattenable); in FuzzImageFilterDeserialize()
|
/external/skqp/src/core/ |
D | SkWriteBuffer.cpp | 223 void SkBinaryWriteBuffer::writeFlattenable(const SkFlattenable* flattenable) { in writeFlattenable() argument 224 if (nullptr == flattenable) { in writeFlattenable() 230 this->write32(fDeduper->findOrDefineFactory(const_cast<SkFlattenable*>(flattenable))); in writeFlattenable() 244 SkFlattenable::Factory factory = flattenable->getFactory(); in writeFlattenable() 248 const char* name = flattenable->getTypeName(); in writeFlattenable() 277 flattenable->flatten(*this); in writeFlattenable()
|
D | SkWriteBuffer.h | 45 virtual void writeFlattenable(const SkFlattenable* flattenable) = 0; 104 void writeFlattenable(const SkFlattenable* flattenable) override;
|
/external/skia/src/core/ |
D | SkWriteBuffer.cpp | 223 void SkBinaryWriteBuffer::writeFlattenable(const SkFlattenable* flattenable) { in writeFlattenable() argument 224 if (nullptr == flattenable) { in writeFlattenable() 230 this->write32(fDeduper->findOrDefineFactory(const_cast<SkFlattenable*>(flattenable))); in writeFlattenable() 244 SkFlattenable::Factory factory = flattenable->getFactory(); in writeFlattenable() 248 const char* name = flattenable->getTypeName(); in writeFlattenable() 277 flattenable->flatten(*this); in writeFlattenable()
|
D | SkWriteBuffer.h | 45 virtual void writeFlattenable(const SkFlattenable* flattenable) = 0; 104 void writeFlattenable(const SkFlattenable* flattenable) override;
|
/external/skqp/tools/ |
D | chrome_fuzz.cpp | 35 sk_sp<SkImageFilter> flattenable = SkValidatingDeserializeImageFilter(testdata.c_str(), in run_test_case() local 39 if (flattenable != nullptr) { in run_test_case() 43 paint.setImageFilter(flattenable); in run_test_case()
|
/external/skia/tools/ |
D | chrome_fuzz.cpp | 35 sk_sp<SkImageFilter> flattenable = SkValidatingDeserializeImageFilter(testdata.c_str(), in run_test_case() local 39 if (flattenable != nullptr) { in run_test_case() 43 paint.setImageFilter(flattenable); in run_test_case()
|
/external/skqp/site/dev/contrib/ |
D | flatten.md | 7 its subclasses. If you create a new flattenable class, you need to make sure you 71 5: Register your flattenable with the global registrar: 73 flattenable in a Skia build, that function is defined in `SkGlobalInitialization_default.cpp`. 75 For a single flattenable add
|
/external/skia/site/dev/contrib/ |
D | flatten.md | 7 its subclasses. If you create a new flattenable class, you need to make sure you 71 5: Register your flattenable with the global registrar: 73 flattenable in a Skia build, that function is defined in `SkGlobalInitialization_default.cpp`. 75 For a single flattenable add
|
/external/skia/tools/debugger/ |
D | SkJsonWriteBuffer.cpp | 74 void SkJsonWriteBuffer::writeFlattenable(const SkFlattenable* flattenable) { in writeFlattenable() argument 75 if (flattenable) { in writeFlattenable() 77 flattenable->flatten(flattenableBuffer); in writeFlattenable() 78 this->append(flattenable->getTypeName(), flattenableBuffer.getValue()); in writeFlattenable()
|
D | SkJsonWriteBuffer.h | 34 void writeFlattenable(const SkFlattenable* flattenable) override;
|
D | SkDrawCommand.h | 138 static void flatten(const SkFlattenable* flattenable, Json::Value* target,
|
D | SkDrawCommand.cpp | 717 void SkDrawCommand::flatten(const SkFlattenable* flattenable, Json::Value* target, in flatten() argument 720 flattenable->flatten(buffer); in flatten() 726 jsonFlattenable[SKDEBUGCANVAS_ATTRIBUTE_NAME] = Json::Value(flattenable->getTypeName()); in flatten() 730 flattenable->flatten(jsonBuffer); in flatten()
|
/external/skqp/tools/debugger/ |
D | SkJsonWriteBuffer.cpp | 74 void SkJsonWriteBuffer::writeFlattenable(const SkFlattenable* flattenable) { in writeFlattenable() argument 75 if (flattenable) { in writeFlattenable() 77 flattenable->flatten(flattenableBuffer); in writeFlattenable() 78 this->append(flattenable->getTypeName(), flattenableBuffer.getValue()); in writeFlattenable()
|
D | SkJsonWriteBuffer.h | 34 void writeFlattenable(const SkFlattenable* flattenable) override;
|
D | SkDrawCommand.h | 138 static void flatten(const SkFlattenable* flattenable, Json::Value* target,
|
D | SkDrawCommand.cpp | 717 void SkDrawCommand::flatten(const SkFlattenable* flattenable, Json::Value* target, in flatten() argument 720 flattenable->flatten(buffer); in flatten() 726 jsonFlattenable[SKDEBUGCANVAS_ATTRIBUTE_NAME] = Json::Value(flattenable->getTypeName()); in flatten() 730 flattenable->flatten(jsonBuffer); in flatten()
|
/external/skqp/tests/ |
D | SerializationTest.cpp | 49 static void Write(SkWriteBuffer& writer, const T* flattenable) { in Write() 50 writer.writeFlattenable(flattenable); in Write() 52 static void Read(SkReadBuffer& reader, T** flattenable) { in Read() 53 *flattenable = (T*)reader.readFlattenable(T::GetFlattenableType()); in Read()
|
/external/skia/tests/ |
D | SerializationTest.cpp | 49 static void Write(SkWriteBuffer& writer, const T* flattenable) { in Write() 50 writer.writeFlattenable(flattenable); in Write() 52 static void Read(SkReadBuffer& reader, T** flattenable) { in Read() 53 *flattenable = (T*)reader.readFlattenable(T::GetFlattenableType()); in Read()
|
/external/skqp/fuzz/ |
D | fuzz.cpp | 568 auto flattenable = SkImageFilter::Deserialize(bytes->data(), bytes->size()); in fuzz_filter_fuzz() local 571 if (flattenable != nullptr) { in fuzz_filter_fuzz() 575 paint.setImageFilter(flattenable); in fuzz_filter_fuzz()
|
/external/skqp/src/pipe/ |
D | SkPipeCanvas.cpp | 898 int SkPipeDeduper::findOrDefineFactory(SkFlattenable* flattenable) { in findOrDefineFactory() argument 899 if (!flattenable) { in findOrDefineFactory() 903 int index = fFactories.find(flattenable->getFactory()); in findOrDefineFactory() 912 index = fFactories.add(flattenable->getFactory()); in findOrDefineFactory() 914 const char* name = flattenable->getTypeName(); in findOrDefineFactory()
|
/external/skia/src/pipe/ |
D | SkPipeCanvas.cpp | 898 int SkPipeDeduper::findOrDefineFactory(SkFlattenable* flattenable) { in findOrDefineFactory() argument 899 if (!flattenable) { in findOrDefineFactory() 903 int index = fFactories.find(flattenable->getFactory()); in findOrDefineFactory() 912 index = fFactories.add(flattenable->getFactory()); in findOrDefineFactory() 914 const char* name = flattenable->getTypeName(); in findOrDefineFactory()
|