|
KiCad PCB EDA Suite
|
#include <wx/dcclient.h>#include <chrono>#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 <gal/gal_modern.h>#include <rhi/render_thread.h>#include <rhi/rhi_device_proxy.h>#include <rhi/swapchain_controller.h>#include <rhi/frame_mailbox.h>#include <rhi/frame_packet.h>#include <rhi/rhi_surface.h>#include <advanced_config.h>#include <frame_type.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 <atomic>#include <stdexcept>#include <core/profile.h>#include <wx/display.h>#include <wx/utils.h>#include <pgm_base.h>#include <confirm.h>Go to the source code of this file.
Functions | |
| static KIGFX::RHI_LINE_PIPELINE_KIND | DetermineLinePipelineKind (const EDA_DRAW_FRAME *aFrame) |
| static RHI_NATIVE_WINDOW_HANDLE | GetNativeWindowHandle (wxWindow *aWindow) |
| static void | ApplyAntialiasingMode (KIGFX::FRAME_DRAW_DESC &aDesc, KIGFX::GAL_ANTIALIASING_MODE aMode) |
Variables | |
| static const wxChar | traceDrawPanel [] = wxT( "KICAD_DRAW_PANEL" ) |
| Flag to enable drawing panel debugging output. | |
| static std::atomic< uint64_t > | s_inputSerial { 0 } |
| static constexpr int | MAX_CONTEXT_BIND_RETRIES = 2 |
| Frames to drop before giving up on the GL context and letting the backend recover. | |
|
static |
Definition at line 122 of file draw_panel_gal.cpp.
References KIGFX::AA_HIGHQUALITY, and KIGFX::FRAME_DRAW_DESC::supersampleFactor.
Referenced by EDA_DRAW_PANEL_GAL::DoRePaint().
|
static |
Definition at line 90 of file draw_panel_gal.cpp.
References FRAME_SCH, FRAME_SCH_DIFF, FRAME_SCH_SYMBOL_EDITOR, FRAME_SCH_VIEWER, EDA_BASE_FRAME::GetFrameType(), KIGFX::PCB_TRACKS, and KIGFX::SCH_WIRES.
Referenced by EDA_DRAW_PANEL_GAL::EDA_DRAW_PANEL_GAL().
|
static |
Definition at line 109 of file draw_panel_gal.cpp.
References COCOA, KIPLATFORM::UI::DISPLAY_COCOA, KIPLATFORM::UI::DISPLAY_UNKNOWN, RHI_NATIVE_WINDOW_HANDLE::displayType, KIPLATFORM::UI::GetNativeWindowHandles(), RHI_NATIVE_WINDOW_HANDLE::nativeDisplay, and RHI_NATIVE_WINDOW_HANDLE::nativeHandle.
Referenced by EDA_DRAW_PANEL_GAL::getCachedNativeWindowHandle().
|
staticconstexpr |
Frames to drop before giving up on the GL context and letting the backend recover.
Definition at line 578 of file draw_panel_gal.cpp.
Referenced by EDA_DRAW_PANEL_GAL::DoRePaint().
|
static |
Definition at line 87 of file draw_panel_gal.cpp.
Referenced by EDA_DRAW_PANEL_GAL::DoRePaint(), EDA_DRAW_PANEL_GAL::NoteInput(), and EDA_DRAW_PANEL_GAL::submitCachedScene().