| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 #include "SkLuaCanvas.h" | 8 #include "SkLuaCanvas.h" |
| 9 #include "SkLua.h" | 9 #include "SkLua.h" |
| 10 | 10 |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 } | 277 } |
| 278 | 278 |
| 279 void SkLuaCanvas::drawVertices(VertexMode vmode, int vertexCount, | 279 void SkLuaCanvas::drawVertices(VertexMode vmode, int vertexCount, |
| 280 const SkPoint vertices[], const SkPoint texs[], | 280 const SkPoint vertices[], const SkPoint texs[], |
| 281 const SkColor colors[], SkXfermode* xmode, | 281 const SkColor colors[], SkXfermode* xmode, |
| 282 const uint16_t indices[], int indexCount, | 282 const uint16_t indices[], int indexCount, |
| 283 const SkPaint& paint) { | 283 const SkPaint& paint) { |
| 284 AUTO_LUA("drawVertices"); | 284 AUTO_LUA("drawVertices"); |
| 285 lua.pushPaint(paint, "paint"); | 285 lua.pushPaint(paint, "paint"); |
| 286 } | 286 } |
| 287 | |
| 288 void SkLuaCanvas::drawData(const void* data, size_t length) { | |
| 289 AUTO_LUA("drawData"); | |
| 290 } | |
| OLD | NEW |