Home
last modified time | relevance | path

Searched refs:flattenable (Results 1 – 11 of 11) 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/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/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/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/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.h183 SkFlattenable* flattenable() const { return fChild.get(); } in flattenable() function