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

Side by Side Diff: src/core/SkRecorder.h

Issue 429343004: Stopped skipping tests in dm of SkPatch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Moved DRAW_PATCH DrawType to the last position Created 6 years, 4 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 | « src/core/SkRecordDraw.cpp ('k') | src/core/SkRecorder.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 2014 Google Inc. 2 * Copyright 2014 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 SkRecorder_DEFINED 8 #ifndef SkRecorder_DEFINED
9 #define SkRecorder_DEFINED 9 #define SkRecorder_DEFINED
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 const SkPaint* paint = NULL) SK_OVERRIDE; 54 const SkPaint* paint = NULL) SK_OVERRIDE;
55 void drawVertices(VertexMode vmode, 55 void drawVertices(VertexMode vmode,
56 int vertexCount, 56 int vertexCount,
57 const SkPoint vertices[], 57 const SkPoint vertices[],
58 const SkPoint texs[], 58 const SkPoint texs[],
59 const SkColor colors[], 59 const SkColor colors[],
60 SkXfermode* xmode, 60 SkXfermode* xmode,
61 const uint16_t indices[], 61 const uint16_t indices[],
62 int indexCount, 62 int indexCount,
63 const SkPaint& paint) SK_OVERRIDE; 63 const SkPaint& paint) SK_OVERRIDE;
64 void drawPatch(const SkPatch& patch, const SkPaint& paint) SK_OVERRIDE;
64 65
65 void willSave() SK_OVERRIDE; 66 void willSave() SK_OVERRIDE;
66 SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SkCanvas::Sav eFlags) SK_OVERRIDE; 67 SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SkCanvas::Sav eFlags) SK_OVERRIDE;
67 void willRestore() SK_OVERRIDE; 68 void willRestore() SK_OVERRIDE;
68 69
69 void didConcat(const SkMatrix&) SK_OVERRIDE; 70 void didConcat(const SkMatrix&) SK_OVERRIDE;
70 void didSetMatrix(const SkMatrix&) SK_OVERRIDE; 71 void didSetMatrix(const SkMatrix&) SK_OVERRIDE;
71 72
72 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK_OVERRID E; 73 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK_OVERRID E;
73 void onDrawText(const void* text, 74 void onDrawText(const void* text,
(...skipping 29 matching lines...) Expand all
103 template <typename T> 104 template <typename T>
104 T* copy(const T*); 105 T* copy(const T*);
105 106
106 template <typename T> 107 template <typename T>
107 T* copy(const T[], unsigned count); 108 T* copy(const T[], unsigned count);
108 109
109 SkRecord* fRecord; 110 SkRecord* fRecord;
110 }; 111 };
111 112
112 #endif//SkRecorder_DEFINED 113 #endif//SkRecorder_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkRecordDraw.cpp ('k') | src/core/SkRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698