mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 23:46:43 +00:00
dc8008a9b9
Original commit message from CVS: A few ideas looking for feedback
20 lines
784 B
Text
20 lines
784 B
Text
# OpenGL usage
|
|
How to set up openGL using plugins in such a way that they can
|
|
render to an on-screen window, or offscreen equally?
|
|
|
|
eg:
|
|
superfoo3d ! glwindow
|
|
or
|
|
superfoo3d ! gloffscreen ! xvideowindow
|
|
|
|
This would imply that there is some mime type which connects a glwindow/gloffscreen and a GL using component sensibly. I don't see that there is any actual
|
|
data to send, however - the only purpose of the glwindow/gloffscreen is to
|
|
set up an openGL context and then 'output' it somehow one the superfoo3d has
|
|
finished drawing each frame.
|
|
|
|
In the case of glwindow, 'output' it means translate into an on-screen window,
|
|
but for gloffscreen it means produce a video packet and go.
|
|
|
|
These components really need some other 2 way communication, rather than the
|
|
pads metaphor, I think?
|
|
|