Maciej Suminski
|
c9a41be774
|
Added licence for the GAL bitmap font
|
2016-08-03 17:02:43 +02:00 |
Simon Richter
|
da5699de0a
|
Replace boost::shared_ptr with std::shared_ptr.
|
2016-06-29 11:09:55 -04:00 |
Michael Steinberg
|
fde12ebd25
|
Replace boost::function and boost::bind with their std:: counterparts
|
2016-06-29 12:23:11 +02:00 |
Maciej Suminski
|
b82ccc3b4e
|
Reverted 6912 with minor changes (LockCtx requires to specify canvas that locks a context).
|
2016-06-13 16:43:33 +02:00 |
Maciej Suminski
|
57d4e8d51d
|
Fixed OpenGL crash on canvas switch.
|
2016-06-13 09:35:36 +02:00 |
Maciej Suminski
|
b7ec4ea160
|
Corrected the last instance check in OPENGL_GAL.
|
2016-06-10 17:07:12 +02:00 |
Simon Richter
|
2928cb7419
|
Replace unshared boost::shared_array with std::unique_ptr
|
2016-06-08 09:43:07 +02:00 |
Maciej Suminski
|
3fcae6b120
|
Fixes for OpenGL resources handling.
|
2016-06-07 14:42:42 +02:00 |
Maciej Suminski
|
b4ad18a3ea
|
Do not rebuild shaders on each OPENGL_GAL construction.
|
2016-06-03 15:46:13 +02:00 |
Maciej Suminski
|
b83c148e10
|
Delete OpenGL context on GLCanvas subclasses destruction.
|
2016-06-03 15:46:13 +02:00 |
Maciej Suminski
|
68b6da57c0
|
Removed OPENGL_GAL::instanceCounter.
|
2016-06-03 15:46:12 +02:00 |
Maciej Suminski
|
01f32dd52c
|
GL_CONTEXT_MANAGER class to avoid unexpected GL context switches.
|
2016-06-03 15:46:12 +02:00 |
Maciej Suminski
|
4f7bb4c0f7
|
Simplified error checking in OPENGL_GAL test.
|
2016-06-03 15:46:11 +02:00 |
jean-pierre charras
|
3e2cae946c
|
Corrected wxDC objects used by EDA_DRAW_PANEL_GAL & OPENGL_GAL.
|
2016-06-03 15:46:11 +02:00 |
jean-pierre charras
|
1ae9175671
|
A few minor fixes for compil warnings (shadowed variables and deprecated auto_ptr)
|
2016-05-29 17:02:34 +02:00 |
jean-pierre charras
|
ca0113ab65
|
Fix my previous commit: I committed the wrong file
|
2016-05-28 21:51:35 +02:00 |
jean-pierre charras
|
b7f863dc4c
|
Fix the commit 6838 (Fix non optimal position of net name and pad name in GAL mode), broken.
|
2016-05-28 21:46:13 +02:00 |
Maciej Suminski
|
a42cb0ef8c
|
OpenGL GAL: Set context in destructor when possible (under Linux the window has to be visible).
|
2016-05-09 18:00:34 +02:00 |
Maciej Suminski
|
d9f4877c94
|
Fixed a crash when starting pcbnew with OpenGL GAL.
|
2016-05-09 17:23:01 +02:00 |
Maciej Suminski
|
cca36d355a
|
Remove unnecessary debug messages (OpenGL GAL).
|
2016-05-04 10:10:15 +02:00 |
Maciej Suminski
|
22c4e4d240
|
Set OpenGL context only when the parent window is visible.
|
2016-05-03 16:39:58 +02:00 |
Maciej Suminski
|
55976e39ef
|
Fixed crash occuring when a vertex buffer is mapped in invalid OpenGL context.
|
2016-05-03 16:16:59 +02:00 |
Maciej Suminski
|
a62d2b5412
|
Bigger net labels (GAL).
|
2016-05-03 15:15:08 +02:00 |
Maciej Suminski
|
8d952f35c6
|
Fixed text vertical alignment for bitmap font (OpenGL).
|
2016-05-03 11:58:48 +02:00 |
Maciej Suminski
|
58ed0c8cce
|
Improved grid drawing routine (OpenGL).
|
2016-05-02 16:15:24 +02:00 |
Maciej Suminski
|
fff3abc9a0
|
Support for overbars in bitmap fonts (OpenGL GAL).
|
2016-05-02 16:12:18 +02:00 |
Maciej Suminski
|
c506d2b16c
|
Set OpenGL context before freeing video resources.
|
2016-05-02 16:12:18 +02:00 |
Maciej Suminski
|
59fe8df269
|
Split bitmap text drawing routine into smaller functions (GAL).
|
2016-05-02 16:12:18 +02:00 |
Maciej Suminski
|
702be4903f
|
Vertices are stored in GPU memory (OpenGL GAL).
|
2016-05-02 16:12:16 +02:00 |
Maciej Suminski
|
b32fdd97d9
|
Changed shading model to flat.
|
2016-05-02 16:12:15 +02:00 |
Maciej Suminski
|
e2c8e07344
|
Enabled mipmapping for bitmap fonts.
|
2016-05-02 16:12:14 +02:00 |
Maciej Suminski
|
928d4e0404
|
SwapBuffers() contain an implicit glFlush()
|
2016-05-02 16:08:50 +02:00 |
Maciej Suminski
|
bda3011519
|
Initial support for bitmap fonts (OpenGL GAL).
|
2016-05-02 16:04:45 +02:00 |
Maciej Suminski
|
431e343201
|
Switch to direct rendering before clearing the screen (OpenGL GAL).
|
2016-05-02 15:56:19 +02:00 |
Maciej Suminski
|
5ba84dda0a
|
OpenGL capabilities test is run only once.
|
2016-05-02 15:56:19 +02:00 |
Maciej Suminski
|
36dd6eb6b3
|
GAL profiling output is enabled with WXTRACE env variable.
|
2016-05-02 15:56:17 +02:00 |
Maciej Suminski
|
c0465e5519
|
Instance counter for OPENGL_GAL to avoid double freeing.
|
2016-05-02 15:56:16 +02:00 |
Maciej Suminski
|
4262915b38
|
Code formatting.
|
2016-05-02 15:56:10 +02:00 |
Maciej Suminski
|
0cfa360390
|
Added VERTEX_MANAGER::Reserve() function.
|
2016-05-02 15:56:10 +02:00 |
Bernhard Stegmaier
|
3e2b4244f9
|
OSX: add support for wxMagnifyEvent on OSX builds using wxWidgets 3.1.0 or greater.
|
2016-01-24 19:18:29 -05:00 |
Maciej Suminski
|
4951285a67
|
GAL::DrawPolygon() and GAL::DrawPolyline() variants that work with VECTOR2D array.
|
2016-01-20 15:16:39 +01:00 |
Maciej Suminski
|
9b4d12653e
|
FIxed the drawing layer for arcs (GAL).
|
2015-12-03 15:05:53 +01:00 |
unknown
|
c1b46e6ed8
|
Fix bug Bug #1519590 (gal cannot start on surface book)
|
2015-11-29 07:50:25 +01:00 |
Maciej Suminski
|
247f018075
|
FIxed rendering artifacts in OpenGL canvas.
|
2015-09-09 10:49:25 +02:00 |
Maciej Suminski
|
0386a4df94
|
Bulletproof canvas switching.
|
2015-08-21 10:33:36 +02:00 |
jean-pierre charras
|
1c9115ee91
|
opengl_gal: fix a strange but already encountered issue on Ubuntu/Unity when switching to GAL: the dialog which test the opengl version was never raised, and the Pcb editor frame partially no more responding to menu events.
Also fix a bug: this test dialog was never destroyed.
|
2015-07-13 10:46:05 +02:00 |
Maciej Suminski
|
51c0ae3480
|
Fixed cursor offset in GAL.
|
2015-07-01 03:46:42 +02:00 |
Maciej Suminski
|
d3c7b45438
|
Corrected GAL canvases screen size, so they do not include scroll bars.
|
2015-06-30 14:08:35 +02:00 |
Garth Corral
|
6eaf029a0e
|
Pinch to zoom for OS X.
|
2015-05-21 22:54:29 +02:00 |
Maciej Suminski
|
48a74dba37
|
Added missing 'def'
|
2015-05-21 00:47:53 +02:00 |
Maciej Suminski
|
420c1d1bcd
|
Changed the patch to support full resolution on Retina screens to be more bulletproof.
|
2015-05-21 00:42:46 +02:00 |
Maciej Suminski
|
6fc59f9acd
|
Full resolution in OpenGL canvas on Retina displays
|
2015-05-18 13:48:12 +02:00 |
Maciej Suminski
|
709697ea40
|
Better way to determine supported OpenGL version and extensions.
|
2015-04-20 14:16:41 +02:00 |
Maciej Suminski
|
7480bcf1ae
|
Yet another desperate trial to fix the depth buffer issues.
|
2015-04-17 12:15:25 +02:00 |
Maciej Suminski
|
4dae107dab
|
Alternative depth range in OpenGL GAL.
|
2015-03-30 22:14:37 +02:00 |
Maciej Suminski
|
9e8719d3ff
|
Fixed overlapping segment endings in OpenGL view.
|
2015-03-30 14:09:56 +02:00 |
Eldar Khayrullin
|
5d8f7ba0e6
|
bugfix: cannot draw 180 degree arc in OpenGL canvas
|
2015-03-09 10:26:29 +01:00 |
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.
|
2015-02-17 17:32:47 +01:00 |
Maciej Suminski
|
b1ace1607b
|
Reworked GAL switching.
Now OpenGL can report its problems instead of shutting down the application.
|
2015-02-15 02:18:35 +01:00 |
jean-pierre charras
|
d4e04dcc97
|
Fix bugs detected by Cppcheck.
|
2015-01-19 20:03:50 +01:00 |
Maciej Suminski
|
490a73b62a
|
Fixed filled arcs drawing (GAL).
|
2014-08-06 13:51:46 +02:00 |
Maciej Suminski
|
a57f7ae8cd
|
Fix OpenGL canvas freeze under Windows.
|
2014-07-20 21:14:42 +02:00 |
Maciej Suminski
|
0fc93666c6
|
Rework to support multiple views with OpenGL GAL canvas.
|
2014-07-09 11:22:42 +02:00 |
Maciej Suminski
|
d27ea7895d
|
Moved background color settings from GAL to RENDER_SETTINGS. Added RENDER_SETTINGS::TranslateColor() to convert between EDA_COLOR_T and COLOR4D.
|
2014-05-14 10:35:12 +02:00 |
Maciej Suminski
|
23392ce8c9
|
Upstream merge.
|
2014-04-02 15:38:59 +02:00 |
Maciej Suminski
|
dbc4a8f292
|
GAL zooms in and out using the default hot keys (F1/F2).
Screen size is saved in VECTOR2I instead of VECTOR2D.
|
2014-03-20 08:47:31 +01:00 |
maciej.
|
898ed7445f
|
GAL: fix zooming using mouse wheel with wxWidgets 3.0.
|
2014-03-19 21:07:49 +01:00 |
Maciej Suminski
|
e1ce30d89d
|
Fixed mouse wheel handling for GAL canvases with wx3.0.
|
2014-03-19 11:57:59 +01:00 |
Orson
|
59a0ced0a6
|
Corrected the error message about required OpenGL version for GAL. Fixed pcb_calculator .desktop file.
|
2014-03-14 21:32:25 +01:00 |
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().
|
2014-02-25 14:28:09 +01:00 |
Maciej Suminski
|
597e98dbf4
|
Cursor is in world coordinates.
|
2014-02-13 20:23:28 +01:00 |
Maciej Suminski
|
f9f0b46b63
|
Small GAL refactorization, mostly correcting constness.
|
2014-02-13 19:31:27 +01:00 |
Maciej Suminski
|
e43b5f7c0f
|
Small fix for crippled polylines containing 0 points.
|
2014-02-11 15:01:49 +01:00 |
Maciej Suminski
|
c21ae6efca
|
Double click support for the Tool Framework.
|
2013-11-28 15:19:50 +01:00 |
Maciej Suminski
|
fc4f9195b6
|
Fixed wx2.8 strings compatibility.
|
2013-11-13 15:52:06 +01:00 |
Maciej Suminski
|
5235d7e5eb
|
Modified error handling for OpenGL backend, now error messages should be visible.
|
2013-11-11 10:48:49 +01:00 |
Maciej Suminski
|
edc43c19cd
|
Fix colorized framebuffer output on some GPUs.
|
2013-10-29 17:53:47 +01:00 |
Maciej Suminski
|
f615c462a2
|
Changed the used framebuffer object extension from ARB_framebuffer_object to EXT_framebuffer_object (compatibility reasons).
|
2013-10-29 17:28:29 +01:00 |
Maciej Suminski
|
c7bc1e151c
|
GAL is not activated by default. Late OpenGL backend initializatization.
|
2013-10-28 16:51:56 +01:00 |
Maciej Suminski
|
bc305859b2
|
Mainly case changes.
|
2013-10-14 20:40:36 +02:00 |
Maciej Suminski
|
0ac3e1fbf2
|
Namespace KiGfx->KIGFX.
template<> -> template <>
Some more reformatting according to uncrustify results.
|
2013-10-14 16:13:35 +02:00 |
Maciej Suminski
|
22045b61ea
|
Converted tabs to spaces. Removed trailing whitespaces.
|
2013-10-14 13:43:57 +02:00 |
Maciej Suminski
|
dcb5d8f25c
|
Merged Tom's branch
|
2013-09-18 16:59:08 +02:00 |
tomasz.wlostowski@cern.ch
|
d8480e4674
|
gal: make the cursor a bit bigger and hidden by default
|
2013-09-18 13:13:03 +02:00 |
Maciej Suminski
|
9fbf45ebfc
|
Fixed drawing outlined track segments.
|
2013-09-16 09:51:53 +02:00 |
Maciej Suminski
|
782867f7b3
|
Caps for lines are drawn only when segments are wider than 1.0
|
2013-09-13 15:30:45 +02:00 |
Maciej Suminski
|
b04de0cada
|
Fixed memory leaks in containers.
|
2013-09-12 09:44:57 +02:00 |
Maciej Suminski
|
8a4417ec46
|
Fixed color for drawing polygons on overlay.
|
2013-09-09 14:31:13 +02:00 |
Maciej Suminski
|
bd8998d1da
|
Fixed cursor drawing for OpenGL.
|
2013-08-28 17:06:07 +02:00 |
Maciej Suminski
|
6fe086ab6d
|
Added cursor snapping.
|
2013-08-28 16:25:42 +02:00 |
Maciej Suminski
|
215f35e237
|
Added mouse cursor drawing.
Added flipping mode.
|
2013-08-27 18:08:32 +02:00 |
Maciej Suminski
|
89a138c09e
|
Added handling keyboard events for the Tool framework.
|
2013-08-21 17:37:27 +02:00 |
Maciej Suminski
|
43ae1cb98d
|
Smarter way of the overlay rendering (overlay is always refreshed, while cached&noncached targets only if the viewport or items have changed).
|
2013-08-19 11:02:38 +02:00 |
Maciej Suminski
|
bc69429a56
|
Added GetTarget() for GALs.
|
2013-08-06 14:57:48 +02:00 |
Maciej Suminski
|
19b344806d
|
Fixed the tesselator, so now it works with Windows.
|
2013-08-02 10:55:40 +02:00 |
Maciej Suminski
|
d34df18f2c
|
Fixed grid line drawing in OpenGL backend for some drivers.
|
2013-07-31 09:01:25 +02:00 |
Maciej Suminski
|
190ed58568
|
Code refactoring.
|
2013-07-30 18:29:54 +02:00 |
Maciej Suminski
|
790a1f8563
|
Made GAL backends settings more consistent. Fixed grid line width in the OpenGL backend.
|
2013-07-30 17:09:06 +02:00 |
Maciej Suminski
|
f9d74ccb70
|
Removed shaderless OpenGL backend.
|
2013-07-29 16:38:07 +02:00 |
Maciej Suminski
|
27113348b9
|
Fixed blending function for OpenGL compositing. Corrected documentation, removed unnecessary functions.
|
2013-07-24 15:06:59 +02:00 |