Searched refs:flattenable (Results 1 – 14 of 14) sorted by relevance
/external/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()
|
/external/cronet/testing/libfuzzer/fuzzers/ |
D | skia_image_filter_proto_fuzzer.cc | 55 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/ |
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/src/core/ |
D | SkWriteBuffer.cpp | 234 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()
|
D | SkWriteBuffer.h | 68 virtual void writeFlattenable(const SkFlattenable* flattenable) = 0; 131 void writeFlattenable(const SkFlattenable* flattenable) override;
|
D | SkRuntimeEffect.cpp | 387 buffer.writeFlattenable(child.flattenable()); in write_child_effects()
|
/external/skia/tools/debugger/ |
D | JsonWriteBuffer.cpp | 96 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()
|
D | JsonWriteBuffer.h | 52 void writeFlattenable(const SkFlattenable* flattenable) override;
|
D | DrawCommand.cpp | 628 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()
|
D | DrawCommand.h | 136 static void flatten(const SkFlattenable* flattenable,
|
/external/skia/tests/ |
D | SerializationTest.cpp | 88 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/ |
D | SkRuntimeImageFilter.cpp | 171 buffer.writeFlattenable(fShaderBuilder.children()[x].flattenable()); in flatten()
|
/external/skia/include/effects/ |
D | SkRuntimeEffect.h | 199 SkFlattenable* flattenable() const { return fChild.get(); } in flattenable() function
|
/external/cronet/testing/libfuzzer/proto/ |
D | skia_image_filter.proto | 7 // 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
|