OpenCPN Partial API docs
Loading...
Searching...
No Matches
glTextureManager Class Reference
Inheritance diagram for glTextureManager:

Public Member Functions

void OnEvtThread (OCPN_CompressionThreadEvent &event)
 
void OnTimer (wxTimerEvent &event)
 
bool ScheduleJob (glTexFactory *client, const wxRect &rect, int level_min, bool b_throttle_thread, bool b_nolimit, bool b_postZip, bool b_inplace)
 
int GetRunningJobCount ()
 
int GetJobCount ()
 
bool AsJob (wxString const &chart_path) const
 
void PurgeJobList (wxString chart_path=wxEmptyString)
 
void ClearJobList ()
 
void ClearAllRasterTextures (void)
 
bool PurgeChartTextures (ChartBase *pc, bool b_purge_factory=false)
 
bool TextureCrunch (double factor)
 
bool FactoryCrunch (double factor)
 
void BuildCompressedCache ()
 

Public Attributes

ChartPathHashTexfactType m_chart_texfactory_hash
 

Detailed Description

Definition at line 109 of file glTextureManager.h.

Constructor & Destructor Documentation

◆ glTextureManager()

glTextureManager::glTextureManager ( )

Definition at line 711 of file glTextureManager.cpp.

◆ ~glTextureManager()

glTextureManager::~glTextureManager ( )

Definition at line 746 of file glTextureManager.cpp.

Member Function Documentation

◆ AsJob()

bool glTextureManager::AsJob ( wxString const &  chart_path) const

Definition at line 1092 of file glTextureManager.cpp.

◆ BuildCompressedCache()

void glTextureManager::BuildCompressedCache ( )

Definition at line 1332 of file glTextureManager.cpp.

◆ ClearAllRasterTextures()

void glTextureManager::ClearAllRasterTextures ( void  )

Definition at line 1162 of file glTextureManager.cpp.

◆ ClearJobList()

void glTextureManager::ClearJobList ( )

Definition at line 1152 of file glTextureManager.cpp.

◆ FactoryCrunch()

bool glTextureManager::FactoryCrunch ( double  factor)

Definition at line 1248 of file glTextureManager.cpp.

◆ GetJobCount()

int glTextureManager::GetJobCount ( )
inline

Definition at line 121 of file glTextureManager.h.

◆ GetRunningJobCount()

int glTextureManager::GetRunningJobCount ( )
inline

Definition at line 120 of file glTextureManager.h.

◆ OnEvtThread()

void glTextureManager::OnEvtThread ( OCPN_CompressionThreadEvent event)

Definition at line 753 of file glTextureManager.cpp.

◆ OnTimer()

void glTextureManager::OnTimer ( wxTimerEvent &  event)

Definition at line 901 of file glTextureManager.cpp.

◆ PurgeChartTextures()

bool glTextureManager::PurgeChartTextures ( ChartBase pc,
bool  b_purge_factory = false 
)

Definition at line 1177 of file glTextureManager.cpp.

◆ PurgeJobList()

void glTextureManager::PurgeJobList ( wxString  chart_path = wxEmptyString)

Definition at line 1106 of file glTextureManager.cpp.

◆ ScheduleJob()

bool glTextureManager::ScheduleJob ( glTexFactory client,
const wxRect &  rect,
int  level_min,
bool  b_throttle_thread,
bool  b_nolimit,
bool  b_postZip,
bool  b_inplace 
)

Definition at line 945 of file glTextureManager.cpp.

◆ TextureCrunch()

bool glTextureManager::TextureCrunch ( double  factor)

Definition at line 1202 of file glTextureManager.cpp.

Member Data Documentation

◆ m_chart_texfactory_hash

ChartPathHashTexfactType glTextureManager::m_chart_texfactory_hash

Definition at line 134 of file glTextureManager.h.


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