Skip to content

Use GtkGLArea for OpenGL Spectrum Analyzer plugin #1546

@radioactiveman

Description

@radioactiveman

Description

Porting the glspectrum plugin to use GtkGLArea (available since GTK 3.16) would be beneficial for two reasons:

  • No need of different code for X11 and Windows as GTK would take care of it internally
  • Wayland support, the current code for Linux requires X11/XWayland explicitly

As my OpenGL knowledge is not good enough to port this plugin myself, I file this here as enhancement. Patches are welcome. 🙂

Additional information

  1. https://docs.gtk.org/gtk3/class.GLArea.html
  2. https://www.bassi.io/articles/2015/02/17/using-opengl-with-gtk/
  3. https://github.com/ebassi/glarea-example
  4. https://stackoverflow.com/questions/69201843/how-do-you-do-3d-rendering-in-gtk-using-opengl

CC: @CBke, @carlo-bramini as you have been contributors for this plugin

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions