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

Side by Side Diff: src/utils/SkProxyCanvas.cpp

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/utils/SkPatchUtils.cpp ('k') | no next file » | 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 2011 Google Inc. 3 * Copyright 2011 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 #include "SkProxyCanvas.h" 8 #include "SkProxyCanvas.h"
9 9
10 SkProxyCanvas::SkProxyCanvas(SkCanvas* proxy) : fProxy(proxy) { 10 SkProxyCanvas::SkProxyCanvas(SkCanvas* proxy) : fProxy(proxy) {
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 void SkProxyCanvas::drawVertices(VertexMode vmode, int vertexCount, 143 void SkProxyCanvas::drawVertices(VertexMode vmode, int vertexCount,
144 const SkPoint vertices[], const SkPoint texs[], 144 const SkPoint vertices[], const SkPoint texs[],
145 const SkColor colors[], SkXfermode* xmode, 145 const SkColor colors[], SkXfermode* xmode,
146 const uint16_t indices[], int indexCount, 146 const uint16_t indices[], int indexCount,
147 const SkPaint& paint) { 147 const SkPaint& paint) {
148 fProxy->drawVertices(vmode, vertexCount, vertices, texs, colors, 148 fProxy->drawVertices(vmode, vertexCount, vertices, texs, colors,
149 xmode, indices, indexCount, paint); 149 xmode, indices, indexCount, paint);
150 } 150 }
151 151
152 void SkProxyCanvas::drawPatch(const SkPatch& patch, const SkPaint& paint) {
153 fProxy->drawPatch(patch, paint);
154 }
155
152 void SkProxyCanvas::drawData(const void* data, size_t length) { 156 void SkProxyCanvas::drawData(const void* data, size_t length) {
153 fProxy->drawData(data, length); 157 fProxy->drawData(data, length);
154 } 158 }
155 159
156 void SkProxyCanvas::beginCommentGroup(const char* description) { 160 void SkProxyCanvas::beginCommentGroup(const char* description) {
157 fProxy->beginCommentGroup(description); 161 fProxy->beginCommentGroup(description);
158 } 162 }
159 163
160 void SkProxyCanvas::addComment(const char* kywd, const char* value) { 164 void SkProxyCanvas::addComment(const char* kywd, const char* value) {
161 fProxy->addComment(kywd, value); 165 fProxy->addComment(kywd, value);
162 } 166 }
163 167
164 void SkProxyCanvas::endCommentGroup() { 168 void SkProxyCanvas::endCommentGroup() {
165 fProxy->endCommentGroup(); 169 fProxy->endCommentGroup();
166 } 170 }
167 171
168 SkDrawFilter* SkProxyCanvas::setDrawFilter(SkDrawFilter* filter) { 172 SkDrawFilter* SkProxyCanvas::setDrawFilter(SkDrawFilter* filter) {
169 return fProxy->setDrawFilter(filter); 173 return fProxy->setDrawFilter(filter);
170 } 174 }
OLDNEW
« no previous file with comments | « src/utils/SkPatchUtils.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698