forked from gfx-rs/wgpu
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove wgpu-bindings in favor of configuration scripts
- Loading branch information
Showing
22 changed files
with
245 additions
and
525 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
.vscode | ||
.vs | ||
build | ||
ffi/dawn*.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
[workspace] | ||
members = [ | ||
"wgpu-native", | ||
"wgpu-bindings", | ||
"wgpu-remote", | ||
"wgpu-rs", | ||
"examples", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
|
||
|
||
/* Generated with cbindgen:0.8.3 */ | ||
|
||
#include <stdarg.h> | ||
#include <stdbool.h> | ||
#include <stdint.h> | ||
#include <stdlib.h> | ||
|
||
typedef enum { | ||
WGPUPowerPreference_Default = 0, | ||
WGPUPowerPreference_LowPower = 1, | ||
WGPUPowerPreference_HighPerformance = 2, | ||
} WGPUPowerPreference; | ||
|
||
typedef struct WGPUClient WGPUClient; | ||
|
||
typedef struct WGPUServer WGPUServer; | ||
|
||
typedef struct WGPUTrackPermit WGPUTrackPermit; | ||
|
||
typedef uint32_t WGPUIndex; | ||
|
||
typedef uint32_t WGPUEpoch; | ||
|
||
typedef struct { | ||
WGPUIndex _0; | ||
WGPUEpoch _1; | ||
} WGPUId; | ||
|
||
typedef WGPUId WGPUDeviceId; | ||
|
||
typedef WGPUId WGPUAdapterId; | ||
|
||
typedef struct { | ||
bool anisotropic_filtering; | ||
} WGPUExtensions; | ||
|
||
typedef struct { | ||
WGPUExtensions extensions; | ||
} WGPUDeviceDescriptor; | ||
|
||
typedef struct { | ||
WGPUPowerPreference power_preference; | ||
} WGPUAdapterDescriptor; | ||
|
||
typedef struct { | ||
WGPUClient *client; | ||
WGPUServer *server; | ||
const uint8_t *error; | ||
} WGPUInfrastructure; | ||
|
||
|
||
|
||
|
||
|
||
WGPUDeviceId wgpu_client_adapter_create_device(const WGPUClient *client, | ||
WGPUAdapterId adapter_id, | ||
const WGPUDeviceDescriptor *desc); | ||
|
||
WGPUAdapterId wgpu_client_get_adapter(const WGPUClient *client, const WGPUAdapterDescriptor *desc); | ||
|
||
void wgpu_client_terminate(WGPUClient *client); | ||
|
||
WGPUInfrastructure wgpu_initialize(void); | ||
|
||
void wgpu_server_process(const WGPUServer *server); |
Oops, something went wrong.