Home
last modified time | relevance | path

Searched refs:SkReadBuffer (Results 1 – 25 of 126) sorted by relevance

123456

/third_party/skia/src/core/
DSkReadBuffer.cpp39 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 …]
DSkPictureData.h28 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 …]
DSkPictureData.cpp346 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()
DSkSamplingPriv.h13 class SkReadBuffer; variable
46 static SkSamplingOptions Read(SkReadBuffer&);
DSkPaintPriv.h13 class SkReadBuffer; variable
51 static SkPaint Unflatten(SkReadBuffer& buffer);
DSkPictureFlat.h165 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()
DSkPicturePriv.h13 class SkReadBuffer; variable
26 static sk_sp<SkPicture> MakeFromBuffer(SkReadBuffer& buffer);
DSkPicturePlayback.h26 void draw(SkCanvas* canvas, SkPicture::AbortCallback*, SkReadBuffer* buffer);
40 void handleOp(SkReadBuffer* reader,
DSkVerticesPriv.h13 class SkReadBuffer; variable
41 static sk_sp<SkVertices> Decode(SkReadBuffer&);
DSkCanvasPriv.h14 class SkReadBuffer; variable
46 static bool ReadLattice(SkReadBuffer&, SkCanvas::Lattice*);
DSkFontPriv.h16 class SkReadBuffer; variable
79 static bool Unflatten(SkFont*, SkReadBuffer& buffer);
DSkReadBuffer.h36 class SK_API SkReadBuffer {
38 SkReadBuffer() = default;
39 SkReadBuffer(const void* data, size_t size) { in SkReadBuffer() function
DSkTextBlobPriv.h22 class SkReadBuffer; variable
39 static sk_sp<SkTextBlob> MakeFromBuffer(SkReadBuffer&);
/third_party/skia/tests/
DSerializationTest.cpp55 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 …]
DFlattenDrawableTest.cpp35 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/
DSkFlattenable.h14 class SkReadBuffer; variable
39 typedef sk_sp<SkFlattenable> (*Factory)(SkReadBuffer&);
98 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer&); \
107 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer&); \
DSkPicture.h260 static bool BufferIsSKP(class SkReadBuffer*, struct SkPictInfo*);
271 class SkReadBuffer* buffer);
/third_party/skia/src/gpu/
DGrPersistentCacheUtils.h15 class SkReadBuffer; variable
38 SkFourByteTag GetType(SkReadBuffer* reader);
40 bool UnpackCachedShaders(SkReadBuffer* reader,
DGrPersistentCacheUtils.cpp69 SkFourByteTag GetType(SkReadBuffer* reader) { in GetType()
76 bool UnpackCachedShaders(SkReadBuffer* reader, in UnpackCachedShaders()
/third_party/skia/fuzz/oss_fuzz/
DFuzzTextBlobDeserialize.cpp16 void FuzzTextBlobDeserialize(SkReadBuffer& buf) { in FuzzTextBlobDeserialize()
37 SkReadBuffer buf(data, size); in LLVMFuzzerTestOneInput()
DFuzzPathDeserialize.cpp14 void FuzzPathDeserialize(SkReadBuffer& buf) { in FuzzPathDeserialize()
43 SkReadBuffer buf(data, size); in LLVMFuzzerTestOneInput()
/third_party/skia/src/shaders/gradients/
DSkGradientShaderPriv.h22 class SkReadBuffer; variable
48 bool unflatten(SkReadBuffer&);
73 SkGradientShaderBase(SkReadBuffer& );
/third_party/skia/src/effects/
DSkOpPathEffect.cpp87 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()
DSkShaderMaskFilter.cpp42 SkShaderMF(SkReadBuffer&);
50 sk_sp<SkFlattenable> SkShaderMF::CreateProc(SkReadBuffer& buffer) { in CreateProc()
/third_party/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.h22 class SkReadBuffer; variable
54 int loadShadersFromCache(SkReadBuffer* cached, VkShaderModule outShaderModules[],

123456