OpenCPN Partial API docs
Loading...
Searching...
No Matches
ocpnGLOptions Class Reference

Public Attributes

bool m_bUseAcceleratedPanning
 
bool m_bUseCanvasPanning
 Controls OpenGL canvas hardware-accelerated panning mode.
 
bool m_bTextureCompression
 
bool m_bTextureCompressionCaching
 
int m_iTextureDimension
 
int m_iTextureMemorySize
 
bool m_GLPolygonSmoothing
 
bool m_GLLineSmoothing
 

Detailed Description

Definition at line 99 of file glChartCanvas.h.

Member Data Documentation

◆ m_bTextureCompression

bool ocpnGLOptions::m_bTextureCompression

Definition at line 117 of file glChartCanvas.h.

◆ m_bTextureCompressionCaching

bool ocpnGLOptions::m_bTextureCompressionCaching

Definition at line 118 of file glChartCanvas.h.

◆ m_bUseAcceleratedPanning

bool ocpnGLOptions::m_bUseAcceleratedPanning

Definition at line 101 of file glChartCanvas.h.

◆ m_bUseCanvasPanning

bool ocpnGLOptions::m_bUseCanvasPanning

Controls OpenGL canvas hardware-accelerated panning mode.

When true, uses an OpenGL optimization where the chart is rendered to a texture (via FBO - Frame Buffer Object) during panning operations. This texture is then translated/moved using GPU operations rather than redrawing the entire chart for each pan event, significantly improving performance during chart panning.

This is separate from standard chart panning which is enabled by default and uses left-click + drag. This flag only controls whether that panning uses hardware acceleration.

Definition at line 115 of file glChartCanvas.h.

◆ m_GLLineSmoothing

bool ocpnGLOptions::m_GLLineSmoothing

Definition at line 124 of file glChartCanvas.h.

◆ m_GLPolygonSmoothing

bool ocpnGLOptions::m_GLPolygonSmoothing

Definition at line 123 of file glChartCanvas.h.

◆ m_iTextureDimension

int ocpnGLOptions::m_iTextureDimension

Definition at line 120 of file glChartCanvas.h.

◆ m_iTextureMemorySize

int ocpnGLOptions::m_iTextureMemorySize

Definition at line 121 of file glChartCanvas.h.


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