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

Side by Side Diff: src/utils/debugger/SkDrawCommand.h

Issue 930973002: Remove Chromium staging in SkDrawCommand (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Doh Created 5 years, 10 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 | « no previous file | src/utils/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 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #ifndef SKDRAWCOMMAND_H_ 9 #ifndef SKDRAWCOMMAND_H_
10 #define SKDRAWCOMMAND_H_ 10 #define SKDRAWCOMMAND_H_
11 11
12 #include "SkCanvas.h" 12 #include "SkCanvas.h"
13 #include "SkString.h" 13 #include "SkString.h"
14 14
15 class SK_API SkDrawCommand { 15 class SK_API SkDrawCommand {
16 public: 16 public:
17 // Staging for Chromium
18 static const char* kDrawRectString;
19 static const char* kClipRectString;
20 // End Staging
21
22 enum OpType { 17 enum OpType {
23 kBeginCommentGroup_OpType, 18 kBeginCommentGroup_OpType,
24 kClipPath_OpType, 19 kClipPath_OpType,
25 kClipRegion_OpType, 20 kClipRegion_OpType,
26 kClipRect_OpType, 21 kClipRect_OpType,
27 kClipRRect_OpType, 22 kClipRRect_OpType,
28 kComment_OpType, 23 kComment_OpType,
29 kConcat_OpType, 24 kConcat_OpType,
30 kDrawBitmap_OpType, 25 kDrawBitmap_OpType,
31 kDrawBitmapNine_OpType, 26 kDrawBitmapNine_OpType,
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 void setUserMatrix(const SkMatrix&) SK_OVERRIDE; 586 void setUserMatrix(const SkMatrix&) SK_OVERRIDE;
592 void execute(SkCanvas* canvas) const SK_OVERRIDE; 587 void execute(SkCanvas* canvas) const SK_OVERRIDE;
593 private: 588 private:
594 SkMatrix fUserMatrix; 589 SkMatrix fUserMatrix;
595 SkMatrix fMatrix; 590 SkMatrix fMatrix;
596 591
597 typedef SkDrawCommand INHERITED; 592 typedef SkDrawCommand INHERITED;
598 }; 593 };
599 594
600 #endif 595 #endif
OLDNEW
« no previous file with comments | « no previous file | src/utils/debugger/SkDrawCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698