xref: /aosp_15_r20/external/mesa3d/src/gallium/frontends/rusticl/rusticl_opencl_bindings.h (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1 #include <CL/cl_icd.h>
2 #include <GL/gl.h>
3 #include <EGL/egl.h>
4 #ifdef HAVE_X11_PLATFORM
5 #include <GL/glx.h>
6 #endif
7 #include "GL/mesa_glinterop.h"
8 
9 #define DECL_CL_STRUCT(name) struct name { const cl_icd_dispatch *dispatch; }
10 DECL_CL_STRUCT(_cl_command_queue);
11 DECL_CL_STRUCT(_cl_context);
12 DECL_CL_STRUCT(_cl_device_id);
13 DECL_CL_STRUCT(_cl_event);
14 DECL_CL_STRUCT(_cl_kernel);
15 DECL_CL_STRUCT(_cl_mem);
16 DECL_CL_STRUCT(_cl_platform_id);
17 DECL_CL_STRUCT(_cl_program);
18 DECL_CL_STRUCT(_cl_sampler);
19 #undef DECL_CL_STRUCT
20