Commit Graph

9 Commits

Author SHA1 Message Date
Sylvain Munaut 26f06ef630 gr-fosphor: Update all copyright notices headers
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2021-01-08 17:29:58 +01:00
Sylvain Munaut defdd4aca6 gr-fosphor: Set default visibility to false
We're hidden by default.

For Qt we'll get an expose event the first time we're shown.
Needed because we might be hidden by default (like in a tab
chooser) and this would create problems if we consider ourselves
shown by default.

And for GLFW we consider ourself visible after the first reshape,
which is forced at init.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-01-31 23:46:54 +01:00
Sylvain Munaut 6f3a8de592 gr-fosphor: Add 'freq' message port sending the frequency a user clicked
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-01-31 23:46:54 +01: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 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
Sylvain Munaut 062040ae70 gr-fosphor: Move to the _impl paradigm
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-10-26 21:03:03 +02:00