#include <iso_cl.h>
Collaboration diagram for iso::cl::CL:
Public Member Functions | |
int | version () |
obtain OpenCL version | |
cl_mem_flags | convert (MemoryUsage pMemoryUsage) |
cl_channel_order | convert (ColorType pColorType) |
ColorType | convert (gl::ColorType pColorType) |
cl_channel_type | convert (DataType pDataType) |
cl_channel_type | convert (char pType) |
cl_channel_type | convert (unsigned char pType) |
cl_channel_type | convert (int pType) |
cl_channel_type | convert (unsigned int pType) |
cl_channel_type | convert (float pType) |
DataType | convert (gl::DataType pDataType) |
template<typename Type> | |
cl_channel_type | convert () |
template<typename DataType> | |
cl_image_format | convert (ColorType pColorType) |
cl_addressing_mode | convert (PixelAddressMode pPixelAddressMode) |
cl_filter_mode | convert (PixelInterpolationMode pPixelInterpolationMode) |
base::String | errorToString (int pError) |
convert error number to string | |
Static Public Member Functions | |
static CL & | get () |
return singleton instance | |
static void | destroy () |
destroy singleton instance | |
Protected Member Functions | |
CL () | |
singleton instance | |
~CL () | |
destructor | |
Static Protected Attributes | |
static CL * | sCL |
CL::CL | ( | ) | [protected] |
singleton instance
/brief default constructor
CL::~CL | ( | ) | [protected] |
destructor
CL & CL::get | ( | ) | [static] |
return singleton instance
void CL::destroy | ( | ) | [static] |
destroy singleton instance
int CL::version | ( | ) |
obtain OpenCL version
cl_mem_flags iso::cl::CL::convert | ( | MemoryUsage | pMemoryUsage | ) | [inline] |
cl_image_format iso::cl::CL::convert | ( | ColorType | pColorType | ) | [inline] |
ColorType iso::cl::CL::convert | ( | gl::ColorType | pColorType | ) | [inline] |
cl_channel_type iso::cl::CL::convert | ( | DataType | pDataType | ) | [inline] |
cl_channel_type iso::cl::CL::convert | ( | char | pType | ) | [inline] |
cl_channel_type iso::cl::CL::convert | ( | unsigned char | pType | ) | [inline] |
cl_channel_type iso::cl::CL::convert | ( | int | pType | ) | [inline] |
cl_channel_type iso::cl::CL::convert | ( | unsigned int | pType | ) | [inline] |
cl_channel_type iso::cl::CL::convert | ( | float | pType | ) | [inline] |
DataType iso::cl::CL::convert | ( | gl::DataType | pDataType | ) | [inline] |
cl_channel_type iso::cl::CL::convert | ( | ) |
cl_image_format iso::cl::CL::convert | ( | ColorType | pColorType | ) |
cl_addressing_mode iso::cl::CL::convert | ( | PixelAddressMode | pPixelAddressMode | ) | [inline] |
cl_filter_mode iso::cl::CL::convert | ( | PixelInterpolationMode | pPixelInterpolationMode | ) | [inline] |
base::String CL::errorToString | ( | int | pError | ) |
convert error number to string
pError | error number |