Searched refs:mMem (Results 1 – 5 of 5) sorted by relevance
114 clMemWrapper() { mMem = NULL; } in clMemWrapper()115 clMemWrapper(cl_mem mem) { mMem = mem; } in clMemWrapper()118 if (mMem != NULL) clReleaseMemObject(mMem); in ~clMemWrapper()123 mMem = rhs;126 operator cl_mem() const { return mMem; } in cl_mem()128 cl_mem *operator&() { return &mMem; }130 bool operator==(const cl_mem &rhs) { return mMem == rhs; }133 cl_mem mMem;197 clCommandQueueWrapper() { mMem = NULL; } in clCommandQueueWrapper()198 clCommandQueueWrapper(cl_command_queue mem) { mMem = mem; } in clCommandQueueWrapper()[all …]
186 operator IDirect3DSurface9 *() { return mMem; }187 IDirect3DSurface9 **operator&() { return &mMem; }188 IDirect3DSurface9 *operator->() const { return mMem; }191 IDirect3DSurface9 *mMem;
449 CD3D9SurfaceWrapper::CD3D9SurfaceWrapper(): mMem(NULL) {} in CD3D9SurfaceWrapper()451 CD3D9SurfaceWrapper::CD3D9SurfaceWrapper(IDirect3DSurface9 *mem): mMem(mem) {} in CD3D9SurfaceWrapper()455 if (mMem != NULL) mMem->Release(); in ~CD3D9SurfaceWrapper()456 mMem = NULL; in ~CD3D9SurfaceWrapper()
54 : mSize(size), mMem(mem), mPrevAlloc(prev) in mSize()90 unsigned char *preGuard() const { return mMem + HeaderSize(); } in preGuard()94 unsigned char *mMem; // beginning of our allocation (pts to header) variable
42 … mMem = clCreateSubBuffer( mParentBuffer, flags, CL_BUFFER_CREATE_TYPE_REGION, ®ion, &error ); in Allocate()