-
Notifications
You must be signed in to change notification settings - Fork 4
fbo rendering #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
fbo rendering #12
Conversation
I was able to test this successfully on Debian12 with Nvidia drivers in X11 with DWM window manager. |
Getting this compile warning with
|
Getting a crash while exiting Sending SIGTERM (15) instead of CTRL-C / SIGINT (2) I do not get a crash. I'm not confident this is a bug that needs fixing at the moment. Maybe we turn this into an issue for long term fixing? |
turned out there was a memory error. I have back-ported a fix for it from gst. |
That's some api weirdness, basically storing an int value (OpenGL texture id) in a pointer var. But that's what's needed.. |
Use projectm_opengl_render_frame_fbo() to render ProjectM to an OpenGL texture. Removes direct OpenGL buffer access and avoids copying of GPU memory to main memory if not needed.
gstaudiovisualizer is not suitable as a basis for the plugin anymore. It's hard-coded to use main memory, cpu based transition shaders, and does not expose timestamps to synchronize projectm. gstpmaudiovisualizer is added to support customized memory allocation and expose timestamps.
Rendering test video: https://www.youtube.com/watch?v=kl3nVd-iug8