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

Unified Diff: sky/engine/bindings/scripts/dart_types.py

Issue 1155193004: Canvas.concat takes a 16-element Float32List instead of an array. (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: more fixes Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/engine/core/painting/Canvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/bindings/scripts/dart_types.py
diff --git a/sky/engine/bindings/scripts/dart_types.py b/sky/engine/bindings/scripts/dart_types.py
index dde7436e6110f3bd26fa5d4eb390c3f31ea12e65..d1f07db17ff4acd8163cd5c88f985b20c3100536 100644
--- a/sky/engine/bindings/scripts/dart_types.py
+++ b/sky/engine/bindings/scripts/dart_types.py
@@ -116,6 +116,7 @@ CPP_SPECIAL_CONVERSION_RULES = {
'unrestricted float': 'float',
# Pass these by value, not pointer.
'Color': 'SkColor',
+ 'Float32List': 'Float32List',
'Point': 'Point',
'Rect': 'Rect',
'TransferMode': 'SkXfermode::Mode',
@@ -363,6 +364,7 @@ DART_TO_CPP_VALUE = {
# Pass-by-value types.
'Color': pass_by_value_format('CanvasColor'),
+ 'Float32List': pass_by_value_format('Float32List'),
'Point': pass_by_value_format('{implemented_as}'),
'Rect': pass_by_value_format('{implemented_as}'),
'TransferMode': pass_by_value_format('TransferMode'),
« no previous file with comments | « no previous file | sky/engine/core/painting/Canvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698