Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Explicit disabling of double buffering on Composite (GTK2)

(see http://bugs.eclipse.org/bugs/show_bug.cgi?id=22222 for more details
on this, posting here because I didn't get a response to the question
posed in the bug)

Removing the "OS.gtk_widget_set_double_buffered(handle, false);"
line from Composite.java in the GTK2 SWT has the following effects:

1) titlebar gradients drawn in one pass rather than gradually (reducing
flicker)
2) fixes this bug (i.e. fonts don't end up getting garbled on mouse
overs)
3) I think I'm seeing improvements in other widget's flashing too, but
its harder to tell

I'm curious to learn why this code was added?

-Seth



Back to the top