| OLD | NEW |
| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 const uint16_t indices[], int indexCount, | 151 const uint16_t indices[], int indexCount, |
| 152 const SkPaint& paint) { | 152 const SkPaint& paint) { |
| 153 fProxy->drawVertices(vmode, vertexCount, vertices, texs, colors, | 153 fProxy->drawVertices(vmode, vertexCount, vertices, texs, colors, |
| 154 xmode, indices, indexCount, paint); | 154 xmode, indices, indexCount, paint); |
| 155 } | 155 } |
| 156 | 156 |
| 157 void SkProxyCanvas::drawData(const void* data, size_t length) { | 157 void SkProxyCanvas::drawData(const void* data, size_t length) { |
| 158 fProxy->drawData(data, length); | 158 fProxy->drawData(data, length); |
| 159 } | 159 } |
| 160 | 160 |
| 161 void SkProxyCanvas::beginCommentGroup(const char* description) { |
| 162 fProxy->beginCommentGroup(description); |
| 163 } |
| 164 |
| 165 void SkProxyCanvas::addComment(const char* kywd, const char* value) { |
| 166 fProxy->addComment(kywd, value); |
| 167 } |
| 168 |
| 169 void SkProxyCanvas::endCommentGroup() { |
| 170 fProxy->endCommentGroup(); |
| 171 } |
| 172 |
| 161 SkBounder* SkProxyCanvas::setBounder(SkBounder* bounder) { | 173 SkBounder* SkProxyCanvas::setBounder(SkBounder* bounder) { |
| 162 return fProxy->setBounder(bounder); | 174 return fProxy->setBounder(bounder); |
| 163 } | 175 } |
| 164 | 176 |
| 165 SkDrawFilter* SkProxyCanvas::setDrawFilter(SkDrawFilter* filter) { | 177 SkDrawFilter* SkProxyCanvas::setDrawFilter(SkDrawFilter* filter) { |
| 166 return fProxy->setDrawFilter(filter); | 178 return fProxy->setDrawFilter(filter); |
| 167 } | 179 } |
| OLD | NEW |