/third_party/skia/src/core/ |
D | SkReadBuffer.cpp | 39 void SkReadBuffer::setMemory(const void* data, size_t size) { in setMemory() 47 void SkReadBuffer::setInvalid() { in setInvalid() 55 const void* SkReadBuffer::skip(size_t size) { in skip() 68 const void* SkReadBuffer::skip(size_t count, size_t size) { in skip() 72 void SkReadBuffer::setDeserialProcs(const SkDeserialProcs& procs) { in setDeserialProcs() 76 bool SkReadBuffer::readBool() { in readBool() 83 SkColor SkReadBuffer::readColor() { in readColor() 87 int32_t SkReadBuffer::readInt() { in readInt() 97 SkScalar SkReadBuffer::readScalar() { in readScalar() 107 uint32_t SkReadBuffer::readUInt() { in readUInt() [all …]
|
D | SkPictureData.h | 28 class SkReadBuffer; variable 71 T* read_index_base_1_or_null(SkReadBuffer* reader, const SkTArray<sk_sp<T>>& array) { in read_index_base_1_or_null() 84 static SkPictureData* CreateFromBuffer(SkReadBuffer&, const SkPictInfo&); 96 bool parseBuffer(SkReadBuffer& buffer); 99 const SkImage* getImage(SkReadBuffer* reader) const { in getImage() 105 const SkPath& getPath(SkReadBuffer* reader) const { in getPath() 111 const SkPicture* getPicture(SkReadBuffer* reader) const { in getPicture() 115 SkDrawable* getDrawable(SkReadBuffer* reader) const { in getDrawable() 120 const SkPaint* optionalPaint(SkReadBuffer* reader) const; 124 const SkPaint& requiredPaint(SkReadBuffer* reader) const; [all …]
|
D | SkPictureData.cpp | 346 SkReadBuffer buffer(storage.get(), size); in parseStreamTag() 376 static sk_sp<SkImage> create_image_from_buffer(SkReadBuffer& buffer) { in create_image_from_buffer() 380 static sk_sp<SkDrawable> create_drawable_from_buffer(SkReadBuffer& buffer) { in create_drawable_from_buffer() 386 bool new_array_from_buffer(SkReadBuffer& buffer, uint32_t inCount, in new_array_from_buffer() 387 SkTArray<sk_sp<T>>& array, sk_sp<U> (*factory)(SkReadBuffer&)) { in new_array_from_buffer() argument 409 void SkPictureData::parseBufferTag(SkReadBuffer& buffer, uint32_t tag, uint32_t size) { in parseBufferTag() 487 SkPictureData* SkPictureData::CreateFromBuffer(SkReadBuffer& buffer, in CreateFromBuffer() 517 bool SkPictureData::parseBuffer(SkReadBuffer& buffer) { in parseBuffer() 535 const SkPaint* SkPictureData::optionalPaint(SkReadBuffer* reader) const { in optionalPaint() 544 const SkPaint& SkPictureData::requiredPaint(SkReadBuffer* reader) const { in requiredPaint()
|
D | SkSamplingPriv.h | 13 class SkReadBuffer; variable 46 static SkSamplingOptions Read(SkReadBuffer&);
|
D | SkPaintPriv.h | 13 class SkReadBuffer; variable 51 static SkPaint Unflatten(SkReadBuffer& buffer);
|
D | SkPictureFlat.h | 165 static inline SkRegion::Op ClipParams_unpackRegionOp(SkReadBuffer* buffer, uint32_t packed) { in ClipParams_unpackRegionOp() 195 void setupBuffer(SkReadBuffer& buffer) const { in setupBuffer() 212 void setupBuffer(SkReadBuffer& buffer) const { in setupBuffer()
|
D | SkPicturePriv.h | 13 class SkReadBuffer; variable 26 static sk_sp<SkPicture> MakeFromBuffer(SkReadBuffer& buffer);
|
D | SkPicturePlayback.h | 26 void draw(SkCanvas* canvas, SkPicture::AbortCallback*, SkReadBuffer* buffer); 40 void handleOp(SkReadBuffer* reader,
|
D | SkVerticesPriv.h | 13 class SkReadBuffer; variable 41 static sk_sp<SkVertices> Decode(SkReadBuffer&);
|
D | SkCanvasPriv.h | 14 class SkReadBuffer; variable 46 static bool ReadLattice(SkReadBuffer&, SkCanvas::Lattice*);
|
D | SkFontPriv.h | 16 class SkReadBuffer; variable 79 static bool Unflatten(SkFont*, SkReadBuffer& buffer);
|
D | SkReadBuffer.h | 36 class SK_API SkReadBuffer { 38 SkReadBuffer() = default; 39 SkReadBuffer(const void* data, size_t size) { in SkReadBuffer() function
|
D | SkTextBlobPriv.h | 22 class SkReadBuffer; variable 39 static sk_sp<SkTextBlob> MakeFromBuffer(SkReadBuffer&);
|
/third_party/skia/tests/ |
D | SerializationTest.cpp | 55 static void Read(SkReadBuffer& reader, T** flattenable) { in Read() 64 static void Read(SkReadBuffer& reader, SkMatrix* matrix) { in Read() 73 static void Read(SkReadBuffer& reader, SkPath* path) { in Read() 82 static void Read(SkReadBuffer& reader, SkRegion* region) { in Read() 91 static void Read(SkReadBuffer& reader, SkString* string) { in Read() 100 static bool Read(SkReadBuffer& reader, unsigned char* data, uint32_t arraySize) { in Read() 109 static bool Read(SkReadBuffer& reader, SkColor* data, uint32_t arraySize) { in Read() 118 static bool Read(SkReadBuffer& reader, SkColor4f* data, uint32_t arraySize) { in Read() 127 static bool Read(SkReadBuffer& reader, int32_t* data, uint32_t arraySize) { in Read() 136 static bool Read(SkReadBuffer& reader, SkPoint* data, uint32_t arraySize) { in Read() [all …]
|
D | FlattenDrawableTest.cpp | 35 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc() 73 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc() 108 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc() 161 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc() 221 SkReadBuffer readBuffer(data->data(), data->size()); in DEF_TEST() 280 SkReadBuffer readBuffer(data->data(), data->size()); in DEF_TEST()
|
/third_party/skia/include/core/ |
D | SkFlattenable.h | 14 class SkReadBuffer; variable 39 typedef sk_sp<SkFlattenable> (*Factory)(SkReadBuffer&); 98 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer&); \ 107 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer&); \
|
D | SkPicture.h | 260 static bool BufferIsSKP(class SkReadBuffer*, struct SkPictInfo*); 271 class SkReadBuffer* buffer);
|
/third_party/skia/src/gpu/ |
D | GrPersistentCacheUtils.h | 15 class SkReadBuffer; variable 38 SkFourByteTag GetType(SkReadBuffer* reader); 40 bool UnpackCachedShaders(SkReadBuffer* reader,
|
D | GrPersistentCacheUtils.cpp | 69 SkFourByteTag GetType(SkReadBuffer* reader) { in GetType() 76 bool UnpackCachedShaders(SkReadBuffer* reader, in UnpackCachedShaders()
|
/third_party/skia/fuzz/oss_fuzz/ |
D | FuzzTextBlobDeserialize.cpp | 16 void FuzzTextBlobDeserialize(SkReadBuffer& buf) { in FuzzTextBlobDeserialize() 37 SkReadBuffer buf(data, size); in LLVMFuzzerTestOneInput()
|
D | FuzzPathDeserialize.cpp | 14 void FuzzPathDeserialize(SkReadBuffer& buf) { in FuzzPathDeserialize() 43 SkReadBuffer buf(data, size); in LLVMFuzzerTestOneInput()
|
/third_party/skia/src/shaders/gradients/ |
D | SkGradientShaderPriv.h | 22 class SkReadBuffer; variable 48 bool unflatten(SkReadBuffer&); 73 SkGradientShaderBase(SkReadBuffer& );
|
/third_party/skia/src/effects/ |
D | SkOpPathEffect.cpp | 87 sk_sp<SkFlattenable> SkOpPE::CreateProc(SkReadBuffer& buffer) { in CreateProc() 124 sk_sp<SkFlattenable> SkMatrixPE::CreateProc(SkReadBuffer& buffer) { in CreateProc() 168 sk_sp<SkFlattenable> SkStrokePE::CreateProc(SkReadBuffer& buffer) { in CreateProc() 225 sk_sp<SkFlattenable> SkStrokeAndFillPE::CreateProc(SkReadBuffer& buffer) { in CreateProc()
|
D | SkShaderMaskFilter.cpp | 42 SkShaderMF(SkReadBuffer&); 50 sk_sp<SkFlattenable> SkShaderMF::CreateProc(SkReadBuffer& buffer) { in CreateProc()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkPipelineStateBuilder.h | 22 class SkReadBuffer; variable 54 int loadShadersFromCache(SkReadBuffer* cached, VkShaderModule outShaderModules[],
|