Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
04b2edcc
Commit
04b2edcc
authored
Jun 10, 2015
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ocl: autogenerated files for cl_gl.h
parent
ee68d26f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
107 additions
and
2 deletions
+107
-2
opencl_gl.hpp
...e/opencv2/core/opencl/runtime/autogenerated/opencl_gl.hpp
+58
-0
opencl_gl_wrappers.hpp
.../core/opencl/runtime/autogenerated/opencl_gl_wrappers.hpp
+38
-0
opencl_gl_impl.hpp
.../core/src/opencl/runtime/autogenerated/opencl_gl_impl.hpp
+0
-0
opencl_gl_functions.list
.../opencl/runtime/generator/filter/opencl_gl_functions.list
+11
-0
opencl_gl.hpp.in
...re/src/opencl/runtime/generator/template/opencl_gl.hpp.in
+0
-2
No files found.
modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_gl.hpp
0 → 100644
View file @
04b2edcc
//
// AUTOGENERATED, DO NOT EDIT
//
#ifndef __OPENCV_CORE_OCL_RUNTIME_OPENCL_GL_HPP__
#error "Invalid usage"
#endif
// generated by parser_cl.py
#define clCreateFromGLBuffer clCreateFromGLBuffer_
#define clCreateFromGLRenderbuffer clCreateFromGLRenderbuffer_
#define clCreateFromGLTexture clCreateFromGLTexture_
#define clCreateFromGLTexture2D clCreateFromGLTexture2D_
#define clCreateFromGLTexture3D clCreateFromGLTexture3D_
#define clEnqueueAcquireGLObjects clEnqueueAcquireGLObjects_
#define clEnqueueReleaseGLObjects clEnqueueReleaseGLObjects_
#define clGetGLContextInfoKHR clGetGLContextInfoKHR_
#define clGetGLObjectInfo clGetGLObjectInfo_
#define clGetGLTextureInfo clGetGLTextureInfo_
#if defined __APPLE__
#include <OpenCL/cl_gl.h>
#else
#include <CL/cl_gl.h>
#endif
// generated by parser_cl.py
#undef clCreateFromGLBuffer
#define clCreateFromGLBuffer clCreateFromGLBuffer_pfn
#undef clCreateFromGLRenderbuffer
#define clCreateFromGLRenderbuffer clCreateFromGLRenderbuffer_pfn
#undef clCreateFromGLTexture
#define clCreateFromGLTexture clCreateFromGLTexture_pfn
#undef clCreateFromGLTexture2D
#define clCreateFromGLTexture2D clCreateFromGLTexture2D_pfn
#undef clCreateFromGLTexture3D
#define clCreateFromGLTexture3D clCreateFromGLTexture3D_pfn
#undef clEnqueueAcquireGLObjects
#define clEnqueueAcquireGLObjects clEnqueueAcquireGLObjects_pfn
#undef clEnqueueReleaseGLObjects
#define clEnqueueReleaseGLObjects clEnqueueReleaseGLObjects_pfn
#undef clGetGLContextInfoKHR
#define clGetGLContextInfoKHR clGetGLContextInfoKHR_pfn
#undef clGetGLObjectInfo
#define clGetGLObjectInfo clGetGLObjectInfo_pfn
#undef clGetGLTextureInfo
#define clGetGLTextureInfo clGetGLTextureInfo_pfn
// generated by parser_cl.py
extern
CL_RUNTIME_EXPORT
cl_mem
(
CL_API_CALL
*
clCreateFromGLBuffer
)(
cl_context
,
cl_mem_flags
,
cl_GLuint
,
int
*
);
extern
CL_RUNTIME_EXPORT
cl_mem
(
CL_API_CALL
*
clCreateFromGLRenderbuffer
)(
cl_context
,
cl_mem_flags
,
cl_GLuint
,
cl_int
*
);
extern
CL_RUNTIME_EXPORT
cl_mem
(
CL_API_CALL
*
clCreateFromGLTexture
)(
cl_context
,
cl_mem_flags
,
cl_GLenum
,
cl_GLint
,
cl_GLuint
,
cl_int
*
);
extern
CL_RUNTIME_EXPORT
cl_mem
(
CL_API_CALL
*
clCreateFromGLTexture2D
)(
cl_context
,
cl_mem_flags
,
cl_GLenum
,
cl_GLint
,
cl_GLuint
,
cl_int
*
);
extern
CL_RUNTIME_EXPORT
cl_mem
(
CL_API_CALL
*
clCreateFromGLTexture3D
)(
cl_context
,
cl_mem_flags
,
cl_GLenum
,
cl_GLint
,
cl_GLuint
,
cl_int
*
);
extern
CL_RUNTIME_EXPORT
cl_int
(
CL_API_CALL
*
clEnqueueAcquireGLObjects
)(
cl_command_queue
,
cl_uint
,
const
cl_mem
*
,
cl_uint
,
const
cl_event
*
,
cl_event
*
);
extern
CL_RUNTIME_EXPORT
cl_int
(
CL_API_CALL
*
clEnqueueReleaseGLObjects
)(
cl_command_queue
,
cl_uint
,
const
cl_mem
*
,
cl_uint
,
const
cl_event
*
,
cl_event
*
);
extern
CL_RUNTIME_EXPORT
cl_int
(
CL_API_CALL
*
clGetGLContextInfoKHR
)(
const
cl_context_properties
*
,
cl_gl_context_info
,
size_t
,
void
*
,
size_t
*
);
extern
CL_RUNTIME_EXPORT
cl_int
(
CL_API_CALL
*
clGetGLObjectInfo
)(
cl_mem
,
cl_gl_object_type
*
,
cl_GLuint
*
);
extern
CL_RUNTIME_EXPORT
cl_int
(
CL_API_CALL
*
clGetGLTextureInfo
)(
cl_mem
,
cl_gl_texture_info
,
size_t
,
void
*
,
size_t
*
);
modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_gl_wrappers.hpp
0 → 100644
View file @
04b2edcc
//
// AUTOGENERATED, DO NOT EDIT
//
#ifndef __OPENCV_CORE_OCL_RUNTIME_OPENCL_GL_WRAPPERS_HPP__
#error "Invalid usage"
#endif
// generated by parser_cl.py
#undef clCreateFromGLBuffer
#define clCreateFromGLBuffer clCreateFromGLBuffer_fn
inline
cl_mem
clCreateFromGLBuffer
(
cl_context
p0
,
cl_mem_flags
p1
,
cl_GLuint
p2
,
int
*
p3
)
{
return
clCreateFromGLBuffer_pfn
(
p0
,
p1
,
p2
,
p3
);
}
#undef clCreateFromGLRenderbuffer
#define clCreateFromGLRenderbuffer clCreateFromGLRenderbuffer_fn
inline
cl_mem
clCreateFromGLRenderbuffer
(
cl_context
p0
,
cl_mem_flags
p1
,
cl_GLuint
p2
,
cl_int
*
p3
)
{
return
clCreateFromGLRenderbuffer_pfn
(
p0
,
p1
,
p2
,
p3
);
}
#undef clCreateFromGLTexture
#define clCreateFromGLTexture clCreateFromGLTexture_fn
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
);
}
#undef clCreateFromGLTexture2D
#define clCreateFromGLTexture2D clCreateFromGLTexture2D_fn
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
);
}
#undef clCreateFromGLTexture3D
#define clCreateFromGLTexture3D clCreateFromGLTexture3D_fn
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
);
}
#undef clEnqueueAcquireGLObjects
#define clEnqueueAcquireGLObjects clEnqueueAcquireGLObjects_fn
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
);
}
#undef clEnqueueReleaseGLObjects
#define clEnqueueReleaseGLObjects clEnqueueReleaseGLObjects_fn
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
);
}
#undef clGetGLContextInfoKHR
#define clGetGLContextInfoKHR clGetGLContextInfoKHR_fn
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
);
}
#undef clGetGLObjectInfo
#define clGetGLObjectInfo clGetGLObjectInfo_fn
inline
cl_int
clGetGLObjectInfo
(
cl_mem
p0
,
cl_gl_object_type
*
p1
,
cl_GLuint
*
p2
)
{
return
clGetGLObjectInfo_pfn
(
p0
,
p1
,
p2
);
}
#undef clGetGLTextureInfo
#define clGetGLTextureInfo clGetGLTextureInfo_fn
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
);
}
modules/core/src/opencl/runtime/autogenerated/opencl_gl_impl.hpp
0 → 100644
View file @
04b2edcc
This diff is collapsed.
Click to expand it.
modules/core/src/opencl/runtime/generator/filter/opencl_gl_functions.list
0 → 100644
View file @
04b2edcc
clCreateFromGLBuffer
clCreateFromGLRenderbuffer
clCreateFromGLTexture
clCreateFromGLTexture2D
clCreateFromGLTexture3D
clEnqueueAcquireGLObjects
clEnqueueReleaseGLObjects
clGetGLContextInfoKHR
clGetGLObjectInfo
clGetGLTextureInfo
#total 10
modules/core/src/opencl/runtime/generator/template/opencl_gl.hpp.in
View file @
04b2edcc
...
...
@@ -5,10 +5,8 @@
@CL_REMAP_ORIGIN@
#if defined __APPLE__
#include <OpenCL/cl.h>
#include <OpenCL/cl_gl.h>
#else
#include <CL/cl.h>
#include <CL/cl_gl.h>
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment