Re: Faster rendering to screen



Is there any rather simple way to get the data on-screen
sufficiently fast? Like rearranging the pixbuf data in some
fashion and then dump them out to X with a more low-level
function? What approach do the mplayer people employ (just
curious; I don't need anything THAT fancy!)?

Use a graphics library such as SDL. That will allow you to render (blit) to the screen much faster than anything gtk can do.

SDL should play nicely with gtk. I've seen it done before.

The mplayer people use a hardware overlay, also available with SDL, that allows extrememly fast, completely flicker free drawing to the screen.

Chris Seaton



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]