Searched refs:SkDrawCommand (Results 1 – 13 of 13) sorted by relevance
/external/skia/tools/debugger/ |
D | SkDrawCommand.h | 25 class SkDrawCommand { 71 SkDrawCommand(OpType opType); 73 virtual ~SkDrawCommand(); 120 static SkDrawCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 153 class SkRestoreCommand : public SkDrawCommand { 161 typedef SkDrawCommand INHERITED; 164 class SkClearCommand : public SkDrawCommand { 174 typedef SkDrawCommand INHERITED; 177 class SkClipPathCommand : public SkDrawCommand { 190 typedef SkDrawCommand INHERITED; [all …]
|
D | SkJsonWriteBuffer.cpp | 75 this->append("color", SkDrawCommand::MakeJsonColor(color)); in writeColor() 81 jsonArray.append(SkDrawCommand::MakeJsonColor(color[i])); in writeColorArray() 87 this->append("color", SkDrawCommand::MakeJsonColor4f(color)); in writeColor4f() 93 jsonArray.append(SkDrawCommand::MakeJsonColor4f(color[i])); in writeColor4fArray() 99 this->append("point", SkDrawCommand::MakeJsonPoint(point)); in writePoint() 105 jsonArray.append(SkDrawCommand::MakeJsonPoint(point[i])); in writePointArray() 111 this->append("matrix", SkDrawCommand::MakeJsonMatrix(matrix)); in writeMatrix() 115 this->append("irect", SkDrawCommand::MakeJsonIRect(rect)); in writeIRect() 119 this->append("rect", SkDrawCommand::MakeJsonRect(rect)); in writeRect() 123 this->append("region", SkDrawCommand::MakeJsonRegion(region)); in writeRegion() [all …]
|
D | SkDebugCanvas.h | 107 SkDrawCommand *getDrawCommandAt(int index); 114 void setDrawCommandAt(int index, SkDrawCommand *command); 132 const SkTDArray<SkDrawCommand *> &getDrawCommands() const; 138 SkTDArray<SkDrawCommand *> &getDrawCommands(); 244 SkTDArray<SkDrawCommand*> fCommandVector; 266 SkTDArray<SkDrawCommand*> fActiveLayers; 272 void addDrawCommand(SkDrawCommand* command);
|
D | SkDebugCanvas.cpp | 104 void SkDebugCanvas::addDrawCommand(SkDrawCommand* command) { in addDrawCommand() 151 SkDrawCommand::Action result = fCommandVector[i]->action(); in markActiveCommands() 152 if (SkDrawCommand::kPushLayer_Action == result) { in markActiveCommands() 154 } else if (SkDrawCommand::kPopLayer_Action == result) { in markActiveCommands() 331 SkDrawCommand* SkDebugCanvas::getDrawCommandAt(int index) { in getDrawCommandAt() 336 void SkDebugCanvas::setDrawCommandAt(int index, SkDrawCommand* command) { in setDrawCommandAt() 352 const SkTDArray <SkDrawCommand*>& SkDebugCanvas::getDrawCommands() const { in getDrawCommands() 356 SkTDArray <SkDrawCommand*>& SkDebugCanvas::getDrawCommands() { in getDrawCommands()
|
D | SkDrawCommand.cpp | 195 typedef SkDrawCommand* (*FROM_JSON)(Json::Value&, UrlDataManager&); 204 SkDrawCommand::SkDrawCommand(OpType type) in SkDrawCommand() function in SkDrawCommand 209 SkDrawCommand::~SkDrawCommand() { in ~SkDrawCommand() 213 const char* SkDrawCommand::GetCommandString(OpType type) { in GetCommandString() 258 SkString SkDrawCommand::toString() const { in toString() 262 Json::Value SkDrawCommand::toJSON(UrlDataManager& urlDataManager) const { in toJSON() 271 SkDrawCommand* SkDrawCommand::fromJSON(Json::Value& command, UrlDataManager& urlDataManager) { in fromJSON() 499 Json::Value SkDrawCommand::MakeJsonColor(const SkColor color) { in MakeJsonColor() 508 Json::Value SkDrawCommand::MakeJsonColor4f(const SkColor4f& color) { in MakeJsonColor4f() 517 Json::Value SkDrawCommand::MakeJsonPoint(const SkPoint& point) { in MakeJsonPoint() [all …]
|
/external/skia/debugger/ |
D | SkDebugger.cpp | 59 const SkTDArray<SkDrawCommand*>& commands = this->getDrawCommands(); in getOverviewText() 62 counts.setCount(SkDrawCommand::kOpTypeCount); in getOverviewText() 63 for (int i = 0; i < SkDrawCommand::kOpTypeCount; ++i) { in getOverviewText() 76 for (int i = 0; i < SkDrawCommand::kOpTypeCount; ++i) { in getOverviewText() 83 overview->append(SkDrawCommand::GetCommandString((SkDrawCommand::OpType) i)); in getOverviewText()
|
D | SkDebugger.h | 47 SkDrawCommand* getDrawCommandAt(int index) { in getDrawCommandAt() 51 const SkTDArray<SkDrawCommand*>& getDrawCommands() const { in getDrawCommands()
|
/external/skia/debugger/QT/ |
D | SkDebuggerGUI.cpp | 721 SkDrawCommand::GetCommandString(SkDrawCommand::kSave_OpType))); in setupListWidget() 723 SkDrawCommand::GetCommandString(SkDrawCommand::kSaveLayer_OpType))); in setupListWidget() 725 SkDrawCommand::GetCommandString(SkDrawCommand::kRestore_OpType))); in setupListWidget() 727 SkDrawCommand::GetCommandString(SkDrawCommand::kBeginDrawPicture_OpType))); in setupListWidget() 729 SkDrawCommand::GetCommandString(SkDrawCommand::kEndDrawPicture_OpType))); in setupListWidget() 736 SkDrawCommand* command = fDebugger.getDrawCommandAt(i); in setupListWidget()
|
D | SkDrawCommandGeometryWidget.cpp | 81 const SkTDArray<SkDrawCommand*>& commands = fDebugger->getDrawCommands(); in updateImage() 84 SkDrawCommand* command = commands[fCommandIndex]; in updateImage()
|
/external/skia/tools/skiaserve/ |
D | Request.cpp | 68 SkDrawCommand::WritePNG(encodedBitmap->bytes(), bmp->width(), bmp->height(), in writeCanvasToPng() 302 info["ViewMatrix"] = SkDrawCommand::MakeJsonMatrix(vm); in getJsonInfo() 303 info["ClipRect"] = SkDrawCommand::MakeJsonIRect(clip); in getJsonInfo()
|
/external/skia/tests/ |
D | MatrixClipCollapseTest.cpp | 646 SkDebugf("%16s, ", SkDrawCommand::GetCommandString(expected[i])); in print() 652 SkDebugf("%s\n", SkDrawCommand::GetCommandString(actual[i])); in print()
|
/external/skia/ |
D | BUILD.gn | 1055 "tools/debugger/SkDrawCommand.cpp",
|
D | Android.bp | 1577 "tools/debugger/SkDrawCommand.cpp", 2159 "tools/debugger/SkDrawCommand.cpp",
|