general image interface for GL interop. We abstract the 2D and 3D GL images into a single instance here that wraps all GL sourced images on the grounds that setup information was performed by OpenCL anyway.
More...
|
| | ImageGL (const Context &context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel, cl_GLuint texobj, cl_int *err=nullptr) |
| |
| | ImageGL (const cl_mem &image, bool retainObject=false) |
| | Constructor from cl_mem - takes ownership.
|
| |
| ImageGL & | operator= (const cl_mem &rhs) |
| |
| template<typename T > |
| cl_int | getImageInfo (cl_image_info name, T *param) const |
| | Wrapper for clGetImageInfo().
|
| |
| template<cl_image_info name> |
| detail::param_traits< detail::cl_image_info, name >::param_type | getImageInfo (cl_int *err=nullptr) const |
| | Wrapper for clGetImageInfo() that returns by value.
|
| |
| | Memory () |
| | Default constructor - initializes to nullptr.
|
| |
| | Memory (const cl_mem &memory, bool retainObject) |
| | Constructor from cl_mem - takes ownership.
|
| |
| Memory & | operator= (const cl_mem &rhs) |
| | Assignment operator from cl_mem - takes ownership.
|
| |
| template<typename T > |
| cl_int | getInfo (cl_mem_info name, T *param) const |
| | Wrapper for clGetMemObjectInfo().
|
| |
| template<cl_mem_info name> |
| detail::param_traits< detail::cl_mem_info, name >::param_type | getInfo (cl_int *err=nullptr) const |
| | Wrapper for clGetMemObjectInfo() that returns by value.
|
| |
| cl_int | setDestructorCallback (void(CL_CALLBACK *pfn_notify)(cl_mem, void *), void *user_data=nullptr) |
| | Registers a callback function to be called when the memory object is no longer needed.
|
| |
| | Wrapper (const cl_type &obj, bool retainObject) |
| |
| | Wrapper (const Wrapper< cl_type > &rhs) |
| |
| | Wrapper (Wrapper< cl_type > &&rhs) CL_HPP_NOEXCEPT_ |
| |
| Wrapper< cl_type > & | operator= (const Wrapper< cl_type > &rhs) |
| |
| Wrapper< cl_type > & | operator= (Wrapper< cl_type > &&rhs) |
| |
| Wrapper< cl_type > & | operator= (const cl_type &rhs) |
| |
| const cl_type & | operator() () const |
| |
| cl_type & | operator() () |
| |
| cl_type | get () const |
| |
general image interface for GL interop. We abstract the 2D and 3D GL images into a single instance here that wraps all GL sourced images on the grounds that setup information was performed by OpenCL anyway.
Definition at line 5298 of file opencl.hpp.