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 114 of file gl_texture_mgr.h.

Constructor & Destructor Documentation

◆ glTextureManager()

glTextureManager::glTextureManager ( )

Definition at line 704 of file gl_texture_mgr.cpp.

◆ ~glTextureManager()

glTextureManager::~glTextureManager ( )

Definition at line 741 of file gl_texture_mgr.cpp.

Member Function Documentation

◆ AsJob()

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

Definition at line 1084 of file gl_texture_mgr.cpp.

◆ BuildCompressedCache()

void glTextureManager::BuildCompressedCache ( )

Definition at line 1308 of file gl_texture_mgr.cpp.

◆ ClearAllRasterTextures()

void glTextureManager::ClearAllRasterTextures ( void )

Definition at line 1138 of file gl_texture_mgr.cpp.

◆ ClearJobList()

void glTextureManager::ClearJobList ( )

Definition at line 1130 of file gl_texture_mgr.cpp.

◆ FactoryCrunch()

bool glTextureManager::FactoryCrunch ( double factor)

Definition at line 1224 of file gl_texture_mgr.cpp.

◆ GetJobCount()

int glTextureManager::GetJobCount ( )
inline

Definition at line 126 of file gl_texture_mgr.h.

◆ GetRunningJobCount()

int glTextureManager::GetRunningJobCount ( )
inline

Definition at line 125 of file gl_texture_mgr.h.

◆ OnEvtThread()

void glTextureManager::OnEvtThread ( OCPN_CompressionThreadEvent & event)

Definition at line 758 of file gl_texture_mgr.cpp.

◆ OnTimer()

void glTextureManager::OnTimer ( wxTimerEvent & event)

Definition at line 897 of file gl_texture_mgr.cpp.

◆ PurgeChartTextures()

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

Definition at line 1153 of file gl_texture_mgr.cpp.

◆ PurgeJobList()

void glTextureManager::PurgeJobList ( wxString chart_path = wxEmptyString)

Definition at line 1096 of file gl_texture_mgr.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 941 of file gl_texture_mgr.cpp.

◆ TextureCrunch()

bool glTextureManager::TextureCrunch ( double factor)

Definition at line 1178 of file gl_texture_mgr.cpp.

Member Data Documentation

◆ m_chart_texfactory_hash

ChartPathHashTexfactType glTextureManager::m_chart_texfactory_hash

Definition at line 139 of file gl_texture_mgr.h.


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