Basic Image AlgorithmS Library
2.8.0
|
#include <OpenCLFramework/clfMemory.hh>
Public Member Functions | |
unsigned int | GLId () |
bool | Initialized () |
bool | IsReadOnly () |
bool | IsSharedGL () |
bool | IsWriteOnly () |
unsigned int | Size () |
void | UnMap (void *data) |
virtual | ~clfMemory () |
Protected Member Functions | |
clfMemory (cl::Context *context, cl::CommandQueue *queue) | |
int | DetermineMemFlags_ (bool readonly, bool writeonly, const void *hostptr=NULL, bool copy=false) |
cl::Memory & | memory () |
Protected Attributes | |
cl::Memory | buffer_ |
cl::Context * | context_ |
unsigned int | glid_ |
bool | initialized_ |
cl::CommandQueue * | queue_ |
bool | sharedGL_ |
unsigned int | size_ |
Friends | |
class | clfContext |
Definition at line 33 of file clfMemory.hh.
|
virtual |
Definition at line 40 of file clfMemory.cpp.
|
protected |
Definition at line 31 of file clfMemory.cpp.
References context_, glid_, initialized_, queue_, sharedGL_, and size_.
|
protected |
Definition at line 73 of file clfMemory.cpp.
Referenced by BIAS::clfImage3D::Allocate(), BIAS::clfImage2D::Allocate(), BIAS::clfBuffer::Allocate(), BIAS::clfImage2D::AllocateFromTexture2D(), BIAS::clfImage3D::AllocateFromTexture3D(), and BIAS::clfBuffer::AllocateFromVertexBuffer().
unsigned int BIAS::clfMemory::GLId | ( | ) |
Definition at line 47 of file clfMemory.cpp.
|
inline |
Definition at line 37 of file clfMemory.hh.
bool BIAS::clfMemory::IsReadOnly | ( | ) |
Definition at line 62 of file clfMemory.cpp.
References buffer_.
Referenced by BIAS::clfRecursiveGauss::FilterGrey(), and BIAS::clfRecursiveGauss::FilterGreyColPacked().
|
inline |
Definition at line 38 of file clfMemory.hh.
Referenced by BIAS::clfColorConversion::RGBAToPackedGrey(), BIAS::clfColorConversion::RGBToGrey(), and BIAS::clfImage2D::SetStorageAndColorModelInfo().
bool BIAS::clfMemory::IsWriteOnly | ( | ) |
Definition at line 67 of file clfMemory.cpp.
References buffer_.
|
protected |
Definition at line 43 of file clfMemory.cpp.
References buffer_.
Referenced by BIAS::clfContext::AcquireGLObject(), BIAS::clfContext::ReleaseGLObject(), and UnMap().
|
inline |
Definition at line 40 of file clfMemory.hh.
void BIAS::clfMemory::UnMap | ( | void * | data | ) |
Definition at line 54 of file clfMemory.cpp.
References memory(), and queue_.
Referenced by BIAS::clfTrimmedICP::ComputeNearestPoints_(), BIAS::clfTrimmedICP::ComputeOptimalMotion_(), and BIAS::clfImage2D::CopyToBiasImageUncheckedRGBAToRGB().
|
friend |
Definition at line 63 of file clfMemory.hh.
|
protected |
Definition at line 56 of file clfMemory.hh.
Referenced by BIAS::clfImage3D::Allocate(), BIAS::clfImage2D::Allocate(), BIAS::clfBuffer::Allocate(), BIAS::clfImage2D::AllocateFromTexture2D(), BIAS::clfImage3D::AllocateFromTexture3D(), BIAS::clfBuffer::AllocateFromVertexBuffer(), BIAS::clfBuffer::buffer(), BIAS::clfImage3D::image(), BIAS::clfImage2D::image(), IsReadOnly(), IsWriteOnly(), and memory().
|
protected |
Definition at line 54 of file clfMemory.hh.
Referenced by BIAS::clfImage3D::Allocate(), BIAS::clfImage2D::Allocate(), BIAS::clfBuffer::Allocate(), BIAS::clfImage2D::AllocateFromTexture2D(), BIAS::clfImage3D::AllocateFromTexture3D(), BIAS::clfBuffer::AllocateFromVertexBuffer(), BIAS::clfImage2D::clfImage2D(), BIAS::clfImage3D::clfImage3D(), and clfMemory().
|
protected |
Definition at line 61 of file clfMemory.hh.
Referenced by BIAS::clfBuffer::AllocateFromVertexBuffer(), clfMemory(), and GLId().
|
protected |
Definition at line 59 of file clfMemory.hh.
Referenced by BIAS::clfImage3D::Allocate(), BIAS::clfImage2D::Allocate(), BIAS::clfBuffer::Allocate(), BIAS::clfImage2D::AllocateFromTexture2D(), BIAS::clfImage3D::AllocateFromTexture3D(), BIAS::clfBuffer::AllocateFromVertexBuffer(), and clfMemory().
|
protected |
Definition at line 55 of file clfMemory.hh.
Referenced by clfMemory(), BIAS::clfBuffer::CopyBuffer(), BIAS::clfImage3D::CopyToImage(), BIAS::clfImage2D::CopyToImage(), BIAS::clfBuffer::MapBuffer(), BIAS::clfImage3D::MapImage(), BIAS::clfImage2D::MapImage(), BIAS::clfBuffer::ReadFromBuffer(), BIAS::clfImage3D::ReadFromImage(), BIAS::clfImage2D::ReadFromImage(), UnMap(), BIAS::clfBuffer::WriteToBuffer(), BIAS::clfImage3D::WriteToImage(), and BIAS::clfImage2D::WriteToImage().
|
protected |
Definition at line 60 of file clfMemory.hh.
Referenced by BIAS::clfImage3D::Allocate(), BIAS::clfImage2D::Allocate(), BIAS::clfBuffer::Allocate(), BIAS::clfImage2D::AllocateFromTexture2D(), BIAS::clfImage3D::AllocateFromTexture3D(), BIAS::clfBuffer::AllocateFromVertexBuffer(), clfMemory(), and GLId().
|
protected |
Definition at line 58 of file clfMemory.hh.
Referenced by BIAS::clfImage3D::Allocate(), BIAS::clfImage2D::Allocate(), BIAS::clfBuffer::Allocate(), BIAS::clfImage2D::AllocateFromTexture2D(), BIAS::clfImage3D::AllocateFromTexture3D(), BIAS::clfBuffer::AllocateFromVertexBuffer(), clfMemory(), BIAS::clfBuffer::CopyBuffer(), BIAS::clfBuffer::MapBuffer(), BIAS::clfBuffer::ReadFromBuffer(), and BIAS::clfBuffer::WriteToBuffer().