Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 421 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 424 of file cxGPUImageBuffer.cpp.

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

Definition at line 425 of file cxGPUImageBuffer.cpp.

Constructor & Destructor Documentation

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

Definition at line 435 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 452 of file cxGPUImageBuffer.cpp.

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

Definition at line 509 of file cxGPUImageBuffer.cpp.

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

Definition at line 439 of file cxGPUImageBuffer.cpp.

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

Definition at line 443 of file cxGPUImageBuffer.cpp.


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