[canvaskit] Update CHANGELOG on WebGPU support Bug: skia:12512 Change-Id: I0e49d44615af5c44b9eff4be96b77b51cf6a789c Reviewed-on: https://skia-review.googlesource.com/c/skia/+/554693 Reviewed-by: Kevin Lubick <kjlubick@google.com>
diff --git a/modules/canvaskit/CHANGELOG.md b/modules/canvaskit/CHANGELOG.md index 5ec2cfc..08e19fe 100644 --- a/modules/canvaskit/CHANGELOG.md +++ b/modules/canvaskit/CHANGELOG.md
@@ -6,6 +6,18 @@ ## [Unreleased] +### Added + - WebGPU support. Introduced `CanvasKit.MakeGPUDeviceContext`, `CanvasKit.MakeGPUCanvasContext`, + `CanvasKit.MakeGPUCanvasSurface`, and `CanvasKit.MakeGPUTextureSurface` which are compatible with + WebGPU `GPUDevice` and `GPUTexture` objects. + - Typescript definitions for WebGPU API functions that are compatible with `@webgpu/types` + (https://www.npmjs.com/package/@webgpu/types). + - `CanvasKit.MakeCanvasSurface` is now deprecated. Clients should specify a backend target + explicitly using `CanvasKit.MakeSWCanvasSurface`, `CanvasKit.MakeOnScreenGLSurface`, + `CanvasKit.MakeGPUCanvasSurface`, and `CanvasKit.MakeGPUTextureSurface`. + - `CanvasKit.MakeGrContext` is now deprecated. Clients should use `CanvasKit.MakeWebGLContext` and + `CanvasKit.MakeGPUDeviceContext` instead. + ### Fixed - Minor bug fixes in the TypeScript type declaration. - Creating a Premul Image from a TextureSource should upload the texture to WebGL correctly.