[SDL] Real-time Video Overlay
Solra Bizna
sbizna at tejat.net
Mon Feb 18 12:13:17 PST 2008
On Mon, Feb 18, 2008 at 8:38 AM, Jonathan Haws
<Jonathan.Haws at sdl.usu.edu> wrote:
> Since you mention the GPU I have another, related question. I was intending on using
> the GPU to handle most of the processing. The idea was that the GPU would hold the
> frame in memory and I would send my overlay to it. At that point the GPU would mix the
> overlay and the frame and output it to the LCD. Is that viable? I would think that method
> would give the lowest latency. Also, I wouldn't even have to have it overlay every frame -
> even just every other or every third. Anyway, if I did that would SDL still work like that or
> would I be on my own?
This is viable, but you should use OpenGL or DirectX for it. SDL
doesn't accelerate enough of the pipeline consistently enough for
this.
-:sigma.SB
More information about the SDL
mailing list