[Lcdproc] render_screen

Eric Pooch epooch@cox.net
Fri Feb 2 08:30:03 2007


Maybe somebody could explain this to me.

render_screen() is called the main loop on line 862 of /lcdproc/ 
server/main.c

in the render_screen function on line 74 of /lcdproc/server/render.c  
is a call to drivers_clear ();

As a result, the buffers are cleared immediately before any screen  
updates are rendered. This makes the framebuffers and backing store  
useless.
I can see that this is happening when I turn full debugging and  
reporting on. It is clearing the buffers and then needs to redraw the  
whole screen on EVERY update.

The documentation seems to indicate that this is a bug in the main  
server.  According to the docs, the drivers are supposed to clear the  
buffers when the clear function is called, so why is the server  
calling it constantly?

Thanks for any help or explanation.
--Eric