()
| 180 | } |
| 181 | |
| 182 | pub fn init() -> Extension { |
| 183 | Extension::builder() |
| 184 | .ops(vec![ |
| 185 | ("op_webgpu_create_surface", op_sync(op_webgpu_create_surface)), |
| 186 | ("op_webgpu_configure_surface", op_sync(op_webgpu_configure_surface)), |
| 187 | ("op_webgpu_surface_get_preferred_format", op_sync(op_webgpu_surface_get_preferred_format)), |
| 188 | ("op_webgpu_surface_get_current_texture", op_sync(op_webgpu_surface_get_current_texture)), |
| 189 | ("op_webgpu_surface_present", op_sync(op_webgpu_surface_present)), |
| 190 | ("op_webgpu_surface_drop", op_sync(op_webgpu_surface_drop)), |
| 191 | ]) |
| 192 | .build() |
| 193 | } |
nothing calls this directly
no outgoing calls
no test coverage detected