Kai Ninomiya
b2b495b5aa
Forbid explicit transitions to/from attachment usages ( #18 )
2017-05-24 13:07:30 -07:00
Corentin Wallez
79a62bf6e3
Create a Null backend.
...
This will be useful to run validation unittests without using the GPU.
2017-05-24 15:23:53 -04:00
Kai Ninomiya
68df8b0a3a
Introduce render passes
...
* First API design (many features missing, including input attachments)
* Metal implementation (no OpenGL yet)
* Render-to-texture demo (a little broken until we have depth buffers)
* Update examples to use render passes
2017-05-22 10:53:19 -07:00
Corentin Wallez
ca309db58a
Add wire tests for unknown and success error status
2017-05-19 10:41:36 +02:00
Corentin Wallez
75bbcec543
Add wire test for the maybe monad
2017-05-19 10:41:36 +02:00
Corentin Wallez
42f2d3c5f2
Add wire tests for *SetErrorCallback
2017-05-19 10:41:36 +02:00
Corentin Wallez
c85b5c0640
Add wire tests for passing arguments around
...
- Add test for passing value arguments as well as aarrays of them
- Add test for passing C string
- Rework Object array argument test to pass multiple objects
2017-05-19 10:41:36 +02:00
Corentin Wallez
1b7c5e3f70
Mock API: special case the SetErrorCallback procs.
...
Also add a suppression for these procs in wiretests, unless we are
specifically testing them.
2017-05-19 10:41:36 +02:00
Corentin Wallez
0a58812f34
Consolidate unittests in one binary
2017-05-19 10:41:36 +02:00
Kai Ninomiya
314f3852a3
Fix Linux build
2017-05-16 21:09:14 +02:00
Corentin Wallez
36cf2dd54b
Make autogenerated validation produce device or builder errors
2017-05-11 11:31:54 +02:00
Corentin Wallez
f79df0c62d
Print builder errors by default.
2017-05-11 11:31:54 +02:00
Corentin Wallez
cd0ea35889
Implement builder callback forwarding in the wire
2017-05-11 11:31:54 +02: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
5dc7915d38
Introduce a base class for Builder objects.
...
All builder objects will depend from this "Builder" base class. This
will allow having the builder callback logic in only one place.
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
682a8250b3
Plumb the server->client wire
2017-05-11 11:31:54 +02:00
Corentin Wallez
7f433a5b52
Add bufferOffset to CopyBufferToTexture.
2017-05-10 19:49:52 +02:00
Corentin Wallez
a2d4d14bd4
mock_api: Only mock methods with less than 10 arguments
...
GoogleMock only handles up to 10 arguments, but functions this big
probably won't be used in mocked tests so we can just skip them.
2017-05-10 19:49:52 +02:00
Corentin Wallez
060f254468
Add link to the overview document
2017-04-28 11:40:16 -07:00
Kai Ninomiya
faa5894500
Add shebang to generator/main.py to use python2
...
Fixes #3
2017-04-27 10:46:53 -04:00
Corentin Wallez
5473d719f7
Update blink generators for the big Blink rename.
2017-04-26 15:17:03 -04:00
Corentin Wallez
0fba0b4811
Fix usage of C++14 constexpr in HasZeroOrOneBit
2017-04-26 15:17:03 -04: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