Public Member Functions |
| CLImage (const cl_mem_flags flags, const unsigned int glname, const unsigned int texture_target, const int level) |
| CLImage (const cl_mem_flags flags, const cl_image_format *format, const size_t width, const size_t height, void *data=NULL, const size_t pitch=0) |
int | createCLResource () |
| comportement par defaut, necessaire pour GLManager, a redefinir dans les classes derivees.
|
int | releaseCLResource () |
| comportement par defaut, necessaire pour GLManager, a redefinir dans les classes derivees.
|
int | update (const ImageOrigin &origin, const ImageRegion ®ion, const void *data, const cl_bool block=CL_FALSE, cl_event *wait=NULL) |
int | update (const void *data, cl_bool block=CL_FALSE, cl_event *wait=NULL) |
int | update (const size_t x, const size_t y, const size_t w, const size_t h, const void *data, const cl_bool block=CL_FALSE, cl_event *wait=NULL) |
int | get (const ImageOrigin &origin, const ImageRegion ®ion, void *data, const cl_bool block=CL_FALSE, cl_event *wait=NULL) |
int | get (void *data, const cl_bool block=CL_FALSE, cl_event *wait=NULL) |
int | get (const size_t x, const size_t y, const size_t w, const size_t h, void *data, const cl_bool block=CL_FALSE, cl_event *wait=NULL) |
const cl_mem * | object () const |
cl_mem * | object () |
cl_mem | image () const |
Protected Attributes |
cl_mem | m_image |
size_t | m_width |
size_t | m_height |
size_t | m_row_pitch |