clover: Wait for requested operation if blocking flag is set
authorJan Vesely <jan.vesely@rutgers.edu>
Wed, 2 Aug 2017 21:04:24 +0000 (17:04 -0400)
committerJan Vesely <jan.vesely@rutgers.edu>
Wed, 20 Sep 2017 22:48:46 +0000 (18:48 -0400)
commit3a5b69c09ba355c616c274b0c7f5aba3bd21fd54
tree2b542dab0e27cb1852284acf2c8b9ad1dd6a6d5e
parentbc4000ee40c78efe1e5e8a6244d4bb55389d8418
clover: Wait for requested operation if blocking flag is set

v2: wait in map_buffer and map_image as well
v3: use event::wait instead of wait (skips fence wait for hard_event)
v4: use wait_signalled()

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Aaron Watry <awatry@gmail.com>
src/gallium/state_trackers/clover/api/transfer.cpp