File tree 9 files changed +47
-5
lines changed
9 files changed +47
-5
lines changed Original file line number Diff line number Diff line change
1
+ /* This Source Code Form is subject to the terms of the Mozilla Public
2
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
+
1
5
#ifndef WGPU_H
2
6
#define WGPU_H
3
7
#include "wgpu.h"
Original file line number Diff line number Diff line change
1
+ /* This Source Code Form is subject to the terms of the Mozilla Public
2
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
+
1
5
#ifndef WGPU_H
2
6
#define WGPU_H
3
7
#include "wgpu.h"
Original file line number Diff line number Diff line change
1
+ /* This Source Code Form is subject to the terms of the Mozilla Public
2
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
+
1
5
#ifndef WGPU_H
2
6
#define WGPU_H
3
7
#include "wgpu.h"
6
10
WGPUU32Array read_file (const char * name );
7
11
8
12
void read_buffer_map (
9
- WGPUBufferMapAsyncStatus status ,
10
- const uint8_t * data ,
13
+ WGPUBufferMapAsyncStatus status ,
14
+ const uint8_t * data ,
11
15
uint8_t * userdata );
Original file line number Diff line number Diff line change
1
+ /* This Source Code Form is subject to the terms of the Mozilla Public
2
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
+
1
5
#define WGPU_INLINE
2
6
#define WGPU_FUNC
3
7
Original file line number Diff line number Diff line change
1
+ /* This Source Code Form is subject to the terms of the Mozilla Public
2
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
+
1
5
#ifndef WGPU_H
2
6
#define WGPU_H
3
7
#include "wgpu.h"
Original file line number Diff line number Diff line change 1
- #define WGPU_LOCAL
2
-
1
+ /* This Source Code Form is subject to the terms of the Mozilla Public
2
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
3
4
4
5
/* Generated with cbindgen:0.9.1 */
5
6
7
+ /* DO NOT MODIFY THIS MANUALLY! This file was generated using cbindgen.
8
+ * To generate this file:
9
+ * 1. Get the latest cbindgen using `cargo install --force cbindgen`
10
+ * a. Alternatively, you can clone `https://github.com/eqrion/cbindgen` and use a tagged release
11
+ * 2. Run `rustup run nightly cbindgen toolkit/library/rust/ --lockfile Cargo.lock --crate wgpu-remote -o dom/webgpu/ffi/wgpu_ffi_generated.h`
12
+ */
13
+
14
+ #define WGPU_LOCAL
15
+
16
+
6
17
#include <stdarg.h>
7
18
#include <stdbool.h>
8
19
#include <stdint.h>
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ keywords = ["graphics"]
13
13
license = " MPL-2.0"
14
14
15
15
[lib ]
16
+ # Enabling these targets makes our CI bots try to build them and fail atm
16
17
crate-type = [" lib" , " cdylib" , " staticlib" ]
17
18
18
19
[features ]
Original file line number Diff line number Diff line change 1
- header = """
1
+ header = """ /* This Source Code Form is subject to the terms of the Mozilla Public
2
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */"""
4
+ autogen_warning = """ /* DO NOT MODIFY THIS MANUALLY! This file was generated using cbindgen.
5
+ * To generate this file:
6
+ * 1. Get the latest cbindgen using `cargo install --force cbindgen`
7
+ * a. Alternatively, you can clone `https://github.com/eqrion/cbindgen` and use a tagged release
8
+ * 2. Run `rustup run nightly cbindgen toolkit/library/rust/ --lockfile Cargo.lock --crate wgpu-remote -o dom/webgpu/ffi/wgpu_ffi_generated.h`
9
+ */
10
+
2
11
#define WGPU_LOCAL
3
12
"""
4
13
include_version = true
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ authors = [
8
8
edition = " 2018"
9
9
10
10
[lib ]
11
+ # Enabling these targets makes our CI bots try to build them and fail atm
11
12
crate-type = [" lib" , " cdylib" , " staticlib" ]
12
13
13
14
[features ]
You can’t perform that action at this time.
0 commit comments