diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-26 23:46:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 23:46:46 +0100 |
commit | 462ce14a78b4109143918878042b9f552083c82e (patch) | |
tree | 64c65d91557159efccb40117e340e7abbb08d75d /ext/webgpu/02_surface.js | |
parent | d889f996577a6345d08c4ce71063be6d765fb5ec (diff) |
refactor: migrate extensions to virtual ops module (#22135)
First pass of migrating away from `Deno.core.ensureFastOps()`.
A few "tricky" ones have been left for a follow up.
Diffstat (limited to 'ext/webgpu/02_surface.js')
-rw-r--r-- | ext/webgpu/02_surface.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/webgpu/02_surface.js b/ext/webgpu/02_surface.js index eb3ee80af..94b0a5d54 100644 --- a/ext/webgpu/02_surface.js +++ b/ext/webgpu/02_surface.js @@ -6,13 +6,13 @@ /// <reference path="../web/lib.deno_web.d.ts" /> /// <reference path="./lib.deno_webgpu.d.ts" /> -import { core, primordials } from "ext:core/mod.js"; -const { - op_webgpu_surface_create, +import { primordials } from "ext:core/mod.js"; +import { op_webgpu_surface_configure, + op_webgpu_surface_create, op_webgpu_surface_get_current_texture, op_webgpu_surface_present, -} = core.ensureFastOps(); +} from "ext:core/ops"; const { ObjectPrototypeIsPrototypeOf, Symbol, |