Home
last modified time | relevance | path

Searched refs:SkJSONWriter (Results 1 – 25 of 53) sorted by relevance

123

/third_party/skia/tools/debugger/
DDrawCommand.h91 virtual void toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const;
96 static void MakeJsonColor(SkJSONWriter&, const SkColor color);
97 static void MakeJsonColor4f(SkJSONWriter&, const SkColor4f& color);
98 static void MakeJsonPoint(SkJSONWriter&, const SkPoint& point);
99 static void MakeJsonPoint(SkJSONWriter&, SkScalar x, SkScalar y);
100 static void MakeJsonPoint3(SkJSONWriter&, const SkPoint3& point);
101 static void MakeJsonRect(SkJSONWriter&, const SkRect& rect);
102 static void MakeJsonIRect(SkJSONWriter&, const SkIRect&);
103 static void MakeJsonMatrix(SkJSONWriter&, const SkMatrix&);
104 static void MakeJsonMatrix44(SkJSONWriter&, const SkM44&);
[all …]
DDrawCommand.cpp258 void DrawCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
382 void apply_paint_blend_mode(const SkPaint& paint, SkJSONWriter& writer) { in apply_paint_blend_mode()
393 void DrawCommand::MakeJsonColor(SkJSONWriter& writer, const SkColor color) { in MakeJsonColor()
402 void DrawCommand::MakeJsonColor4f(SkJSONWriter& writer, const SkColor4f& color) { in MakeJsonColor4f()
411 void DrawCommand::MakeJsonPoint(SkJSONWriter& writer, const SkPoint& point) { in MakeJsonPoint()
418 void DrawCommand::MakeJsonPoint(SkJSONWriter& writer, SkScalar x, SkScalar y) { in MakeJsonPoint()
425 void DrawCommand::MakeJsonPoint3(SkJSONWriter& writer, const SkPoint3& point) { in MakeJsonPoint3()
433 void DrawCommand::MakeJsonRect(SkJSONWriter& writer, const SkRect& rect) { in MakeJsonRect()
442 void DrawCommand::MakeJsonIRect(SkJSONWriter& writer, const SkIRect& rect) { in MakeJsonIRect()
451 static void make_json_rrect(SkJSONWriter& writer, const SkRRect& rrect) { in make_json_rrect()
[all …]
DJsonWriteBuffer.h13 class SkJSONWriter; variable
19 JsonWriteBuffer(SkJSONWriter* writer, UrlDataManager* urlDataManager) in JsonWriteBuffer()
55 SkJSONWriter* fWriter;
DDebugCanvas.h127 void toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager, SkCanvas*);
129 void toJSONOpsTask(SkJSONWriter& writer, SkCanvas*);
/third_party/skia/src/gpu/
DGrAuditTrail.cpp142 void GrAuditTrail::JsonifyTArray(SkJSONWriter& writer, const char* name, const T& array) { in JsonifyTArray()
155 void GrAuditTrail::toJson(SkJSONWriter& writer) const { in toJson()
161 void GrAuditTrail::toJson(SkJSONWriter& writer, int clientID) const { in toJson()
170 static void skrect_to_json(SkJSONWriter& writer, const char* name, const SkRect& rect) { in skrect_to_json()
179 void GrAuditTrail::Op::toJson(SkJSONWriter& writer) const { in toJson()
196 void GrAuditTrail::OpNode::toJson(SkJSONWriter& writer) const { in toJson()
205 void GrAuditTrail::JsonifyTArray(SkJSONWriter& writer, const char* name, const T& array) {} in JsonifyTArray()
206 void GrAuditTrail::toJson(SkJSONWriter& writer) const {} in toJson()
207 void GrAuditTrail::toJson(SkJSONWriter& writer, int clientID) const {} in toJson()
208 void GrAuditTrail::Op::toJson(SkJSONWriter& writer) const {} in toJson()
[all …]
DGrAuditTrail.h23 class SkJSONWriter; variable
96 void toJson(SkJSONWriter& writer) const;
99 void toJson(SkJSONWriter& writer, int clientID) const;
129 void toJson(SkJSONWriter& writer) const;
143 void toJson(SkJSONWriter& writer) const;
154 static void JsonifyTArray(SkJSONWriter& writer, const char* name, const T& array);
DGrCaps.h32 class SkJSONWriter; variable
41 void dumpJSON(SkJSONWriter*) const;
611 virtual void onDumpJSON(SkJSONWriter*) const {} in onDumpJSON() argument
DGrShaderCaps.h20 class SkJSONWriter; variable
38 void dumpJSON(SkJSONWriter*) const;
DGrShaderCaps.cpp87 void GrShaderCaps::dumpJSON(SkJSONWriter* writer) const { in dumpJSON()
159 void GrShaderCaps::dumpJSON(SkJSONWriter* writer) const { } in dumpJSON()
/third_party/skia/src/utils/
DSkJSONWriter.cpp18 void SkJSONWriter::appendS64(int64_t value) { in appendS64()
23 void SkJSONWriter::appendU64(uint64_t value) { in appendU64()
28 void SkJSONWriter::appendHexU64(uint64_t value) { in appendHexU64()
33 void SkJSONWriter::appendf(const char* fmt, ...) { in appendf()
DSkShaperJSONWriter.h20 class SkJSONWriter; variable
24 SkShaperJSONWriter(SkJSONWriter* JSONWriter, const char* utf8, size_t size);
60 SkJSONWriter* fJSONWriter;
DBUILD.bazel57 "SkJSONWriter.cpp",
58 "SkJSONWriter.h",
DSkJSONWriter.h30 class SkJSONWriter : SkNoncopyable {
49 SkJSONWriter(SkWStream* stream, Mode mode = Mode::kFast)
60 ~SkJSONWriter() { in ~SkJSONWriter()
/third_party/skia/tools/skiaserve/
DRequest.cpp226 SkJSONWriter writer(&stream, SkJSONWriter::Mode::kFast); in getJsonOps()
243 SkJSONWriter writer(&stream, SkJSONWriter::Mode::kFast); in getJsonOpsTask()
261 SkJSONWriter writer(&stream, SkJSONWriter::Mode::kFast); in getJsonInfo()
/third_party/skia/modules/skparagraph/tests/
DSkShaperJSONWriter.h20 class SkJSONWriter; variable
25 SkShaperJSONWriter(SkJSONWriter* JSONWriter, const char* utf8, size_t size);
61 SkJSONWriter* fJSONWriter;
DSkShaperJSONWriterTest.cpp131 SkJSONWriter jsonWriter{&out, SkJSONWriter::Mode::kPretty};
/third_party/skia/bench/
DResultsWriter.h39 class NanoJSONResultsWriter : public SkJSONWriter {
41 NanoJSONResultsWriter(SkWStream* stream, Mode mode) : SkJSONWriter(stream, mode) {} in NanoJSONResultsWriter()
/third_party/skia/tools/trace/
DChromeTracingTracer.cpp151 static void trace_value_to_json(SkJSONWriter* writer, in trace_value_to_json()
195 static void trace_event_to_json(SkJSONWriter* writer, in trace_event_to_json()
283 SkJSONWriter writer(&fileStream, SkJSONWriter::Mode::kFast); in flush()
295 auto event_block_to_json = [](SkJSONWriter* writer, in flush()
/third_party/skia/include/gpu/gl/
DGrGLExtensions.h18 class SkJSONWriter; variable
71 void dumpJSON(SkJSONWriter*) const;
/third_party/skia/tools/
Dskp_parser.cpp59 SkJSONWriter writer(&stream, SkJSONWriter::Mode::kPretty); in main()
/third_party/skia/tools/skiaserve/urlhandlers/
DBreakHandler.cpp52 SkJSONWriter writer(&stream, SkJSONWriter::Mode::kFast); in handle()
/third_party/skia/src/gpu/gl/
DGrGLExtensions.cpp159 void GrGLExtensions::dumpJSON(SkJSONWriter* writer) const { in dumpJSON()
167 void GrGLExtensions::dumpJSON(SkJSONWriter* writer) const { } in dumpJSON()
/third_party/skia/tests/
DSkShaperJSONWriterTest.cpp131 SkJSONWriter jsonWriter{&out, SkJSONWriter::Mode::kPretty};
/third_party/skia/include/gpu/
DGrRecordingContext.h34 class SkJSONWriter; variable
249 void dumpJSON(SkJSONWriter*) const;
/third_party/skia/dm/
DDMJsonWriter.cpp44 SkJSONWriter writer(&stream, SkJSONWriter::Mode::kPretty); in DumpJson()

123