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

Issue 1155193004: Canvas.concat takes a 16-element Float32List instead of an array. (Closed)

Created:
5 years, 6 months ago by Matt Perry
Modified:
5 years, 6 months ago
Reviewers:
abarth-chromium
CC:
abarth-chromium, gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org
Base URL:
git@github.com:/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Canvas.concat takes a 16-element Float32List instead of an array. The array should be in column-major format, in the format used by vector_math.dart. R=abarth@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/cc118d27d8650b84942149eb844dcff8e9444f3b

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : float32list #

Patch Set 4 : . #

Patch Set 5 : . #

Total comments: 8

Patch Set 6 : abarth #

Total comments: 10

Patch Set 7 : more fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -10 lines) Patch
M sky/engine/bindings/scripts/dart_types.py View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M sky/engine/core/painting/Canvas.h View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M sky/engine/core/painting/Canvas.cpp View 1 2 3 4 5 1 chunk +16 lines, -3 lines 0 comments Download
M sky/engine/core/painting/Canvas.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M sky/engine/tonic/BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
A sky/engine/tonic/float32_list.h View 1 2 3 4 5 6 1 chunk +44 lines, -0 lines 0 comments Download
A sky/engine/tonic/float32_list.cc View 1 2 3 4 5 6 1 chunk +47 lines, -0 lines 0 comments Download
M sky/examples/raw/painting.sky View 1 2 2 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Matt Perry
5 years, 6 months ago (2015-06-04 16:48:26 UTC) #2
abarth-chromium
https://codereview.chromium.org/1155193004/diff/80001/sky/engine/core/painting/Float32List.cpp File sky/engine/core/painting/Float32List.cpp (right): https://codereview.chromium.org/1155193004/diff/80001/sky/engine/core/painting/Float32List.cpp#newcode14 sky/engine/core/painting/Float32List.cpp:14: void Float32List::Init(Dart_Handle list) { Is there some reason this ...
5 years, 6 months ago (2015-06-04 16:58:16 UTC) #3
Matt Perry
I also made the member variables private, since it's more a class than a struct ...
5 years, 6 months ago (2015-06-04 17:22:44 UTC) #4
abarth-chromium
LGTM https://codereview.chromium.org/1155193004/diff/100001/sky/engine/tonic/BUILD.gn File sky/engine/tonic/BUILD.gn (right): https://codereview.chromium.org/1155193004/diff/100001/sky/engine/tonic/BUILD.gn#newcode21 sky/engine/tonic/BUILD.gn:21: "dart_float32list.h", We can just call these float32_list.cc and ...
5 years, 6 months ago (2015-06-04 17:29:27 UTC) #5
abarth-chromium
LGTM https://codereview.chromium.org/1155193004/diff/100001/sky/engine/tonic/BUILD.gn File sky/engine/tonic/BUILD.gn (right): https://codereview.chromium.org/1155193004/diff/100001/sky/engine/tonic/BUILD.gn#newcode21 sky/engine/tonic/BUILD.gn:21: "dart_float32list.h", We can just call these float32_list.cc and ...
5 years, 6 months ago (2015-06-04 17:29:28 UTC) #6
Matt Perry
https://codereview.chromium.org/1155193004/diff/100001/sky/engine/tonic/BUILD.gn File sky/engine/tonic/BUILD.gn (right): https://codereview.chromium.org/1155193004/diff/100001/sky/engine/tonic/BUILD.gn#newcode21 sky/engine/tonic/BUILD.gn:21: "dart_float32list.h", On 2015/06/04 17:29:27, abarth wrote: > We can ...
5 years, 6 months ago (2015-06-04 17:34:36 UTC) #7
Matt Perry
5 years, 6 months ago (2015-06-04 17:51:50 UTC) #8
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
cc118d27d8650b84942149eb844dcff8e9444f3b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698