gallium,clover: add OpenCL interoperability support for CL events
authorMarek Olšák <marek.olsak@amd.com>
Fri, 10 Apr 2015 16:42:42 +0000 (18:42 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 30 Apr 2015 12:38:38 +0000 (14:38 +0200)
commit952b5e84db47be3adaf01f047efeedd26cf0d173
treef079121d3db81db46191cf13bf495582dccb5bdf
parent7070b0dd66d315b3106803580623df4fb5223473
gallium,clover: add OpenCL interoperability support for CL events

v2: - move interop.cpp to clover/api
    - change intptr_t to void* in the interface
    - add a virtual function fence() to simplify some code

v3: - use bool in the interface
v4: - enclose the last two interop functions in try..catch

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/include/state_tracker/opencl_interop.h [new file with mode: 0644]
src/gallium/state_trackers/clover/Makefile.sources
src/gallium/state_trackers/clover/api/interop.cpp [new file with mode: 0644]
src/gallium/state_trackers/clover/core/event.hpp
src/gallium/targets/opencl/opencl.sym