Lines Matching refs:CanvasKit
17 CanvasKit.MakeManagedAnimation = function(json, assets, prop_filter_prefix, soundMap, logger) {
18 if (!CanvasKit._MakeManagedAnimation) {
25 return CanvasKit._MakeManagedAnimation(json, 0, nullptr, nullptr, nullptr, prop_filter_prefix,
38 var iptr = CanvasKit._malloc(data.byteLength);
39 CanvasKit.HEAPU8.set(data, iptr);
47 var strPtr = CanvasKit._malloc(strLen);
59 var anim = CanvasKit._MakeManagedAnimation(json, assetKeys.length, namesPtr,
64 CanvasKit._free(namesPtr);
65 CanvasKit._free(assetsPtr);
66 CanvasKit._free(assetSizesPtr);
71 (function(CanvasKit){ argument
72 CanvasKit._extraInitializations = CanvasKit._extraInitializations || [];
73 CanvasKit._extraInitializations.push(function() {
75 CanvasKit.Animation.prototype.render = function(canvas, dstRect) {
80 CanvasKit.Animation.prototype.size = function(optSize) {
95 if (CanvasKit.ManagedAnimation) {
96 CanvasKit.ManagedAnimation.prototype.render = function(canvas, dstRect) {
101 CanvasKit.ManagedAnimation.prototype.seek = function(t, optDamageRect) {
111 CanvasKit.ManagedAnimation.prototype.seekFrame = function(frame, optDamageRect) {
121 CanvasKit.ManagedAnimation.prototype.setColor = function(key, color) {
126 CanvasKit.ManagedAnimation.prototype.size = function(optSize) {