On Thu, Apr 10, 2008 at 09:27:06AM -0400, Jorge Arellano Cid wrote:
Hi,
On Sat, Apr 05, 2008 at 10:42:43PM +0200, Johannes Hofmann wrote:
Hi,
my first patch broke test programs in dw2/test/ (as they don't use clear_double_buffer() as dillo-fltk does). Corrected patch attached.
Committed!
Great flicker reduction was noticed in my fast computer. I'm yet to test in the slow one.
It has been a long struggle against flickering and I can only feel happy, and grateful, that this is finally ironed out.
[corvid wrote:] With clear_double_buffer(), I hit page down on an already-loaded page. It takes four seconds to draw the screen of text (well, and then it performs a redraw for another three or four seconds). If I comment out clear_double_buffer(), it takes no perceived time.
Some days ago (and before) I've tested dillo2 without Johannes' patch, in a Thinkpad 380Z, and also with a 385XD. Both render antialiased fonts much faster than you describe.
[Johannes wrote:] There is two things I don't understand. First, antialiased fonts seem to be extremely slow on your system. What about the test programs from fltk, are they usable? Or other programs that use antialiased fonts?
Second, commenting out clear_double_buffer() seems to make it faster - not just reducing flicker.
Considering the rendering speed in my old laptops, and what place describes, I guess drawing is taking different function paths in FLTK depending on double-buffering and the detected capabilities of X (something similar to what happens when using the VESA path instead of the native mode with some video cards).
Antialiased fonts are extremely slow on his system, and that looks like something fishy is going on.
That's what I think now as well. 4s per page is very slow. I almost finished to reinstall my old Extensa 367T which has a 200Mhz Pentium and a Neomagic graphics card. It should be pretty comparable to the thinkpad 380XD. Cheers, Johannes