Lines Matching refs:CanvasKit
7 CanvasKit.MakeParticles = function(json, assets) {
8 if (!CanvasKit._MakeParticles) {
12 return CanvasKit._MakeParticles(json, 0, nullptr, nullptr, nullptr);
24 var iptr = CanvasKit._malloc(data.byteLength);
25 CanvasKit.HEAPU8.set(data, iptr);
33 var strPtr = CanvasKit._malloc(strLen);
45 var particles = CanvasKit._MakeParticles(json, assetKeys.length,
49 CanvasKit._free(namesPtr);
50 CanvasKit._free(assetsPtr);
51 CanvasKit._free(assetSizesPtr);
56 CanvasKit._extraInitializations = CanvasKit._extraInitializations || [];
57 CanvasKit._extraInitializations.push(function() {
59 CanvasKit.ParticleEffect.prototype.uniforms = function() {
65 return new Float32Array(CanvasKit.HEAPU8.buffer, fptr, numFloats);
68 CanvasKit.ParticleEffect.prototype.setPosition = function(pos) {