OpenCPN Partial API docs
Loading...
Searching...
No Matches
gl_texture_mgr.h File Reference

OpenGL texture management. More...

#include <list>
#include <wx/event.h>
#include <wx/string.h>
#include <wx/thread.h>
#include <wx/timer.h>

Go to the source code of this file.

Classes

class  ProgressInfoItem
class  CompressionPoolThread
class  OCPN_CompressionThreadEvent
class  JobTicket
class  glTextureManager

Typedefs

using ProgressInfoList = std::list<ProgressInfoItem *>

Functions

 WX_DECLARE_STRING_HASH_MAP (glTexFactory *, ChartPathHashTexfactType)
void GetFullMap (glTextureDescriptor *ptd, const wxRect &rect, wxString chart_path, int level)
int TextureDim (int level)
int TextureTileSize (int level, bool compressed)

Variables

const wxEventType wxEVT_OCPN_COMPRESSIONTHREAD = wxNewEventType()
int g_mipmap_max_level
 Global instance.

Detailed Description

OpenGL texture management.

Definition in file gl_texture_mgr.h.

Typedef Documentation

◆ ProgressInfoList

using ProgressInfoList = std::list<ProgressInfoItem *>

Definition at line 43 of file gl_texture_mgr.h.

Function Documentation

◆ GetFullMap()

void GetFullMap ( glTextureDescriptor * ptd,
const wxRect & rect,
wxString chart_path,
int level )

Definition at line 313 of file gl_texture_mgr.cpp.

◆ TextureDim()

int TextureDim ( int level)

Definition at line 340 of file gl_texture_mgr.cpp.

◆ TextureTileSize()

int TextureTileSize ( int level,
bool compressed )

Definition at line 346 of file gl_texture_mgr.cpp.

Variable Documentation

◆ g_mipmap_max_level

int g_mipmap_max_level
extern

Global instance.

Definition at line 87 of file gui_vars.cpp.

◆ wxEVT_OCPN_COMPRESSIONTHREAD

const wxEventType wxEVT_OCPN_COMPRESSIONTHREAD = wxNewEventType()

Definition at line 35 of file gl_texture_mgr.h.