dawn-cmake/generator/templates
Corentin Wallez 2da19d5d6b Fix double MapReadCallback trigger when Unmapping in it.
When calling unmap on a mapped buffer for which the callback hasn't
fired yet, the callback should be called with UNKNOWN. The code marked
the callback as called only after calling it, causing problems with
re-entrancy where the callback would be called twice.

This could also get triggered by destroying the buffer inside the
callback.

Fix this in backend::Buffer and the WireClient and add test for both.
2018-04-06 16:03:57 -04:00
..
wire Fix double MapReadCallback trigger when Unmapping in it. 2018-04-06 16:03:57 -04:00
BackendProcTable.cpp Add an internal ASSERT macro 2017-07-10 19:35:21 -04:00
api.c Initial commit of all the NXT integration. 2017-04-20 14:38:20 -04:00
api.h Add Buffer::MapReadAsync state-tracking 2017-06-13 08:30:01 -07:00
apicpp.cpp Implement the device error callback. 2017-05-11 11:31:54 +02:00
apicpp.h Member rename: generator/templates 2017-11-23 17:04:10 -05:00
apicpp_traits.h clang/gcc: enable a bunch more warnings (#91) 2017-07-21 17:00:22 -07:00
mock_api.cpp Member rename: generator/templates 2017-11-23 17:04:10 -05:00
mock_api.h Member rename: generator/templates 2017-11-23 17:04:10 -05:00