|
OpenCPN Partial API docs
|
Implement gl_texture_mgr.h – OpenGL texture management. More...
#include <algorithm>#include <list>#include <vector>#include <wx/wxprec.h>#include <wx/progdlg.h>#include <wx/wx.h>#include <wx/thread.h>#include <wx/datetime.h>#include <wx/event.h>#include <wx/filename.h>#include <wx/font.h>#include <wx/gdicmn.h>#include <wx/log.h>#include <wx/stopwatch.h>#include <wx/string.h>#include <wx/utils.h>#include <wx/listimpl.cpp>#include <wx/arrimpl.cpp>#include "mipmap/mipmap.h"#include "ssl/sha1.h"#include "model/base_platform.h"#include "model/config_vars.h"#include "model/gui_vars.h"#include "model/own_ship.h"#include "chartbase.h"#include "chartdb.h"#include "chartimg.h"#include "chcanv.h"#include "dychart.h"#include "font_mgr.h"#include "gl_chart_canvas.h"#include "gl_tex_cache.h"#include "gl_texture_descr.h"#include "gui_lib.h"#include "lz4.h"#include "lz4hc.h"#include "ocpn_platform.h"#include "quilt.h"#include "squish.h"#include "top_frame.h"#include "viewport.h"Go to the source code of this file.
Classes | |
| class | compress_target |
| class | OCPNStopWatch |
Macros | |
| #define | GL_ETC1_RGB8_OES 0x8D64 |
| #define | NBAR_LENGTH 40 |
| #define | MAX_CACHE_FACTORY 50 |
| #define | THREAD_WAIT_SECONDS 5 |
Typedefs | |
| using | JobList = std::list< JobTicket * > |
Functions | |
| wxString | CompressedCachePath (wxString path) |
| WX_DEFINE_SORTED_ARRAY_INT (int, MySortedArrayInt) | |
| int | CompareInts (int n1, int n2) |
| WX_DECLARE_OBJARRAY (compress_target, ArrayOfCompressTargets) | |
| void | GetFullMap (glTextureDescriptor *ptd, const wxRect &rect, wxString chart_path, int level) |
| int | TextureDim (int level) |
| int | TextureTileSize (int level, bool compressed) |
Variables | |
| GLuint | g_raster_format |
| Global instance. | |
| glTextureManager * | g_glTextureManager |
| Global instance. | |
Implement gl_texture_mgr.h – OpenGL texture management.
Definition in file gl_texture_mgr.cpp.
| #define GL_ETC1_RGB8_OES 0x8D64 |
Definition at line 82 of file gl_texture_mgr.cpp.
| #define MAX_CACHE_FACTORY 50 |
Definition at line 1217 of file gl_texture_mgr.cpp.
| #define NBAR_LENGTH 40 |
Definition at line 756 of file gl_texture_mgr.cpp.
| using JobList = std::list<JobTicket *> |
Definition at line 85 of file gl_texture_mgr.cpp.
| int CompareInts | ( | int | n1, |
| int | n2 | ||
| ) |
Definition at line 167 of file gl_texture_mgr.cpp.
| wxString CompressedCachePath | ( | wxString | path | ) |
Definition at line 93 of file gl_texture_mgr.cpp.
| void GetFullMap | ( | glTextureDescriptor * | ptd, |
| const wxRect & | rect, | ||
| wxString | chart_path, | ||
| int | level | ||
| ) |
Definition at line 313 of file gl_texture_mgr.cpp.
| int TextureDim | ( | int | level | ) |
Definition at line 340 of file gl_texture_mgr.cpp.
| int TextureTileSize | ( | int | level, |
| bool | compressed | ||
| ) |
Definition at line 346 of file gl_texture_mgr.cpp.
| glTextureManager* g_glTextureManager |
Global instance.
Definition at line 89 of file gl_texture_mgr.cpp.
|
extern |
Global instance.
Definition at line 201 of file gl_chart_canvas.cpp.