Corentin Wallez
5dcaadb0f9
Make libdawn a shared library, add a DAWN_EXPORT macro
2018-07-25 21:03:49 +02:00
Corentin Wallez
e37234cd22
Standardize header guards for libdawn headers
2018-07-25 21:03:49 +02:00
Corentin Wallez
a5ee52d33e
Rename NXT -> DAWN in header guards
2018-07-18 22:54:06 +02:00
Corentin Wallez
be5ca38351
Rename nxtProcTable and nxtSetProcs to dawn
2018-07-18 22:54:06 +02:00
Corentin Wallez
b1669e3fa4
Change the API prefix in generators from nxt to dawn
2018-07-18 22:54:06 +02:00
Corentin Wallez
4a9ef4ee21
Rename the copyright authors from NXT to Dawn
2018-07-18 22:54:06 +02:00
Corentin Wallez
a6416543a4
generator: Add support for structure of non-object values
2018-05-23 14:03:51 -04:00
Corentin Wallez
cc0a54dbdb
Implement MapWrite except in the wire.
...
Also this MapWrite doesn't zero out memory yet.
2018-04-06 16:03:57 -04:00
Corentin Wallez
8565e0056a
Rename "buffer map read status" to "buffer map async status"
...
This is in preparation of MapWriteAsync that will use the same status
enum.
2018-04-06 16:03:57 -04:00
Corentin Wallez
b1c19eeb4f
Add Buffer::MapReadAsync state-tracking
2017-06-13 08:30:01 -07:00
Corentin Wallez
7f96177289
Implement the builder error callback in the backends
...
This makes the Builder base class retain the error status, if any, and
call the callback on GetResult (or ~Builder, whichever comes first).
2017-05-11 11:31:54 +02:00
Corentin Wallez
4b410a33ca
Implement the device error callback.
...
This adds support for "natively defined" API types like callbacks that
will have to be implemented manually for each target language. Also this
splits the concept of "native method" into a set of native methods per
language.
Removes the "Synchronous error" concept that was used to make builders
work in the maybe Monad, this will have to be reinroduced with builder
callbacks.
2017-05-11 11:31:54 +02:00
Corentin Wallez
f07e3bd4c9
Initial commit of all the NXT integration.
...
More like squashed history, contributors were:
- Kai Ninomiya
- Corentin Wallez
2017-04-20 14:38:20 -04:00