MMSFBSurfaceManager Class Reference

#include <mmsfbsurfacemanager.h>

List of all members.


Public Member Functions

 MMSFBSurfaceManager ()
 ~MMSFBSurfaceManager ()
MMSFBSurfacecreateSurface (int w, int h, MMSFBSurfacePixelFormat pixelformat, int backbuffer, bool systemonly)
void releaseSurface (MMSFBSurface *surface)
bool createTemporarySurface (int w, int h, MMSFBSurfacePixelFormat pixelformat, bool systemonly)
MMSFBSurfacegetTemporarySurface (int w, int h)
void releaseTemporarySurface (MMSFBSurface *tempsuf)

Private Attributes

vector< MMSFBSURMANLISTused_surfaces
vector< MMSFBSURMANLISTfree_surfaces
MMSFBSurfacetempsuf
int surface_mem_cnt
pthread_mutex_t surface_mem_cnt_lock

Detailed Description

Definition at line 44 of file mmsfbsurfacemanager.h.


Constructor & Destructor Documentation

MMSFBSurfaceManager::MMSFBSurfaceManager (  ) 

Definition at line 39 of file mmsfbsurfacemanager.cpp.

MMSFBSurfaceManager::~MMSFBSurfaceManager (  ) 

Definition at line 45 of file mmsfbsurfacemanager.cpp.


Member Function Documentation

MMSFBSurface * MMSFBSurfaceManager::createSurface ( int  w,
int  h,
MMSFBSurfacePixelFormat  pixelformat,
int  backbuffer,
bool  systemonly 
)

Definition at line 49 of file mmsfbsurfacemanager.cpp.

void MMSFBSurfaceManager::releaseSurface ( MMSFBSurface surface  ) 

Definition at line 121 of file mmsfbsurfacemanager.cpp.

bool MMSFBSurfaceManager::createTemporarySurface ( int  w,
int  h,
MMSFBSurfacePixelFormat  pixelformat,
bool  systemonly 
)

Definition at line 173 of file mmsfbsurfacemanager.cpp.

MMSFBSurface * MMSFBSurfaceManager::getTemporarySurface ( int  w,
int  h 
)

Definition at line 181 of file mmsfbsurfacemanager.cpp.

void MMSFBSurfaceManager::releaseTemporarySurface ( MMSFBSurface tempsuf  ) 

Definition at line 196 of file mmsfbsurfacemanager.cpp.


Member Data Documentation

Definition at line 46 of file mmsfbsurfacemanager.h.

Definition at line 47 of file mmsfbsurfacemanager.h.

Definition at line 49 of file mmsfbsurfacemanager.h.

Definition at line 51 of file mmsfbsurfacemanager.h.

pthread_mutex_t MMSFBSurfaceManager::surface_mem_cnt_lock [private]

Definition at line 52 of file mmsfbsurfacemanager.h.


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