summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
5 daysgr-fosphor/build: Update all CMake filesHEADmasterSylvain Munaut8-429/+141
Part of GNURadio 3.8 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysgr-fosphor/build: Update CMakeLists.txt copyright headerSylvain Munaut9-36/+36
Part of GNURadio 3.8 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysgr-fopshor/docs: Misc cleanup in Doxyfile.inSylvain Munaut1-15/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysgr-fosphor/docs: Update docs template to the latest from GNURadioSylvain Munaut16-349/+928
Part of GNURadio 3.8 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysgr-fosphor/build: Remove GNURadio cmake modulesSylvain Munaut9-1576/+0
Part of GNURadio 3.8 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysgr-fosphor/grc: Convert GRC blocks to YAML for 3.8Sylvain Munaut6-166/+118
Part of GNURadio 3.8 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysgr-fopshor: Remove WX supportSylvain Munaut13-494/+0
This doesn't exist anymore in 3.8 Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysfosphor: Convert mkresources to Python 3Sylvain Munaut1-13/+14
Py3 only ... upgrade your system folks ! Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysgr-fosphor/qt: Qt5 - Track visibility of the widgetgr3.7-qt5Sylvain Munaut2-0/+15
When not visible, doing GL operations is not supported Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysgr-fosphor/qt: Qt5 - Associate GL context to the worker threadSylvain Munaut4-6/+48
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysgr-fosphor/qt: Qt5 - Switch to linking to Qt5Sylvain Munaut4-158/+13
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysgr-fosphor: Add concept of visibility to the base block implementationSylvain Munaut3-13/+36
If we're not visible, don't do any GL calls Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysgr-fosphor: Missing namespace for thread::mutexgr3.7Sylvain Munaut1-1/+1
For consistency ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysgr-fosphor: Fix block name for QT sinkSylvain Munaut1-1/+1
Obvious typo is obvious. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysgr-fosphor: Indent (tab/space) fixesSylvain Munaut2-13/+13
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysfosphor/cl: Make sure to unlocking the GL objects during CL releaseSylvain Munaut1-0/+6
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysfosphor/cl: Declare the target OpenCL version to avoid warningSylvain Munaut1-0/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysfosphor/cl: Display all devices and allow selection with env varSylvain Munaut1-6/+19
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysfosphor/cl: Check for image support when filtering CL devicesSylvain Munaut1-0/+12
Thanks to Ethan Trewhitt for original patch Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
5 daysfosphor/gl: Fix memory leak when releasing color mapSylvain Munaut1-0/+3
Thanks to Emil Berg for reporting Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
13 daysfosphor/gl: Remove redundant initial clear of buffersSylvain Munaut1-7/+3
The buffers will end up being initialized from the CL result anyway. (and CL has its own clear). Apparently the clear of the VBO was causing CL/GL share failur on recent NVidia driver so get rid of all of it. Thanks a lot to Aaron Giles <gilesam73@gmail.com> for finding the root cause of the issue. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
13 daysfosphor/cl: Fix return type/value of cl_queue_clear_buffersSylvain Munaut1-2/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
13 daysfosphor/cl: Cleanup shared object lock/unlocking code pathsSylvain Munaut1-21/+25
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-05-22fosphor/gl_font: Don't use the format __attribute__ when using MSVCSylvain Munaut1-1/+7
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-05-22gr-fosphor: On WIN32 platform, link and use GLEW to find GL extensionsSylvain Munaut3-0/+69
The FindGLEW is included because it seems the one shipping by CMake by default fails to find it on windows (which is the only platform where we use it ...) This is based on a patch from Geof Nieboer <gnieboer@corpcomm.net> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-05-22gr-fosphor: Improve cleanup path of the worker thread in case of init failSylvain Munaut1-3/+10
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-05-22gr-fosphor: Minor tweaks to FindGLFW3Sylvain Munaut1-9/+5
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-05-22gr-fosphor: Rely on the system-wide FindFreetypeSylvain Munaut3-110/+5
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-01-25gr-fosphor: Use FindOpenCL from cmake git masterSylvain Munaut3-145/+129
Author: Martin Hauke <mardnh@gmx.de> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-01-25fosphor/cl: Allow to use APIs deprecated in CL >= 1.2Sylvain Munaut1-1/+1
Really this fixes a2d35f201843c10cceddfbb64c6ed58bdeb03a88 ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-01-25fosphor: Don't redefine gettimeofday in mingw buildSylvain Munaut1-1/+1
Thanks to Martin Hauke <mardnh@gmx.de> for reporting Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-01-25fosphor: Use lowercase for WIN32 includesSylvain Munaut3-4/+4
Apparently needed for mingw build and doesn't affect the MSVC ones. Thanks to Martin Hauke <mardnh@gmx.de> for reporting Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-11-21Revert "fosphor/gl_cmap_gen: Add new function to generate GL colormap from a ↵Sylvain Munaut3-95/+2
PNG" This reverts commit 585bac0316983286830f3bc50fce8247bad142f9. This is causing issue with Ubuntu and its lack of libpng 1.6 ... so removed for now. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-10-25gr-fosphor: Add key bindings to the GRC blocks documentation tabSylvain Munaut3-0/+39
Thanks to Chris Kuethe for writing theses :p Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-10-25fosphor/cl: Retry context creation without CL/GL sharing if neededSylvain Munaut1-2/+17
This happens commonly on optimus laptop when CL is Nvidia and the GL is the Intel card. They can't share data ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-10-25fosphor/cl: Don't fail fatally if a platform fails to return devicesSylvain Munaut1-1/+7
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-10-25fosphor/mkresources: Don't generate string longer than 64kSylvain Munaut1-14/+29
Turns out some fucked up compilers (MSVC I'm looking at you) don't support strings that are very long. So in the resource compiler: - Change binary encoding to use a separate declaration and use array rather than string encoding - If a text file is > 64k, use the binary encoding method rather than string Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-10-25gr-fosphor: Make use of proper cmake commands to copy header in binary dirSylvain Munaut1-2/+3
This way it doesn't depend on platform specific 'cp' and 'mkdir' that obviously won't work on WIN32. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-10-25fosphor/gl_cmap_gen: Remove 'inline' qualifiersSylvain Munaut1-3/+3
Theses are not in header, and we don't really care about inlining, and the compiler will most likely do it if it thinks its appropriate anyway. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-10-25fosphor/gl_cmap_gen: Spacing fix in _set_rgba_from_hsvSylvain Munaut1-6/+6
Not sure where this came from ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-10-25fosphor/cl_compat: Fix goofs with calling conventionSylvain Munaut2-5/+5
Doesn't matter on linux/osx because CL_API is nothing, but on Win32, it changes things. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-10-25fosphor/gl_cmap_gen: Add new function to generate GL colormap from a PNGSylvain Munaut3-2/+95
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-10-25fosphor/gl_cmap: Add a return value and void* arg to the generate funcSylvain Munaut5-12/+16
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-10-25fosphor: Fix typo in headers MAXOSX vs MACOSXSylvain Munaut3-4/+4
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-10-25gr-fosphor: Remove shebang from wx_sink_c.pySylvain Munaut1-1/+0
Since this is not actually executable, don't need it and it apparently creates some warning when making RPM packages ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-10-25fosphor/gl: Don't require a glFinish()Sylvain Munaut1-1/+5
Since we always call swap buffer between a call to draw and the next call to process(), we don't need it. In the future, make this an option in case there is some usecase that require it. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-04-02gr-fopshor: Add a MANIFEST for CGRANSylvain Munaut1-0/+28
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-01-20fosphor/cl: Handle invalid (infinite/nan) data better so it recoversSylvain Munaut1-4/+9
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-01-20fosphor/gl: Use the right cmap when drawing the histogram intensity scaleSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-01-20fosphor/cl: Allow to use APIs deprecated in 2.0 without warningsSylvain Munaut1-0/+1
This app is CL 1.1 compatible and so we're forced to use some API that were deprecated in 2.0, no need to be constantly reminded of it Signed-off-by: Sylvain Munaut <tnt@246tNt.com>