Implement gl_chart_canvas.h – OpenGL chart rendering canvas.
More...
#include <wx/wxprec.h>
#include <wx/wx.h>
#include "dychart.h"
#include <algorithm>
#include <stdint.h>
#include <vector>
#include <wx/brush.h>
#include <wx/colour.h>
#include <wx/dcmemory.h>
#include <wx/dynarray.h>
#include <wx/event.h>
#include <wx/font.h>
#include <wx/gdicmn.h>
#include <wx/glcanvas.h>
#include <wx/image.h>
#include <wx/jsonval.h>
#include <wx/log.h>
#include <wx/pen.h>
#include <wx/progdlg.h>
#include <wx/stopwatch.h>
#include <wx/string.h>
#include <wx/tokenzr.h>
#include <wx/utils.h>
#include <wx/window.h>
#include "model/config_vars.h"
#include "model/gui_vars.h"
#include "model/own_ship.h"
#include "model/plugin_comm.h"
#include "model/route.h"
#include "model/routeman.h"
#include "model/track.h"
#include "ais.h"
#include "chartbase.h"
#include "chart_ctx_factory.h"
#include "chartdb.h"
#include "chartimg.h"
#include "chcanv.h"
#include "ch_info_win.h"
#include "cm93.h"
#include "color_handler.h"
#include "compass.h"
#include "emboss_data.h"
#include "font_mgr.h"
#include "gl_chart_canvas.h"
#include "gl_tex_cache.h"
#include "gshhs.h"
#include "ienc_toolbar.h"
#include "lz4.h"
#include "mbtiles.h"
#include "mipmap/mipmap.h"
#include "MUIBar.h"
#include "navutil.h"
#include "OCPNPlatform.h"
#include "piano.h"
#include "pluginmanager.h"
#include "Quilt.h"
#include "RolloverWin.h"
#include "route_gui.h"
#include "route_point_gui.h"
#include "s52plib.h"
#include "s57chart.h"
#include "s57_ocpn_utils.h"
#include "shapefile_basemap.h"
#include "tcmgr.h"
#include "toolbar.h"
#include "TexFont.h"
#include "thumbwin.h"
#include "track_gui.h"
#include "viewport.h"
Go to the source code of this file.
|
typedef GLenum | value |
|
typedef GLenum GLint * | data |
|
Implement gl_chart_canvas.h – OpenGL chart rendering canvas.
Definition in file gl_chart_canvas.cpp.
◆ APIENTRY
◆ APIENTRYP
#define APIENTRYP APIENTRY * |
◆ GL_COMPRESSED_RGB_FXT1_3DFX
#define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0 |
◆ GL_DEPTH_STENCIL_ATTACHMENT
#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A |
◆ GL_ETC1_RGB8_OES
#define GL_ETC1_RGB8_OES 0x8D64 |
◆ GL_MAX_RENDERBUFFER_SIZE
#define GL_MAX_RENDERBUFFER_SIZE 0x84E8 |
◆ GLAPI
◆ NORM_FACTOR
#define NORM_FACTOR 4096.0 |
◆ data
typedef GLenum GLint* data |
◆ value
◆ beginCallbackD()
void beginCallbackD |
( |
GLenum |
mode | ) |
|
◆ CalcGridSpacing()
void CalcGridSpacing |
( |
float |
WindowDegrees, |
|
|
float & |
MajorSpacing, |
|
|
float & |
MinorSpacing |
|
) |
| |
|
extern |
◆ CalcGridText()
wxString CalcGridText |
( |
float |
latlon, |
|
|
float |
spacing, |
|
|
bool |
bPostfix |
|
) |
| |
|
extern |
◆ endCallbackD()
◆ GetMemoryStatus()
bool GetMemoryStatus |
( |
int * |
mem_total, |
|
|
int * |
mem_used |
|
) |
| |
|
extern |
◆ QueryExtension()
GLboolean QueryExtension |
( |
const char * |
extName | ) |
|
◆ vertexCallbackD()
void vertexCallbackD |
( |
GLvoid * |
vertex | ) |
|
◆ attribs
Initial value:= {WX_GL_RGBA, WX_GL_DOUBLEBUFFER, WX_GL_DEPTH_SIZE,
16, WX_GL_STENCIL_SIZE, 8,
0}
Definition at line 308 of file gl_chart_canvas.cpp.
◆ g_raster_format
GLuint g_raster_format = GL_RGB |
◆ n_render
◆ pStaticShader
◆ quiltHash
◆ refChartIndex
◆ s_glBindBuffer
PFNGLBINDBUFFERPROC s_glBindBuffer |
◆ s_glBindFramebuffer
PFNGLBINDFRAMEBUFFEREXTPROC s_glBindFramebuffer |
◆ s_glBindRenderbuffer
PFNGLBINDRENDERBUFFEREXTPROC s_glBindRenderbuffer |
◆ s_glBufferData
PFNGLBUFFERDATAPROC s_glBufferData |
◆ s_glCheckFramebufferStatus
PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC s_glCheckFramebufferStatus |
◆ s_glCompressedTexImage2D
PFNGLCOMPRESSEDTEXIMAGE2DPROC s_glCompressedTexImage2D |
◆ s_glDeleteBuffers
PFNGLDELETEBUFFERSPROC s_glDeleteBuffers |
◆ s_glDeleteFramebuffers
PFNGLDELETEFRAMEBUFFERSEXTPROC s_glDeleteFramebuffers |
◆ s_glDeleteRenderbuffers
PFNGLDELETERENDERBUFFERSEXTPROC s_glDeleteRenderbuffers |
◆ s_glFramebufferRenderbuffer
PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC s_glFramebufferRenderbuffer |
◆ s_glFramebufferTexture2D
PFNGLFRAMEBUFFERTEXTURE2DEXTPROC s_glFramebufferTexture2D |
◆ s_glGenBuffers
PFNGLGENBUFFERSPROC s_glGenBuffers |
◆ s_glGenFramebuffers
PFNGLGENFRAMEBUFFERSEXTPROC s_glGenFramebuffers |
◆ s_glGenRenderbuffers
PFNGLGENRENDERBUFFERSEXTPROC s_glGenRenderbuffers |
◆ s_glGetBufferParameteriv
PFNGLGETBUFFERPARAMETERIV s_glGetBufferParameteriv |
◆ s_glGetCompressedTexImage
PFNGLGETCOMPRESSEDTEXIMAGEPROC s_glGetCompressedTexImage |
◆ s_glRenderbufferStorage
PFNGLRENDERBUFFERSTORAGEEXTPROC s_glRenderbufferStorage |
◆ test_attribs
Initial value:= {WX_GL_RGBA, WX_GL_DOUBLEBUFFER, WX_GL_DEPTH_SIZE,
16, WX_GL_STENCIL_SIZE, 8,
0}
Definition at line 299 of file gl_chart_canvas.cpp.