Fraxinus  18.10
An IGT application
cx::BufferQueue< DATA_PTR, BUFFER > Class Template Reference

Classes

struct  BufferStore
 

Public Types

typedef boost::shared_ptr< BUFFER > BufferPtr
 
typedef boost::weak_ptr< BUFFER > BufferWeakPtr
 

Public Member Functions

 BufferQueue ()
 
void setMaxBuffers (unsigned val)
 
void setName (const QString &name)
 
BufferPtr get (DATA_PTR data)
 
int getMemoryUsage (int *textures)
 

Detailed Description

template<class DATA_PTR, class BUFFER>
class cx::BufferQueue< DATA_PTR, BUFFER >

Definition at line 412 of file cxGPUImageBuffer.cpp.

Member Typedef Documentation

template<class DATA_PTR, class BUFFER>
typedef boost::shared_ptr<BUFFER> cx::BufferQueue< DATA_PTR, BUFFER >::BufferPtr

Definition at line 415 of file cxGPUImageBuffer.cpp.

template<class DATA_PTR, class BUFFER>
typedef boost::weak_ptr<BUFFER> cx::BufferQueue< DATA_PTR, BUFFER >::BufferWeakPtr

Definition at line 416 of file cxGPUImageBuffer.cpp.

Constructor & Destructor Documentation

template<class DATA_PTR, class BUFFER>
cx::BufferQueue< DATA_PTR, BUFFER >::BufferQueue ( )
inline

Definition at line 426 of file cxGPUImageBuffer.cpp.

Member Function Documentation

template<class DATA_PTR, class BUFFER>
BufferPtr cx::BufferQueue< DATA_PTR, BUFFER >::get ( DATA_PTR  data)
inline

Get a GPU buffer for the input data. Try to reuse existing memory if available.

Definition at line 443 of file cxGPUImageBuffer.cpp.

template<class DATA_PTR, class BUFFER>
int cx::BufferQueue< DATA_PTR, BUFFER >::getMemoryUsage ( int *  textures)
inline

Definition at line 500 of file cxGPUImageBuffer.cpp.

template<class DATA_PTR, class BUFFER>
void cx::BufferQueue< DATA_PTR, BUFFER >::setMaxBuffers ( unsigned  val)
inline

Definition at line 430 of file cxGPUImageBuffer.cpp.

template<class DATA_PTR, class BUFFER>
void cx::BufferQueue< DATA_PTR, BUFFER >::setName ( const QString &  name)
inline

Definition at line 434 of file cxGPUImageBuffer.cpp.


The documentation for this class was generated from the following file: