Home
last modified time | relevance | path

Searched refs:flattenable (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/fuzz/oss_fuzz/
DFuzzImageFilterDeserialize.cpp25 auto flattenable = SkImageFilter::Deserialize(bytes->data(), bytes->size()); in FuzzImageFilterDeserialize() local
27 if (flattenable != nullptr) { in FuzzImageFilterDeserialize()
30 paint.setImageFilter(flattenable); in FuzzImageFilterDeserialize()
/third_party/flutter/skia/fuzz/oss_fuzz/
DFuzzImageFilterDeserialize.cpp24 auto flattenable = SkImageFilter::Deserialize(bytes->data(), bytes->size()); in FuzzImageFilterDeserialize() local
26 if (flattenable != nullptr) { in FuzzImageFilterDeserialize()
29 paint.setImageFilter(flattenable); in FuzzImageFilterDeserialize()
/third_party/flutter/skia/tools/
Dchrome_fuzz.cpp35 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()
/third_party/skia/tools/
Dchrome_fuzz.cpp35 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()
/third_party/flutter/skia/src/core/
DSkWriteBuffer.cpp204 void SkBinaryWriteBuffer::writeFlattenable(const SkFlattenable* flattenable) { in writeFlattenable() argument
205 if (nullptr == flattenable) { in writeFlattenable()
222 SkFlattenable::Factory factory = flattenable->getFactory(); in writeFlattenable()
239 const char* name = flattenable->getTypeName(); in writeFlattenable()
256 flattenable->flatten(*this); in writeFlattenable()
DSkWriteBuffer.h44 virtual void writeFlattenable(const SkFlattenable* flattenable) = 0;
105 void writeFlattenable(const SkFlattenable* flattenable) override;
/third_party/skia/src/core/
DSkWriteBuffer.cpp214 void SkBinaryWriteBuffer::writeFlattenable(const SkFlattenable* flattenable) { in writeFlattenable() argument
215 if (nullptr == flattenable) { in writeFlattenable()
232 if (SkFlattenable::Factory factory = flattenable->getFactory(); factory && fFactorySet) { in writeFlattenable()
235 const char* name = flattenable->getTypeName(); in writeFlattenable()
259 flattenable->flatten(*this); in writeFlattenable()
DSkWriteBuffer.h50 virtual void writeFlattenable(const SkFlattenable* flattenable) = 0;
112 void writeFlattenable(const SkFlattenable* flattenable) override;
DSkRuntimeEffect.cpp190 buffer.writeFlattenable(child.flattenable()); in write_child_effects()
/third_party/flutter/skia/tools/debugger/
DJsonWriteBuffer.cpp82 void JsonWriteBuffer::writeFlattenable(const SkFlattenable* flattenable) { in writeFlattenable() argument
83 if (flattenable) { in writeFlattenable()
84 this->append(flattenable->getTypeName()); in writeFlattenable()
87 flattenable->flatten(flattenableBuffer); in writeFlattenable()
DJsonWriteBuffer.h32 void writeFlattenable(const SkFlattenable* flattenable) override;
DDrawCommand.cpp643 void DrawCommand::flatten(const SkFlattenable* flattenable, in flatten() argument
647 flattenable->flatten(buffer); in flatten()
652 writer.appendString(DEBUGCANVAS_ATTRIBUTE_NAME, flattenable->getTypeName()); in flatten()
657 flattenable->flatten(jsonBuffer); in flatten()
919 SkFlattenable* flattenable, in apply_flattenable() argument
922 if (flattenable != nullptr) { in apply_flattenable()
924 DrawCommand::flatten(flattenable, writer, urlDataManager); in apply_flattenable()
DDrawCommand.h105 static void flatten(const SkFlattenable* flattenable,
/third_party/skia/tools/debugger/
DJsonWriteBuffer.cpp82 void JsonWriteBuffer::writeFlattenable(const SkFlattenable* flattenable) { in writeFlattenable() argument
83 if (flattenable) { in writeFlattenable()
84 this->append(flattenable->getTypeName()); in writeFlattenable()
87 flattenable->flatten(flattenableBuffer); in writeFlattenable()
DJsonWriteBuffer.h32 void writeFlattenable(const SkFlattenable* flattenable) override;
DDrawCommand.cpp605 void DrawCommand::flatten(const SkFlattenable* flattenable, in flatten() argument
609 flattenable->flatten(buffer); in flatten()
614 writer.appendString(DEBUGCANVAS_ATTRIBUTE_NAME, flattenable->getTypeName()); in flatten()
619 flattenable->flatten(jsonBuffer); in flatten()
892 SkFlattenable* flattenable, in apply_flattenable() argument
895 if (flattenable != nullptr) { in apply_flattenable()
897 DrawCommand::flatten(flattenable, writer, urlDataManager); in apply_flattenable()
DDrawCommand.h110 static void flatten(const SkFlattenable* flattenable,
/third_party/flutter/skia/tests/
DSerializationTest.cpp53 static void Write(SkWriteBuffer& writer, const T* flattenable) { in Write()
54 writer.writeFlattenable(flattenable); in Write()
56 static void Read(SkReadBuffer& reader, T** flattenable) { in Read()
57 *flattenable = (T*)reader.readFlattenable(T::GetFlattenableType()); in Read()
/third_party/skia/tests/
DSerializationTest.cpp52 static void Write(SkWriteBuffer& writer, const T* flattenable) { in Write()
53 writer.writeFlattenable(flattenable); in Write()
55 static void Read(SkReadBuffer& reader, T** flattenable) { in Read()
56 *flattenable = (T*)reader.readFlattenable(T::GetFlattenableType()); in Read()
/third_party/skia/include/effects/
DSkRuntimeEffect.h179 SkFlattenable* flattenable() const { return fChild.get(); } in flattenable() function