I'm experimenting with WebCL bindings
for Dart (
https://github.com/nelsonsilva/dart_webcl).
I'm using typed lists in dart : var vector1 = new
Uint32List(vectorLength);
and I need to get the data from these in the native code (for
instance in: cmdQueue.enqueueWriteBuffer (bufIn1, false, 0,
vector1.lengthInBytes(), vector1, []))
What you're saying is I that I either come up with some new
classes that rely on external byte arrays or I'll have to copy all
the data to a new mem location.
Are there plans to expose typed arrays in the VM (Uint32Array,
etc..) ? And if so will these use external byte arrays ?
If not I could probably mimic the typed arrays from Dartium which
would be closer to the WebCL stuff but I'd like to know if this is
in the roadmap already.
Thanks.