kicad/include
Seth Hillbrand 3a730361d3 Fix swap interval checking
Checking for the existence of the call only validated that our header
defined the value, not that the video card/driver supported the call.
We query the extensions string directly to check for support.  This
should fix both the X11 and virtualization issues (potentially other
crashes with older video cards as well)

Fixes https://gitlab.com/kicad/code/kicad/issues/8944

(cherry picked from commit 7c9340f855)
2022-01-06 10:53:44 -08:00
..
bitmaps Button bar for PCBNew Text Properties dialog. 2021-12-24 17:39:00 +00:00
core Fix test failure. 2021-12-25 15:34:50 +00:00
dialogs Remove UpdateUI from preferences pdf viewer option 2021-12-30 11:36:01 -05:00
drawing_sheet Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
font Remove markup_parser from headers so PEGTL doesn't leak windows.h. 2022-01-04 12:20:18 +00:00
gal Go back to using inter-character spacing from the stroke font. 2022-01-04 00:46:08 +00:00
kicad_curl Code cleaning. 2021-09-07 15:18:42 -04:00
libeval Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
libeval_compiler Add field access to custom DRC rules. 2021-12-24 18:13:00 +00:00
plotters Yeet wxPoint/wxSize out of PLOTTER 2021-12-29 19:02:50 +00:00
plugins Get rid of anonymous struct typedefs 2021-07-01 18:28:41 -04:00
preview_items Connect ruler tool with axes preferences 2021-11-23 12:52:21 -08:00
project Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
settings User-settable high-contrast dimming factor. 2021-12-24 17:38:55 +00:00
tool All the preferences, all the time. 2021-12-24 13:08:44 +00:00
view Keep netnames on tracks within the viewport when possible. 2021-12-24 17:11:01 +00:00
widgets Rip out rest of macHack architecture. 2022-01-03 22:09:56 +00:00
advanced_config.h Add upated UI event throttling to advanced configuration. 2021-12-28 18:17:53 -05:00
array_axis.h Pcbnew: add a step field to the array tool 2019-05-16 11:20:52 +01:00
array_options.h Coverity issue fix. 2021-10-29 10:43:40 -04:00
asset_archive.h Get rid of anonymous struct typedefs 2021-07-01 18:28:41 -04:00
base64.h Plot SVG embedded 2019-12-08 08:57:33 -08:00
base_screen.h Update BASE_SCREEN to VECTOR2I 2022-01-01 11:30:33 -05:00
base_units.h Move inline function declaration to allow removing include 2021-06-01 19:03:22 -04:00
basic_gal.h Move to new font engine. 2022-01-02 14:57:03 +00:00
bin_mod.h Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
bitmap_base.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
bitmap_store.h Add support mode for dark mode to SCINTILLA_TRICKS. 2021-09-14 00:18:50 +01:00
bitmaps.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
board_design_settings.h Convert wxPoint/wxSize starting from EDA_RECT usages 2022-01-01 11:30:33 -05:00
board_item.h Remove some more wxPoint 2022-01-01 14:12:20 -05:00
board_printout.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
build_version.h Avoid calling deprecated wxPlatformInfo::GetArchName() in more than one place. 2021-11-13 09:52:08 +01:00
class_draw_panel_gal.h Add profile counters for PCB mouse and paint events 2021-12-05 15:16:08 -05:00
collector.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
commit.h Suppress leaking eda_item so much via undo_redo_container.h 2021-06-08 19:12:30 -04:00
common.h Use individual parameter version of wxExecute. 2021-09-26 15:03:06 +01:00
config_map.h Fix a few doxygen warnings 2017-06-20 10:47:30 +02:00
config_params.h Header clean up round 1. 2020-12-18 09:04:26 -05:00
confirm.h Overhaul file locking system. 2021-08-31 15:04:31 +01:00
convert_to_biu.h Fix typo initializing buswidth with linewidth value. 2021-08-01 19:33:19 +01:00
dialog_shim.h Make sure standard OK/Cancel buttons respond to current language. 2021-12-24 18:13:11 +00:00
dsnlexer.h pcb parser: ensure the parser is reinitialized before parsing a new fp file 2021-08-26 19:38:20 +02:00
eda_angle.h Add missing initialization values to variables 2021-12-30 23:42:06 +00:00
eda_base_frame.h Reduce duplication of settings. 2021-12-24 21:10:28 +00:00
eda_dde.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
eda_doc.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
eda_draw_frame.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
eda_item.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
eda_item_flags.h Add missing cstdint include 2021-06-08 19:51:35 -04:00
eda_list_dialog.h Freshen microwave polygon dialog and remove a bunch of dead code. 2021-08-03 01:11:11 +01:00
eda_pattern_match.h Fix shadow variable defn. 2021-12-02 11:40:31 +00:00
eda_rect.h Scoop up some more wxPoints 2022-01-01 21:06:40 -05:00
eda_shape.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
eda_text.h Move to new font engine. 2022-01-02 14:57:03 +00:00
eda_units.h Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
enum_vector.h Comment-only changes 2020-01-10 16:43:01 -08:00
env_paths.h Normalize drawing sheet path to env vars & prj, not just prj. 2021-10-02 23:39:45 +01:00
env_vars.h Namespace the env_vars.h functions 2021-06-27 00:38:19 -04:00
executable_names.h Move executable name constants to own file 2017-03-23 09:23:45 -04:00
filehistory.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
filename_resolver.h Fully resolve path list for Kicad2Step. 2021-08-14 11:21:25 +01:00
filter_reader.h Cleanup wx includes in the filter reader 2021-06-04 01:26:58 +01:00
footprint_editor_settings.h All the preferences, all the time. 2021-12-24 13:08:44 +00:00
footprint_filter.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
footprint_info.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
fp_lib_table.h Fp editor: do not change item UUIDs when loading a footprint from library. 2021-03-30 12:58:22 +02:00
frame_type.h Implement Reset to Defaults for all preferences panels. 2021-12-24 17:38:39 +00:00
gbr_metadata.h Header clean up round 2. 2020-12-19 13:55:28 -05:00
gbr_netlist_metadata.h Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
gestfich.h Remove printing files from Project Manager 2021-11-12 20:18:32 +00:00
gl_context_mgr.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
gl_utils.h Fix swap interval checking 2022-01-06 10:53:44 -08:00
gr_basic.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
gr_text.h Move to new font engine. 2022-01-02 14:57:03 +00:00
grid_tricks.h Promote to cell selection for spreadsheet-style paste. 2021-12-24 16:29:23 +00:00
hash_eda.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
hashtables.h Nix the deprecated binary/unary base class that aren't actually needed 2022-01-04 18:58:42 -05:00
hotkey_store.h All the preferences, all the time. 2021-12-24 13:08:44 +00:00
hotkeys_basic.h Fix Linux build issue. 2021-12-24 08:51:51 -05:00
html_window.h Substitute all wxHtmlWindow with HTML_WINDOW 2021-10-12 07:07:15 +00:00
i18n_utility.h Try to fix a compil issue on OSX (no viable conversion from 'const wxString' to 'const wxChar *', in colors.cpp) 2016-05-17 09:10:15 +02:00
id.h Implement Reset to Defaults for all preferences panels. 2021-12-24 17:38:39 +00:00
ignore.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
import_export.h Use _WIN32 instead of __MINGW32__ in 2 conditional compilations which are Windows specific, not especially mingw32 specific. 2016-03-01 16:55:44 +01:00
inspectable.h Coverity issue fixes. 2021-06-30 18:08:49 -04:00
intrusive_list.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
ki_exception.h Fix source comment/doc typos (follow-up) 2021-07-13 10:48:17 +00:00
kiface_base.h All the preferences, all the time. 2021-12-24 13:08:44 +00:00
kiface_ids.h All the preferences, all the time. 2021-12-24 13:08:44 +00:00
kiid.h Don't generate duplicate IDs in line/wire/bus tool. 2021-11-24 13:20:44 +00:00
kiway.h All the preferences, all the time. 2021-12-24 13:08:44 +00:00
kiway_express.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_holder.h KIWAY_HOLDER doesnt need wx/frame.h 2021-06-03 18:59:11 -04:00
kiway_mgr.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_player.h KIFACE_I -> KIFACE_BASE. 2021-09-14 23:45:14 +01:00
launch_ext.h Fix opening files with spaces on Linux 2021-11-07 14:31:14 +00:00
layer_ids.h Add show/hide controls for ERC markers. 2021-12-24 17:38:50 +00:00
lib_id.h Remove long-dead revision support for LIB_IDs. 2021-06-30 13:12:57 +01:00
lib_table_base.h Fix source comment/doc typos (follow-up) 2021-07-13 10:48:17 +00:00
lib_table_grid.h Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
lib_tree_item.h Evict some more eda_item.h includes 2021-06-08 19:12:29 -04:00
lib_tree_model.h Fix lib tree searches to handle searching on library names. 2021-12-14 15:18:48 +00:00
lib_tree_model_adapter.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
locale_io.h Move LOCALE_IO out of common.h 2020-10-23 21:49:42 -04:00
lockfile.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
logging.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
macros.h Overhaul arc internal model to not over-specify information. 2021-10-15 12:45:43 +01:00
macros_swig.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
mail_type.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
marker_base.h Another batch of point changes 2022-01-01 13:17:12 -05:00
markup_parser.h Move to new font engine. 2022-01-02 14:57:03 +00:00
menus_helpers.h Remove transitive inclusion of bitmaps.h 2021-03-07 16:08:57 -05:00
multivector.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
netclass.h Return new string to avoid losing the reference 2021-08-22 16:56:41 -07:00
newstroke_font.h Fix incorrect (too small) bounding box EDA_TEXT, noticeable when chars like j or { are used in zone fill functions. 2016-03-11 13:08:34 +01:00
observable.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
origin_transforms.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
origin_viewitem.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
outline_mode.h python wrap: fix undefined FILLED/SKETCH constants in pcbnew.py 2020-10-21 13:23:06 +02:00
pad_shapes.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
page_info.h Yeet wxPoint/wxSize out of PLOTTER 2021-12-29 19:02:50 +00:00
painter.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
panel_hotkeys_editor.h Expunge update UI event handler from paged dialog object. 2021-12-27 18:40:12 -05:00
panel_text_variables.h Variable substitution framework. 2020-03-30 14:15:59 +01:00
paths.h fixe paths 2021-12-02 20:23:00 +00:00
pcb_base_frame.h Convert wxPoint/wxSize starting from EDA_RECT usages 2022-01-01 11:30:33 -05:00
pcb_display_options.h Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
pcb_group.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
pcb_screen.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
pgm_base.h Prevent dereferencing frame on exit 2021-11-15 10:07:28 -08:00
printout.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
profile.h Add legacy CTOR for PROF_COUNTER 2021-12-15 12:52:08 -08:00
progress_reporter.h Decouple PROGRESS_REPORTER interface from implementations. 2021-08-14 21:05:49 +01:00
project.h Expunge the use of the word part from Eeschema code. 2021-06-15 08:32:11 -04:00
properties.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
property.h common: add PROPERTY::IsValueDefined() 2021-05-03 23:45:54 +02:00
property_mgr.h Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
ptree.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
rc_item.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
refdes_utils.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
render_settings.h User-settable high-contrast dimming factor. 2021-12-24 17:38:55 +00:00
reporter.h Remove all wxWidgets build dependencies from REPORTER object header. 2021-08-16 07:49:39 -04:00
richio.h File open/import progress dialogs. 2021-06-23 23:55:54 +01:00
scintilla_tricks.h Dark theme support for SPICE model editor 2021-12-03 03:41:32 +01:00
scoped_set_reset.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
search_stack.h Fix broken search stack behavior. 2021-11-13 07:52:25 -05:00
status_popup.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
streamwrapper.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
string_utils.h Exclude formatting chars from text width approximation. 2021-09-04 22:09:32 +01:00
stroke_params.h Another batch of point changes 2022-01-01 13:17:12 -05:00
sync_queue.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
systemdirsappend.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
template_fieldnames.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
textentry_tricks.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
title_block.h Fix issue with predefined variable texts ${COMMENT0} to ${COMMENT9} 2021-02-21 18:29:14 +01:00
trace_helpers.h Fix compile error with UTF8 unicode wxWidgets build 2022-01-05 19:23:30 +00:00
undo_redo_container.h Fix compil warnings (UNDO_REDO::GROUP renamed to UNDO_REDO::REGROUP to fix 2021-08-28 11:44:01 +02:00
utf8.h Start expunging NULL. 2021-07-15 15:44:45 -04:00
validators.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
wildcards_and_files_ext.h Make it easier to open legacy files. 2021-11-19 13:36:14 +00:00
wx_filename.h Add utility method to resolve symlinks 2021-06-07 20:59:59 +00:00
wxdataviewctrl_helpers.h Move wxDataViewCtrl manipulators out of dialog_choose_component.cpp 2017-03-30 21:47:14 -04:00
wxstream_helper.h Use heap instead of stack for CopyStreamData 2021-11-10 22:05:44 -05:00
xnode.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
zoom_defines.h Increase maximum zoom for pcbnew and gerbview 2021-06-11 14:26:38 -07:00