1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-21 23:55:13 -05:00
Commit Graph

16 Commits

Author SHA1 Message Date
DreamNik
d2e89b7337 Fix PR comments 2024-09-09 19:17:30 +03:00
DreamNik
60e1d1cd9e Fix compilation for Android with Qt6 2024-09-05 13:37:51 +03:00
Daniele Forsi
4241f01376 Fix typos in cpp files 2024-07-10 23:06:38 +02:00
Daniele Forsi
08c0668dcb Fix memleaks found with AddressSanitizer/LeakSanitizer
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel

Fixes:
Indirect leak of 16 byte(s) in 1 object(s) allocated from:
    #0 0x7faba78f46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
    #1 0x7faba73281e1 in GLShaderSpectrogram::initializeGL(int, int) sdrgui/gui/glshaderspectrogram.cpp:118
    #2 0x7faba7369b54 in GLSpectrumView::initializeGL() sdrgui/gui/glspectrumview.cpp:937
    #3 0x7faba33c4f45 in QOpenGLWidget::resizeEvent(QResizeEvent*) (/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1c4f45) (BuildId: 983eca66d9695a1892aa796da4160d8d6f9b9ac4)
2024-05-19 19:44:45 +02:00
f4exb
b84eea7dc9 Rewriting of copyright notices for sdrgui. Fixes #1893 2023-11-19 13:43:10 +01:00
Jon Beniston
1c9cc7a989 GLSpectrum touchscreen updates
Add "show all controls" button, that allows most of the "set once"
controls to be hidden on small screens. Please feel free to make a
better icon! Could also be hidden if !ANDROID, if you don't like it.
Add pinch and pan gestures, for frequency scrolling and zooming in to
spectrum.
Queue frequencies requested by scrolling, so intermediate frequencies
can be omitted, if device is slow to update its frequency.
Support non-integer pixel ratios.
Add popup sliders for dials.
Add DialogPositioner for dialogs.
Add layout to spectrum markers dialog, so that it can be resized, to fit
on smaller screens.
2022-12-20 14:39:39 +00:00
Jon Beniston
7ba8540dd4 Fix shaders so they don't crash when OpenGL 2.0 ES is used 2022-07-21 21:09:41 +01:00
Jon Beniston
08cc6d02f5 Use 2D textures as 1D not supported in Open GL ES on ARM 2022-07-21 19:55:31 +01:00
Jon Beniston
4df26f7140 3D Spectrogram: Use texture height rather than fft size for clamping limit 2022-06-21 10:09:08 +01:00
Jon Beniston
72dfe95a5b GL_LUMINANCE is deprecate so doesn't work on Mac. Use GL_RED instead. 2022-06-19 21:37:24 +01:00
Jon Beniston
37622db678 Optimise VAO usage 2022-06-19 14:16:45 +01:00
Jon Beniston
74d61855e4 Use VAOs for OpenGL 3 CoreProfile 2022-06-19 11:22:46 +01:00
Jon Beniston
e31880fc66 Use integers for OpenGL version 2022-06-19 00:11:46 +01:00
Jon Beniston
e13e919012 Add OpenGL shaders using OpenGL 3.3 syntax for MacOS which doesn't support version 2 syntax wth 4.2 context 2022-06-18 23:40:25 +01:00
Jon Beniston
c135affb6a Simply matrix calcs. Fix for clang 2022-06-18 13:07:10 +01:00
Jon Beniston
d441e6d475 Add 3D spectrogram 2022-06-18 12:35:44 +01:00