Maciej Suminski
709697ea40
Better way to determine supported OpenGL version and extensions.
11 years ago
Maciej Suminski
7480bcf1ae
Yet another desperate trial to fix the depth buffer issues.
11 years ago
Maciej Suminski
4dae107dab
Alternative depth range in OpenGL GAL.
11 years ago
Maciej Suminski
9e8719d3ff
Fixed overlapping segment endings in OpenGL view.
11 years ago
jean-pierre charras
6e8a8a6b25
Fix some coverity warnings (mainly not initialized members)
11 years ago
jean-pierre charras
9004ed8801
Remove a few coverity warnings. Fix some comments which were incorrect, due to the changes in code. Remove not compiled code (kept as comments), now outdated or useless
legacy plugin: better compatibility with old brd files (current track width and current vias size, stored in SETUP section, were not read from file and incorrectly set)
11 years ago
Maciej Suminski
b6c5b291a2
Coverity fixes.
11 years ago
Eldar Khayrullin
5d8f7ba0e6
bugfix: cannot draw 180 degree arc in OpenGL canvas
11 years ago
Alexander Golubev
f2ce42ddb5
fix several -Woverloaded-virtual warnings in common/* dir
- CACHED_CONTAINER::GetVertices: removed useless and unused function
which does nothing but tainted the API
- SHAPE_LINE_CHAIN::Collide( const BOX2I& aBox, int aClearance ):
removed an outdated function with assert(false)
- SHAPE::BBox(): fix a small typo in the doc string
11 years ago
jean-pierre charras
39497b109e
Pcbnew: fix Bug #1422093 (pcbnew crashes after editing a footprint cominng from the board with the fp editor and saving it on a librray and trying to load it to the board)
Some other very minor fixes.
11 years ago
Maciej Suminski
b1ace1607b
Reworked GAL switching.
Now OpenGL can report its problems instead of shutting down the application.
11 years ago
jean-pierre charras
d4e04dcc97
Fix bugs detected by Cppcheck.
11 years ago
Maciej Suminski
90c7c72d81
Reverted missing changes.
11 years ago
Maciej Suminski
7de3aa9af2
Reverted the last commit, apparently not every GLEW contains required definitions.
11 years ago
Maciej Suminski
1f8b77697f
gal: Check maximum framebuffer size (OpenGL).
11 years ago
Garth Corral
6c137ac79c
Added support for wxWidgets magnify events from the Magic Trackpad on OS X
Committing this separately from the rest to ease making a patch for just this
functionality in case that it might make it into the trunk.
This can function standalone, though it is less useful without the rest.
It requires that wxwidgets-3.0.0_macosx_magnify_event.patch be applied to wxWidgets
It is completely optional; everything is guarded by the USE_OSX_MAGNIFY_EVENT macro.
- Added OnMagnify event handler to EDA_DRAW_PANEL, EDA_3D_CANVAS and the helper for
EDA_DRAW_PANEL_GAL, WX_VIEW_CONTROLS. This should cover canvases all current tools.
- Guarded all with USE_OSX_MAGNIFY EVENT feature macro and added support in CMakeLists.txt
11 years ago
Paulo Henrique Silva
3132690c0b
Fix slow opengl canvas on Mac OS 10.9.
11 years ago
Maciej Suminski
490a73b62a
Fixed filled arcs drawing (GAL).
11 years ago
jean-pierre charras
4fc4ea6147
Make some system error messages not translatable. Better comments in some dialogs.
11 years ago
Maciej Suminski
a57f7ae8cd
Fix OpenGL canvas freeze under Windows.
11 years ago
Maciej Suminski
0fc93666c6
Rework to support multiple views with OpenGL GAL canvas.
11 years ago
Maciej Suminski
d27ea7895d
Moved background color settings from GAL to RENDER_SETTINGS. Added RENDER_SETTINGS::TranslateColor() to convert between EDA_COLOR_T and COLOR4D.
12 years ago
Maciej Suminski
dbc4a8f292
GAL zooms in and out using the default hot keys (F1/F2).
Screen size is saved in VECTOR2I instead of VECTOR2D.
12 years ago
maciej.
898ed7445f
GAL: fix zooming using mouse wheel with wxWidgets 3.0.
12 years ago
Maciej Suminski
e1ce30d89d
Fixed mouse wheel handling for GAL canvases with wx3.0.
12 years ago
Orson
59a0ced0a6
Corrected the error message about required OpenGL version for GAL. Fixed pcb_calculator .desktop file.
12 years ago
Maciej Suminski
c5a3c1082a
Removed a few RecacheAllItems() calls, some of them changed to specific type recaching (using TYPE_COLLECTOR & VIEW_ITEM::ViewUpdate() ).
Removed OPENGL_GAL::SetStrokeColor().
12 years ago
Maciej Suminski
1c253bfba0
Some variables initialized to NULL.
12 years ago
Maciej Suminski
597e98dbf4
Cursor is in world coordinates.
12 years ago
Maciej Suminski
f9f0b46b63
Small GAL refactorization, mostly correcting constness.
12 years ago
Maciej Suminski
e43b5f7c0f
Small fix for crippled polylines containing 0 points.
12 years ago
Maciej Suminski
4a0407fb69
Removed some debug logs.
12 years ago
Maciej Suminski
c21ae6efca
Double click support for the Tool Framework.
12 years ago
Maciej Suminski
06f4662ea0
Profile counter simplified, so it should be more portable.
12 years ago
Maciej Suminski
fc4f9195b6
Fixed wx2.8 strings compatibility.
12 years ago
Maciej Suminski
5235d7e5eb
Modified error handling for OpenGL backend, now error messages should be visible.
12 years ago
Wayne Stambaugh
fe54ceacab
Fix debug builds on wxWidgets 2.8.
12 years ago
Maciej Suminski
edc43c19cd
Fix colorized framebuffer output on some GPUs.
12 years ago
Maciej Suminski
f615c462a2
Changed the used framebuffer object extension from ARB_framebuffer_object to EXT_framebuffer_object (compatibility reasons).
12 years ago
Maciej Suminski
c7bc1e151c
GAL is not activated by default. Late OpenGL backend initializatization.
12 years ago
Maciej Suminski
bc305859b2
Mainly case changes.
12 years ago
Maciej Suminski
0ac3e1fbf2
Namespace KiGfx->KIGFX.
template<> -> template <>
Some more reformatting according to uncrustify results.
12 years ago
Maciej Suminski
f1c3ea1c3c
Fixed unnecessary comment
12 years ago
Maciej Suminski
22045b61ea
Converted tabs to spaces. Removed trailing whitespaces.
12 years ago
Maciej Suminski
75bb84704d
Added error messages for OpenGL framebuffer errors. This should eliminate quiet segfaults in case of drivers that cannot handle multiple attachment points for framebuffers.
12 years ago
tomasz.wlostowski@cern.ch
d8480e4674
gal: make the cursor a bit bigger and hidden by default
12 years ago
Maciej Suminski
9fbf45ebfc
Fixed drawing outlined track segments.
12 years ago
Maciej Suminski
782867f7b3
Caps for lines are drawn only when segments are wider than 1.0
12 years ago
Maciej Suminski
b04de0cada
Fixed memory leaks in containers.
12 years ago
Maciej Suminski
8a4417ec46
Fixed color for drawing polygons on overlay.
12 years ago