| // gpu/ipc/common/surface_handle.mojom-lite.js is auto generated by mojom_bindings_generator.py, do not edit |
| |
| // Copyright 2018 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| /** |
| * @fileoverview |
| * @suppress {missingRequire} |
| */ |
| 'use strict'; |
| |
| |
| mojo.internal.exportModule('gpu.mojom'); |
| |
| |
| |
| |
| |
| |
| |
| /** |
| * @const { {$:!mojo.internal.MojomType}} |
| * @export |
| */ |
| gpu.mojom.SurfaceHandleSpec = |
| { $: /** @type {!mojo.internal.MojomType} */ ({}) }; |
| |
| |
| |
| |
| mojo.internal.Struct( |
| gpu.mojom.SurfaceHandleSpec.$, |
| 'SurfaceHandle', |
| [ |
| mojo.internal.StructField( |
| 'surfaceHandle', 0, |
| 0, |
| mojo.internal.Uint64, |
| BigInt(0), |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| ], |
| [[0, 16],]); |
| |
| |
| |
| |
| |
| /** @record */ |
| gpu.mojom.SurfaceHandle = class { |
| constructor() { |
| /** @export { !bigint } */ |
| this.surfaceHandle; |
| } |
| }; |
| |