Searched refs:flattenable (Results 1 – 11 of 11) sorted by relevance
/third_party/skia/fuzz/oss_fuzz/ |
D | FuzzImageFilterDeserialize.cpp | 25 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/ |
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()
|
/third_party/skia/src/core/ |
D | SkWriteBuffer.cpp | 214 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()
|
D | SkWriteBuffer.h | 50 virtual void writeFlattenable(const SkFlattenable* flattenable) = 0; 112 void writeFlattenable(const SkFlattenable* flattenable) override;
|
D | SkRuntimeEffect.cpp | 190 buffer.writeFlattenable(child.flattenable()); in write_child_effects()
|
/third_party/skia/tools/debugger/ |
D | JsonWriteBuffer.cpp | 82 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()
|
D | JsonWriteBuffer.h | 32 void writeFlattenable(const SkFlattenable* flattenable) override;
|
D | DrawCommand.cpp | 605 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()
|
D | DrawCommand.h | 110 static void flatten(const SkFlattenable* flattenable,
|
/third_party/skia/tests/ |
D | SerializationTest.cpp | 52 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/ |
D | SkRuntimeEffect.h | 183 SkFlattenable* flattenable() const { return fChild.get(); } in flattenable() function
|