Home
last modified time | relevance | path

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

/external/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()
/external/cronet/testing/libfuzzer/fuzzers/
Dskia_image_filter_proto_fuzzer.cc55 sk_sp<SkImageFilter> flattenable = SkImageFilter::Deserialize( in DEFINE_PROTO_FUZZER() local
58 if (!flattenable) in DEFINE_PROTO_FUZZER()
66 paint.setImageFilter(flattenable); in DEFINE_PROTO_FUZZER()
/external/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()
/external/skia/src/core/
DSkWriteBuffer.cpp234 void SkBinaryWriteBuffer::writeFlattenable(const SkFlattenable* flattenable) { in writeFlattenable() argument
235 if (nullptr == flattenable) { in writeFlattenable()
252 if (SkFlattenable::Factory factory = flattenable->getFactory(); factory && fFactorySet) { in writeFlattenable()
255 const char* name = flattenable->getTypeName(); in writeFlattenable()
279 flattenable->flatten(*this); in writeFlattenable()
DSkWriteBuffer.h68 virtual void writeFlattenable(const SkFlattenable* flattenable) = 0;
131 void writeFlattenable(const SkFlattenable* flattenable) override;
DSkRuntimeEffect.cpp387 buffer.writeFlattenable(child.flattenable()); in write_child_effects()
/external/skia/tools/debugger/
DJsonWriteBuffer.cpp96 void JsonWriteBuffer::writeFlattenable(const SkFlattenable* flattenable) { in writeFlattenable() argument
97 if (flattenable) { in writeFlattenable()
98 this->append(flattenable->getTypeName()); in writeFlattenable()
101 flattenable->flatten(flattenableBuffer); in writeFlattenable()
DJsonWriteBuffer.h52 void writeFlattenable(const SkFlattenable* flattenable) override;
DDrawCommand.cpp628 void DrawCommand::flatten(const SkFlattenable* flattenable, in flatten() argument
632 flattenable->flatten(buffer); in flatten()
637 writer.appendCString(DEBUGCANVAS_ATTRIBUTE_NAME, flattenable->getTypeName()); in flatten()
642 flattenable->flatten(jsonBuffer); in flatten()
916 SkFlattenable* flattenable, in apply_flattenable() argument
919 if (flattenable != nullptr) { in apply_flattenable()
921 DrawCommand::flatten(flattenable, writer, urlDataManager); in apply_flattenable()
DDrawCommand.h136 static void flatten(const SkFlattenable* flattenable,
/external/skia/tests/
DSerializationTest.cpp88 static void Write(SkWriteBuffer& writer, const T* flattenable) { in Write()
89 writer.writeFlattenable(flattenable); in Write()
91 static void Read(SkReadBuffer& reader, T** flattenable) { in Read()
92 *flattenable = (T*)reader.readFlattenable(T::GetFlattenableType()); in Read()
/external/skia/src/effects/imagefilters/
DSkRuntimeImageFilter.cpp171 buffer.writeFlattenable(fShaderBuilder.children()[x].flattenable()); in flatten()
/external/skia/include/effects/
DSkRuntimeEffect.h199 SkFlattenable* flattenable() const { return fChild.get(); } in flattenable() function
/external/cronet/testing/libfuzzer/proto/
Dskia_image_filter.proto7 // methods in mind so that a valid flattenable is produced. Many of the enums
10 // written to the flattenable output as-is (such as the fields x,y and z in
19 // cases we need to specify one type of some kind of skia flattenable, like one