KiCad PCB EDA Suite
Loading...
Searching...
No Matches
draw_panel_gal.cpp File Reference
#include <eda_draw_frame.h>
#include <kiface_base.h>
#include <macros.h>
#include <scoped_set_reset.h>
#include <settings/app_settings.h>
#include <trace_helpers.h>
#include <class_draw_panel_gal.h>
#include <view/view.h>
#include <view/wx_view_controls.h>
#include <gal/painter.h>
#include <base_screen.h>
#include <gal/cursors.h>
#include <gal/graphics_abstraction_layer.h>
#include <gal/opengl/opengl_gal.h>
#include <gal/opengl/gpu_oom_error.h>
#include <gal/cairo/cairo_gal.h>
#include <math/vector2wx.h>
#include <tool/tool_dispatcher.h>
#include <tool/tool_manager.h>
#include <widgets/wx_infobar.h>
#include <kiplatform/touchpad.h>
#include <kiplatform/ui.h>
#include <stdexcept>
#include <core/profile.h>
#include <wx/display.h>
#include <pgm_base.h>
#include <confirm.h>

Go to the source code of this file.

Variables

static const wxChar traceDrawPanel [] = wxT( "KICAD_DRAW_PANEL" )
 Flag to enable drawing panel debugging output.
 
static constexpr int MAX_CONTEXT_BIND_RETRIES = 2
 Frames to drop before giving up on the GL context and letting the backend recover.
 

Variable Documentation

◆ MAX_CONTEXT_BIND_RETRIES

int MAX_CONTEXT_BIND_RETRIES = 2
staticconstexpr

Frames to drop before giving up on the GL context and letting the backend recover.

Definition at line 348 of file draw_panel_gal.cpp.

Referenced by EDA_DRAW_PANEL_GAL::DoRePaint().