OpenCPN Partial API docs
glTexFactory Class Reference

Public Member Functions

 glTexFactory (ChartBase *chart, int raster_format)
 
glTextureDescriptorGetOrCreateTD (const wxRect &rect)
 
bool BuildTexture (glTextureDescriptor *ptd, int base_level, const wxRect &rect)
 
bool PrepareTexture (int base_level, const wxRect &rect, ColorScheme color_scheme, int mem_used)
 
int GetTextureLevel (glTextureDescriptor *ptd, const wxRect &rect, int level, ColorScheme color_scheme)
 
bool UpdateCacheAllLevels (const wxRect &rect, ColorScheme color_scheme, unsigned char **compcomp_array, int *compcomp_size)
 
bool IsLevelInCache (int level, const wxRect &rect, ColorScheme color_scheme)
 
wxString GetChartPath ()
 
wxString GetHashKey ()
 
void SetHashKey (wxString key)
 
bool OnTimer ()
 
void AccumulateMemStatistics (int &map_size, int &comp_size, int &compcomp_size)
 
void DeleteTexture (const wxRect &rect)
 
void DeleteAllTextures (void)
 
void DeleteSomeTextures (long target)
 
void DeleteAllDescriptors (void)
 
bool BackgroundCompressionAsJob () const
 
void PurgeBackgroundCompressionPool ()
 
void SetLRUTime (int lru)
 
int GetLRUTime ()
 
void FreeSome (long target)
 
void FreeIfCached ()
 
glTextureDescriptorGetpTD (wxRect &rect)
 
void PrepareTiles (const ViewPort &vp, bool use_norm_vp, ChartBase *pChart)
 
glTexTile ** GetTiles (int &num)
 
void GetCenter (double &lat, double &lon)
 

Detailed Description

Definition at line 109 of file glTexCache.h.


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