Commit Graph

13 Commits

Author SHA1 Message Date
Sylvain Munaut dbe239380f gr-fosphor: Improve cleanup path of the worker thread in case of init fail
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-05-22 22:34:22 +02:00
Sylvain Munaut 8c9d6a2152 gr-fosphor: Disable the color scale for the main view when zoomed
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-01-19 14:16:25 +01:00
Sylvain Munaut e2ce8e9a5c gr-fosphor: Prevent multiple thread from initializing fosphor in parallell
Although in theory there is nothing wrong with this and fosphor itself
should support it. However it seems some OpenCL implementation don't
really like having multiple context created in parallell, so we prevent
this manually here.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-08-25 21:20:32 +02:00
Sylvain Munaut 5ca19a2667 gr-fosphor: Update year in copyright notice
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-07-24 22:34:05 +02:00
Sylvain Munaut 2140ef7bb1 gr-fosphor: Add 'SPACE' as a 'freeze' control to pause the processing
In background samples are just discarded.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-07-22 10:16:39 +02:00
Sylvain Munaut 351af1f7e5 gr-fosphor: Update to fosphor new 'render options' model and add zoom
Note that the d_zoom_* vars are kept as double to avoid error build-up
when changing them a lot from the UI.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-07-22 10:16:39 +02:00
Sylvain Munaut 3dd8d53490 gr-fosphor: Introduce a new glctx_update call back to refresh context
This is required for OSX where you need to tell the GL context when resize
has occured and stuff like that.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-01-12 11:01:38 +01:00
Sylvain Munaut fd3d6cf77d gr-fosphor: Allow to select custom FFT window from the gr::fft:window list
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-11-10 22:24:07 +01:00
Sylvain Munaut 6d9396f686 gr-fosphor: Add frequency range (center/span) awareness
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-11-10 22:24:07 +01:00
Sylvain Munaut ba6024ee5f gr-fosphor: Setup a mechanism to apply settings in the processing thread
The setters can be called from any thrad and will just set the
member variables and a flag asking the main processing thread to apply
the new settings on the next iteration.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-11-10 22:24:07 +01:00
Sylvain Munaut a2318a5994 gr-fosphor: Use the new fosphor_set_power_range call
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-11-10 22:24:06 +01:00
Sylvain Munaut 0ea1177108 gr-fosphor: Submit data for processing in adaptative batch sizes
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-11-04 22:24:22 +01:00
Sylvain Munaut b056fcc1a8 gr-fosphor: Split block into base function and UI specific part
It's split into:

 - A generic "base" sink that handles pretty much everything except
   managing a GL context and getting the UI interaction for it
 - The GLFW specific part

This is preparation for for WX and QT widget implementations of a
fosphor sink.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-10-26 21:05:08 +02:00