Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] expose compression

Hi,

When trying to use the Motif port, I'm noticing that the major
usability problem I'm encountering is the lack of expose
compression. For example, if I drag another window across the Eclipse
window, it will generate a stream of expose events (the "trailing"
effect) and Eclipse will take a noticeable amount of time to catch up.
Same thing happens on window resize.

GTK 1.2 improves this by collapsing sequential expose events into a
single event. A comment in the GTK 1.2 source says that our code is
based on XtExposeCompressMultiple, this appears to be a per-widget
option in Xt (compress_exposure field in core_class). I have no idea
which widgets use the option.

GTK 2.0 has a much more comprehensive solution to this problem, which
I believe is similar to the win32 solution; it maintains a "damage
region" and sends a single expose for the damaged region when the GUI
goes idle.

Is there an open bug on this? Has anyone investigated what's
happening? (Do the Motif widgets being used just not turn on
ExposeCompressMultiple, or does an SWT interaction break that trick?)

Havoc


Back to the top