Home
last modified time | relevance | path

Searched refs:fWriter (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/tools/debugger/
DJsonWriteBuffer.cpp14 fWriter->appendName(fullName.c_str()); in append()
19 fWriter->beginArray(); in writePad32()
23 fWriter->appendString(hexByte.c_str()); in writePad32()
25 fWriter->endArray(); in writePad32()
30 fWriter->beginArray(); in writeByteArray()
34 fWriter->appendString(hexByte.c_str()); in writeByteArray()
36 fWriter->endArray(); in writeByteArray()
41 fWriter->appendBool(value); in writeBool()
46 fWriter->appendFloat(value); in writeScalar()
51 fWriter->beginArray(); in writeScalarArray()
[all …]
DJsonWriteBuffer.h20 : fUrlDataManager(urlDataManager), fWriter(writer), fCount(0) {} in JsonWriteBuffer()
55 SkJSONWriter* fWriter; variable
/third_party/flutter/skia/tools/debugger/
DJsonWriteBuffer.cpp14 fWriter->appendName(fullName.c_str()); in append()
19 fWriter->beginArray(); in writePad32()
23 fWriter->appendString(hexByte.c_str()); in writePad32()
25 fWriter->endArray(); in writePad32()
30 fWriter->beginArray(); in writeByteArray()
34 fWriter->appendString(hexByte.c_str()); in writeByteArray()
36 fWriter->endArray(); in writeByteArray()
41 fWriter->appendBool(value); in writeBool()
46 fWriter->appendFloat(value); in writeScalar()
51 fWriter->beginArray(); in writeScalarArray()
[all …]
DJsonWriteBuffer.h20 : fUrlDataManager(urlDataManager), fWriter(writer), fCount(0) {} in JsonWriteBuffer()
54 SkJSONWriter* fWriter; variable
/third_party/skia/src/core/
DSkWriteBuffer.cpp31 , fWriter(storage, storageSize) in SkBinaryWriteBuffer()
37 return fWriter.usingInitialStorage(); in usingInitialStorage()
41 fWriter.write32(SkToU32(size)); in writeByteArray()
42 fWriter.writePad(data, size); in writeByteArray()
46 fWriter.writeBool(value); in writeBool()
50 fWriter.writeScalar(value); in writeScalar()
54 fWriter.write32(count); in writeScalarArray()
55 fWriter.write(value, count * sizeof(SkScalar)); in writeScalarArray()
59 fWriter.write32(value); in writeInt()
63 fWriter.write32(count); in writeIntArray()
[all …]
DSkPictureRecord.cpp52 fRestoreOffsetStack.push_back(-(int32_t)fWriter.bytesWritten()); in willSave()
70 fWriter.writeString(name); in onMarkCTM()
79 fRestoreOffsetStack.push_back(-(int32_t)fWriter.bytesWritten()); in getSaveLayerStrategy()
92 fRestoreOffsetStack.push_back(-(int32_t)fWriter.bytesWritten()); in onDoSaveBehind()
196 this->fillRestoreOffsetPlaceholdersForCurrentStackLevel((uint32_t)fWriter.bytesWritten()); in recordRestore()
226 this->validate(fWriter.bytesWritten(), 0); in didConcat44()
230 fWriter.write(SkMatrixPriv::M44ColMajor(m), 16 * sizeof(SkScalar)); in didConcat44()
237 this->validate(fWriter.bytesWritten(), 0); in didSetM44()
241 fWriter.write(SkMatrixPriv::M44ColMajor(m), 16 * sizeof(SkScalar)); in didSetM44()
255 this->validate(fWriter.bytesWritten(), 0); in recordConcat()
[all …]
DSkPictureRecord.h59 this->validate(fWriter.bytesWritten(), 0); in opData()
61 if (fWriter.bytesWritten() == 0) { in opData()
64 return fWriter.snapshotAsData(); in opData()
72 return fWriter; in writeStream()
103 size_t offset = fWriter.bytesWritten(); in addDraw()
111 fWriter.writeInt(PACK_8_24(drawType, MASK_24)); in addDraw()
113 fWriter.writeInt(SkToU32(*size)); in addDraw()
115 fWriter.writeInt(PACK_8_24(drawType, SkToU32(*size))); in addDraw()
122 fWriter.writeInt(value); in addInt()
125 fWriter.writeScalar(scalar); in addScalar()
[all …]
DSkWriteBuffer.h87 fWriter.write(buffer, bytes); in write()
90 fWriter.writePad(buffer, bytes); in writePad32()
94 fWriter.reset(storage, storageSize);
97 size_t bytesWritten() const { return fWriter.bytesWritten(); } in bytesWritten()
132 void writeToMemory(void* dst) const { fWriter.flatten(dst); } in writeToMemory()
133 sk_sp<SkData> snapshotAsData() const { return fWriter.snapshotAsData(); } in snapshotAsData()
142 SkWriter32 fWriter; variable
/third_party/flutter/skia/src/core/
DSkWriteBuffer.cpp29 , fWriter(storage, storageSize) in SkBinaryWriteBuffer()
35 return fWriter.usingInitialStorage(); in usingInitialStorage()
39 fWriter.write32(SkToU32(size)); in writeByteArray()
40 fWriter.writePad(data, size); in writeByteArray()
44 fWriter.writeBool(value); in writeBool()
48 fWriter.writeScalar(value); in writeScalar()
52 fWriter.write32(count); in writeScalarArray()
53 fWriter.write(value, count * sizeof(SkScalar)); in writeScalarArray()
57 fWriter.write32(value); in writeInt()
61 fWriter.write32(count); in writeIntArray()
[all …]
DSkPictureRecord.cpp49 fRestoreOffsetStack.push_back(-(int32_t)fWriter.bytesWritten()); in willSave()
66 fRestoreOffsetStack.push_back(-(int32_t)fWriter.bytesWritten()); in getSaveLayerStrategy()
79 fRestoreOffsetStack.push_back(-(int32_t)fWriter.bytesWritten()); in onDoSaveBehind()
190 this->fillRestoreOffsetPlaceholdersForCurrentStackLevel((uint32_t)fWriter.bytesWritten()); in recordRestore()
235 this->validate(fWriter.bytesWritten(), 0); in recordConcat()
244 this->validate(fWriter.bytesWritten(), 0); in didSetMatrix()
272 uint32_t peek = fWriter.readTAt<uint32_t>(offset); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()
273 fWriter.overwriteTAt(offset, restoreOffset); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()
282 DrawType drawOp = peek_op_and_size(&fWriter, -offset, &opSize); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()
324 size_t offset = fWriter.bytesWritten(); in recordRestoreOffsetPlaceholder()
[all …]
DSkPictureRecord.h57 this->validate(fWriter.bytesWritten(), 0); in opData()
59 if (fWriter.bytesWritten() == 0) { in opData()
62 return fWriter.snapshotAsData(); in opData()
70 return fWriter; in writeStream()
101 size_t offset = fWriter.bytesWritten(); in addDraw()
109 fWriter.writeInt(PACK_8_24(drawType, MASK_24)); in addDraw()
111 fWriter.writeInt(SkToU32(*size)); in addDraw()
113 fWriter.writeInt(PACK_8_24(drawType, SkToU32(*size))); in addDraw()
120 fWriter.writeInt(value); in addInt()
123 fWriter.writeScalar(scalar); in addScalar()
[all …]
DSkWriteBuffer.h80 fWriter.write(buffer, bytes); in write()
83 fWriter.writePad(buffer, bytes); in writePad32()
87 fWriter.reset(storage, storageSize);
90 size_t bytesWritten() const { return fWriter.bytesWritten(); } in bytesWritten()
124 void writeToMemory(void* dst) const { fWriter.flatten(dst); } in writeToMemory()
133 SkWriter32 fWriter; variable
/third_party/flutter/skia/modules/particles/include/
DSkParticleSerialization.h20 SkToJsonVisitor(SkJSONWriter& writer) : fWriter(writer) {} in SkToJsonVisitor()
24 fWriter.appendFloat(name, f); in visit()
27 fWriter.appendS32(name, i); in visit()
30 fWriter.appendBool(name, b); in visit()
36 fWriter.beginArray(name); in visit()
38 fWriter.appendString(line.c_str()); in visit()
40 fWriter.endArray(); in visit()
42 fWriter.appendString(name, s.c_str()); in visit()
46 fWriter.appendString(name, EnumToString(i, map, count)); in visit()
51 fWriter.beginObject(name, false); in visit()
[all …]
/third_party/skia/modules/particles/include/
DSkParticleSerialization.h20 SkToJsonVisitor(SkJSONWriter& writer) : fWriter(writer) {} in SkToJsonVisitor()
24 fWriter.appendFloat(name, f); in visit()
27 fWriter.appendS32(name, i); in visit()
30 fWriter.appendBool(name, b); in visit()
36 fWriter.beginArray(name); in visit()
38 fWriter.appendString(line.c_str()); in visit()
40 fWriter.endArray(); in visit()
42 fWriter.appendString(name, s.c_str()); in visit()
48 fWriter.appendString("Type", e ? e->getType()->fName : "Null"); in visit()
51 void enterObject(const char* name) override { fWriter.beginObject(name); } in enterObject()
[all …]
/third_party/flutter/skia/src/svg/
DSkSVGDevice.cpp217 : fWriter(writer) in AutoElement()
219 fWriter->startElement(name); in AutoElement()
227 : fWriter(writer.get()) in AutoElement()
235 fClipGroup.reset(new AutoElement("g", fWriter)); in AutoElement()
239 fWriter->startElement(name); in AutoElement()
249 fWriter->endElement(); in ~AutoElement()
253 fWriter->addAttribute(name, val); in addAttribute()
257 fWriter->addAttribute(name, val.c_str()); in addAttribute()
261 fWriter->addS32Attribute(name, val); in addAttribute()
265 fWriter->addScalarAttribute(name, val); in addAttribute()
[all …]
DSkSVGDevice.h58 const std::unique_ptr<SkXMLWriter> fWriter; variable
/third_party/skia/src/svg/
DSkSVGDevice.cpp250 : fWriter(writer) in AutoElement()
252 fWriter->startElement(name); in AutoElement()
260 : fWriter(svgdev->fWriter.get()) in AutoElement()
266 fWriter->startElement(name); in AutoElement()
276 fWriter->endElement(); in ~AutoElement()
280 fWriter->addAttribute(name, val); in addAttribute()
284 fWriter->addAttribute(name, val.c_str()); in addAttribute()
288 fWriter->addS32Attribute(name, val); in addAttribute()
292 fWriter->addScalarAttribute(name, val); in addAttribute()
296 fWriter->addText(text.c_str(), text.size()); in addText()
[all …]
DSkSVGDevice.h55 const std::unique_ptr<SkXMLWriter> fWriter; variable
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_jpeg_image.cpp52 dng_image_writer &fWriter; member in dng_jpeg_image_encode_task
76 , fWriter (writer) in dng_jpeg_image_encode_task()
136 fWriter.WriteTile (fHost, in Process()