[SDL] SDL on framebuffer

tony Tong chaffmanus at yahoo.com
Wed Mar 13 05:55:01 PST 2002


Finally ,£Éconfigure the framebuffer ok.But after
several experiments ,I found the speed of yuv overlay
had droped greatly.

the following is my debug output.From it ,you can see,
when I have  no fb support , I get a very fast speed.
but when I compile a new kernel with fb support, the
speed becomes slower.

Morever,on framebuffer console ,the first time I run
my program ,It must get very slow .but the second ,the
third .....,you can  see the speed will get a great
improvement though it is still slower than on xwindow

btw,my video card is nvidia tnt2 

/////////////////
xwindow without framebuffer 
/////////////////
over display size is 352x240
time consume is 605.000000 milliseconds
frame rate is 247.933884 ///the first time run
over display size is 352x240
time consume is 599.000000 milliseconds //second 
frame rate is 250.417362 
over display size is 352x240
time consume is 602.000000 milliseconds//third
frame rate is 249.169435 

/////////////////////
framebuffer console
/////////////////
over display size is 352x240
time consume is 7533.000000 milliseconds
frame rate is 19.912386 ///the first time run
over display size is 352x240
time consume is 1313.000000 milliseconds//2nd
frame rate is 114.242193 
over display size is 352x240
time consume is 1311.000000 milliseconds//3rd
frame rate is 114.416476 





__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/




More information about the SDL mailing list