Searched refs:offscreenCanvas (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/demos.skia.org/demos/path_performance/ |
D | worker.js | 9 addEventListener('message', async ({ data: {svgData, offscreenCanvas, type, switchMethod} }) => { property 12 if (svgData && offscreenCanvas && type) { 15 new Path2dRenderer(svgData, offscreenCanvas); 20 new CanvasKitRenderer(svgData, offscreenCanvas, CanvasKit);
|
D | shared.js | 76 constructor(svgData, offscreenCanvas) { argument 79 this.ctx = offscreenCanvas.getContext('2d'); 103 constructor(svgData, offscreenCanvas, CanvasKit) { argument 110 this.surface = CanvasKit.MakeWebGLCanvasSurface(offscreenCanvas, null);
|
D | main.js | 16 offscreenCanvas: path2dCanvas, property 23 offscreenCanvas: canvasKitCanvas, property
|
/third_party/skia/demos.skia.org/demos/web_worker/ |
D | main.js | 2 const offscreenCanvas = document.getElementById('offscreen-canvas').transferControlToOffscreen(); constant 4 worker.postMessage({ offscreenCanvas }, [offscreenCanvas]); field
|
D | worker.js | 17 { data: { offscreenCanvas } }, field 21 const surface = CanvasKit.MakeWebGLCanvasSurface(offscreenCanvas, null);
|
/third_party/jsframework/runtime/main/page/ |
D | OffscreenCanvas.ts | 2 let offscreenCanvas; variable 9 offscreenCanvas = page.requireModule('system.offscreenCanvas'); 12 this._bridge = offscreenCanvas.create({
|