MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / createGPUContextAsync

Function createGPUContextAsync

src/core/GPUContext.ts:384–390  ·  view source on GitHub ↗
(
  canvas?: SupportedCanvas,
  options?: GPUContextOptions
)

Source from the content-addressed store, hash-verified

382 * ```
383 */
384export async function createGPUContextAsync(
385 canvas?: SupportedCanvas,
386 options?: GPUContextOptions
387): Promise<GPUContextState> {
388 const context = createGPUContext(canvas, options);
389 return initializeGPUContext(context);
390}
391
392/**
393 * GPUContext class wrapper for backward compatibility.

Callers

nothing calls this directly

Calls 2

createGPUContextFunction · 0.85
initializeGPUContextFunction · 0.85

Tested by

no test coverage detected