Commit Graph

46 Commits

Author SHA1 Message Date
Aleksey Makarenko 5c78738d33 Proper OpenGL HiDPI handling. Fixes problems with size of OpenGL widgets on HiDPI screens. (PR #769) 2021-08-02 14:57:45 +02:00
Charles J. Cliffe a0f1ccf68d Cleanup: visual ui / interface panels 2021-04-04 22:20:33 -04:00
Charles J. Cliffe 99ecbef373 Fix nudging out of view, fix keypad triggering and tuner freq entry target 2019-05-24 00:30:22 -04:00
vsonnier e46d7f9735 Migration to wxWidgets v3.11:
- Seen on Windows: Bookmarkview slow update because the controls are self-reacting to the rebuild control events, so fix nullify them during control rebuilding.
- Update OpenGL initialization using v3.1 level context and canvas attributes instead of the deprecated calls.
2018-03-11 11:47:14 +01:00
vsonnier c64baab99d Threads vs. Queues lifetimes, cleanups.
- Ideally Queues must outlive the threads using them, but wasn't done so. Yes, std::shared_ptr them!
- Now queues are always valid in the context of the threads using them.
- No longer need tedious queues deallocation by the original owner.
- Misc cleanups.
2017-08-13 19:19:25 +02:00
vsonnier 3095f8205a CubicVR2: more restricted operators on structures by removing convert-to-pointer. (Fix #550 ?) 2017-05-28 12:59:08 +02:00
vsonnier 4b323e9863 Make ReBuffer refcount management automatic, using std::shared_ptr:
- No longer need to call setRefCount() / decRefCount()
- Restore old ThreadBlockingQueue using std::deque, for std::shared_ptr correct behaviour.
2017-05-24 12:28:37 +02:00
vsonnier 115b0ffa58 CLEANUP: some compiler and static analysis warnings 2017-01-28 14:57:27 +01:00
vsonnier 848d1bf0e3 Manage B key correctly activated for spectrum, not waterfall. Add another independent B (dB) key for audio scope 2017-01-27 23:23:25 +01:00
Charles J. Cliffe 3ec14fbe38 Licence fix, add SPDX-License-Identifier, remove unused code files 2017-01-02 21:07:43 -05:00
Charles J. Cliffe 0f5b891b20 Fix Digital scope 2016-07-24 17:24:29 -04:00
vsonnier b495b388c9 TH_CLEAN_3: Use of non-blocking try_pop() when possible,
AudioThread concurrent access hardening and simplified,
and misc.
2016-07-05 21:45:42 +02:00
Charles J. Cliffe 688181e566 Cleanup MSVC warnings and deprecated C++ exception stuff 2016-06-01 19:42:34 -04:00
Charles J. Cliffe 9ac31040d5 Back out wxGLAttributes update until needed. 2016-04-07 20:00:59 -04:00
Charles J. Cliffe f4b7baebfa Update to wx 3.1.0 gl attributes, simplify GLFont cache and GC 2016-03-22 20:49:15 -04:00
Stanisław Pitucha c1eb1de1bd Fix remaining unused parameters 2016-01-27 11:45:54 +11:00
Charles J. Cliffe c303b68284 Basic X/Y scope plot while in digital mode 2015-11-29 13:35:12 -05:00
Charles J. Cliffe c30cce9114 Add functional Spectrum view to demodulator visuals
- Might need to do some renaming from Scope->AVDisplay or something for
ScopeCanvas to avoid confusion.
2015-08-24 01:31:37 -04:00
Charles J. Cliffe 7a0f523eaf Test of draggable scope area + fixes
- Will be able to drag back/forth to cycle scope/spectrum/plot
- Fix for two crashes
2015-08-19 23:22:46 -04:00
Charles J. Cliffe 6ae02bee9c Frame timer too jittery for anything but OSX, back to throttling which looks nicer.. 2015-08-12 18:07:06 -04:00
Charles J. Cliffe 1fd380d2fb Re-usable SpectrumPanel to replace SpectrumContext 2015-08-10 00:33:31 -04:00
Charles J. Cliffe c970f8d5db Transform error for scope divider / center line 2015-08-09 13:23:58 -04:00
Charles J. Cliffe db8e7a68d0 Re-usable ScopePanel to replace ScopeContext Plot 2015-08-09 12:51:01 -04:00
Charles J. Cliffe aa6e612d6a Move processor call out of scope canvas 2015-08-08 14:52:01 -04:00
Charles J. Cliffe 9d4f933758 synchronized refresh timer at 30fps, remove osx frame limiter hack
- Tuning, Gain and Mode selector canvases no longer refresh unless
necessary
- Hopefully resolves refresh issues on El Capitan and others
2015-08-08 13:26:53 -04:00
Charles J. Cliffe 560eec1336 ScopeVisualProcessor now working 2015-08-01 11:03:00 -04:00
Charles J. Cliffe 24179afd28 add ternary to catch possible null pointer bump 2015-05-28 18:30:53 -04:00
Charles J. Cliffe 2a9eadbf9a Issue #81 patches from @dovandung 2015-05-27 23:22:19 -04:00
Charles J. Cliffe a3a33eb3fe Set PPM via Tuning bar by holding ALT 2015-04-22 22:54:48 -04:00
Charles J. Cliffe adf8ba5251 OSX 1/2 refresh frame-limiting hack 2015-02-10 23:49:34 -05:00
Charles J. Cliffe a3fac1e932 Frame rate limiter for Windows, Untested OSX / Linux 2015-02-09 20:49:21 -05:00
Charles J. Cliffe e504f4f282 Fix demodulator selection menu radio and display 2015-01-25 21:03:17 -05:00
Charles J. Cliffe d45d3842bf Eliminate redundant visual data updates, temporary chain until shared PBO implementation 2015-01-22 22:14:00 -05:00
Charles J. Cliffe 6679b20fbb Can now choose demodulator output devices 2014-12-31 21:31:37 -05:00
Charles J. Cliffe 4403824e3b Demodulator now has it's own spectrum view 2014-12-29 00:24:10 -05:00
Charles J. Cliffe 06103a2d1b Show stereo divider 2014-12-26 23:28:18 -05:00
Charles J. Cliffe 4d35075655 Can now spawn/delete demodulators 2014-12-10 21:22:13 -05:00
Charles J. Cliffe 93b20454d3 Increase keyboard L/R arrow key tuning speed 2014-11-28 19:00:05 -05:00
Charles J. Cliffe f441546023 Pick freq/drag in waterfall, show demod bandwidth 2014-11-25 22:51:14 -05:00
Charles J. Cliffe 4900ce7f17 Can now tune by dragging middle spectrum view 2014-11-25 00:35:06 -05:00
Charles J. Cliffe 5977fb144b Missing freq assignment 2014-11-23 20:02:48 -05:00
Charles J. Cliffe cae1855fc5 Move code out of frame, proper thread termination 2014-11-23 19:39:27 -05:00
Charles J. Cliffe 99aa87df63 Now working on gcc4.8, x86-64 on windows
Had to make my own portaudio and rtl-sdr binaries. The available
packages weren't compatible somehow.  Also wxWidgets wxPack doesn't
include OpenGL support but it's easy enough to compile.
2014-11-21 00:49:41 -05:00
Charles J. Cliffe a7d7ec0d93 Frame rate limiter 2014-11-16 23:20:48 -05:00
Charles J. Cliffe 2e5bdc2646 Separate visual components Scope/Spectrum/Waterfall
Each now on it's own canvas with shared GL Context
2014-11-15 23:41:41 -05:00
Charles J. Cliffe 541ab5614c Separate Primary GL Context and visuals canvas
Can now create multiple GL canvases with shared context
2014-11-12 21:55:11 -05:00