4
#ifndef OPENCV_CORE_OCL_RUNTIME_OPENCL_GL_WRAPPERS_HPP
8
#ifdef cl_khr_gl_sharing
11
#undef clCreateFromGLBuffer
12
#define clCreateFromGLBuffer clCreateFromGLBuffer_fn
13
inline
cl_mem clCreateFromGLBuffer(cl_context p0, cl_mem_flags p1, cl_GLuint p2,
int* p3) {
return
clCreateFromGLBuffer_pfn(p0, p1, p2, p3); }
14
#undef clCreateFromGLRenderbuffer
15
#define clCreateFromGLRenderbuffer clCreateFromGLRenderbuffer_fn
16
inline
cl_mem clCreateFromGLRenderbuffer(cl_context p0, cl_mem_flags p1, cl_GLuint p2, cl_int* p3) {
return
clCreateFromGLRenderbuffer_pfn(p0, p1, p2, p3); }
17
#undef clCreateFromGLTexture
18
#define clCreateFromGLTexture clCreateFromGLTexture_fn
19
inline
cl_mem clCreateFromGLTexture(cl_context p0, cl_mem_flags p1, cl_GLenum p2, cl_GLint p3, cl_GLuint p4, cl_int* p5) {
return
clCreateFromGLTexture_pfn(p0, p1, p2, p3, p4, p5); }
20
#undef clCreateFromGLTexture2D
21
#define clCreateFromGLTexture2D clCreateFromGLTexture2D_fn
22
inline
cl_mem clCreateFromGLTexture2D(cl_context p0, cl_mem_flags p1, cl_GLenum p2, cl_GLint p3, cl_GLuint p4, cl_int* p5) {
return
clCreateFromGLTexture2D_pfn(p0, p1, p2, p3, p4, p5); }
23
#undef clCreateFromGLTexture3D
24
#define clCreateFromGLTexture3D clCreateFromGLTexture3D_fn
25
inline
cl_mem clCreateFromGLTexture3D(cl_context p0, cl_mem_flags p1, cl_GLenum p2, cl_GLint p3, cl_GLuint p4, cl_int* p5) {
return
clCreateFromGLTexture3D_pfn(p0, p1, p2, p3, p4, p5); }
26
#undef clEnqueueAcquireGLObjects
27
#define clEnqueueAcquireGLObjects clEnqueueAcquireGLObjects_fn
28
inline
cl_int clEnqueueAcquireGLObjects(cl_command_queue p0, cl_uint p1,
const
cl_mem* p2, cl_uint p3,
const
cl_event* p4, cl_event* p5) {
return
clEnqueueAcquireGLObjects_pfn(p0, p1, p2, p3, p4, p5); }
29
#undef clEnqueueReleaseGLObjects
30
#define clEnqueueReleaseGLObjects clEnqueueReleaseGLObjects_fn
31
inline
cl_int clEnqueueReleaseGLObjects(cl_command_queue p0, cl_uint p1,
const
cl_mem* p2, cl_uint p3,
const
cl_event* p4, cl_event* p5) {
return
clEnqueueReleaseGLObjects_pfn(p0, p1, p2, p3, p4, p5); }
32
#undef clGetGLContextInfoKHR
33
#define clGetGLContextInfoKHR clGetGLContextInfoKHR_fn
34
inline
cl_int clGetGLContextInfoKHR(
const
cl_context_properties* p0, cl_gl_context_info p1,
size_t
p2,
void* p3,
size_t* p4) {
return
clGetGLContextInfoKHR_pfn(p0, p1, p2, p3, p4); }
35
#undef clGetGLObjectInfo
36
#define clGetGLObjectInfo clGetGLObjectInfo_fn
37
inline
cl_int clGetGLObjectInfo(cl_mem p0, cl_gl_object_type* p1, cl_GLuint* p2) {
return
clGetGLObjectInfo_pfn(p0, p1, p2); }
38
#undef clGetGLTextureInfo
39
#define clGetGLTextureInfo clGetGLTextureInfo_fn
40
inline
cl_int clGetGLTextureInfo(cl_mem p0, cl_gl_texture_info p1,
size_t
p2,
void* p3,
size_t* p4) {
return
clGetGLTextureInfo_pfn(p0, p1, p2, p3, p4); }