| Hmm. Usually the complaint is with a color system. Why do you suspect the
plane mask? If the customer is always using the default, then it should not be
a problem.
However, what s/he *should* be doing is:
In the gc, function to XOR and set the plane mask and the foreground to
(actual foreground ^ background (i.e. xor them).
This is assuming that there are only two colors on the entire window. With real
color it is much harder.
But in any case, with an MFB system, the plane mask should not make any
difference, since there is only one plane to begin with, so I don't understand
why there are big performance differences.
Any chance the customer is doing this on an Ultrix system with backing store?
In that case, if the application is asking for backing store, and b.s. has been
activated, the server will be double-drawing, cutting the speed in half.
Burns
|
| What types of graphics are they trying to display during
rubber banding...zero-width-lines, non-zero-width-lines, arcs?
If they are drawing non-zero-width is it possible that
they can display them with zero-width while rubberbanding?
Zero-width is much faster.
I think the reason why you are seeing a difference in performance
on monochrome vs. color is that in XOR mode items are first drawn
to a pixmap. The pixmap is then used as a stencil to display the
image in the window. On systems such as GPX the copy of the pixmap to
the window is supported in the hardware. On a monochrome system
it is not supported in the hardware so each scan-line of the
pixmap must be traversed to see if it has any data to be displayed
in the window - which is slower.
-AnnMarie
|
|
RE .0
Didn't really think that plane mask would change anything, but I usually
set in and the customer didn't... so it was worth a try. But it didn't
make any difference.
RE ALL
The hardware is a VaxStation 2000 B&W with 6meg and a VaxStation 3100
with 8-10m. Both exibit this behaviour. Nothing is being drawn except
your basic zero width line (actually no changes to the line width or
style of the GC) and nothing else graphically, just a "little old
rubber band"
I find this quite interesting. Any further help would be greatly
appreciated.
thanks, Christopher
|