Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: tools/debugger/SkDrawCommand.h

Issue 1747893002: Revert of Add abilitly to query audit trail for batches by draw op (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/debugger/SkDebugCanvas.cpp ('k') | tools/debugger/SkDrawCommand.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SKDRAWCOMMAND_H_ 8 #ifndef SKDRAWCOMMAND_H_
9 #define SKDRAWCOMMAND_H_ 9 #define SKDRAWCOMMAND_H_
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 virtual Action action() const { return kNone_Action; } 95 virtual Action action() const { return kNone_Action; }
96 virtual void setActive(bool active) {} 96 virtual void setActive(bool active) {}
97 virtual bool active() const { return false; } 97 virtual bool active() const { return false; }
98 98
99 OpType getType() const { return fOpType; } 99 OpType getType() const { return fOpType; }
100 100
101 virtual bool render(SkCanvas* canvas) const { return false; } 101 virtual bool render(SkCanvas* canvas) const { return false; }
102 102
103 virtual Json::Value toJSON(UrlDataManager& urlDataManager) const; 103 virtual Json::Value toJSON(UrlDataManager& urlDataManager) const;
104 104
105 Json::Value drawToAndCollectJSON(SkCanvas*, UrlDataManager& urlDataManager, 105 Json::Value drawToAndCollectJSON(SkCanvas*, UrlDataManager& urlDataManager) const;
106 int opIndex) const;
107 106
108 /* Converts a JSON representation of a command into a newly-allocated SkDraw Command object. It 107 /* Converts a JSON representation of a command into a newly-allocated SkDraw Command object. It
109 * is the caller's responsibility to delete this object. This method may ret urn null if an error 108 * is the caller's responsibility to delete this object. This method may ret urn null if an error
110 * occurs. 109 * occurs.
111 */ 110 */
112 static SkDrawCommand* fromJSON(Json::Value& command, UrlDataManager& urlData Manager); 111 static SkDrawCommand* fromJSON(Json::Value& command, UrlDataManager& urlData Manager);
113 112
114 static const char* GetCommandString(OpType type); 113 static const char* GetCommandString(OpType type);
115 114
116 protected: 115 protected:
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 static SkSetMatrixCommand* fromJSON(Json::Value& command, UrlDataManager& ur lDataManager); 664 static SkSetMatrixCommand* fromJSON(Json::Value& command, UrlDataManager& ur lDataManager);
666 665
667 private: 666 private:
668 SkMatrix fUserMatrix; 667 SkMatrix fUserMatrix;
669 SkMatrix fMatrix; 668 SkMatrix fMatrix;
670 669
671 typedef SkDrawCommand INHERITED; 670 typedef SkDrawCommand INHERITED;
672 }; 671 };
673 672
674 #endif 673 #endif
OLDNEW
« no previous file with comments | « tools/debugger/SkDebugCanvas.cpp ('k') | tools/debugger/SkDrawCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698