Re: Backing store issue [message #48132 is a reply to message #47993] |
Mon, 27 March 2006 14:44   |
Jonathan Joseph
Messages: 69 Registered: September 1998
|
Member |
|
|
The code you've given doesn't have the desired effect on the Sun because
it will limit the size of the window it creates to the size of the
screen. So it's not a valid test.
If I give my program a large enough image to open though, I get the same
kind of error you are probably seeing.
% WIDGET_CONTROL: Unable to create X windows pixmap (BadAlloc
(insufficient resources for operation)).
The program then runs, but with no backing store. This is probably what
it should do in the case where I am seeing garbage.
It seems only to be in a grey area inbetween where it will create the
pixmap, but the pixmap will end up with some garbage in it.
I think David has pretty well assessed the situation.
-Jonathan
Karl Schultz wrote:
> On Mon, 27 Mar 2006 16:20:51 -0500, Jonathan Joseph wrote:
>
> What happens if you try:
>
> device, true=24, decomposed=1
> window, xsize=23000, ysize=3000, retain=2
> tv, bindgen(3,23000, 3000), /true
>
> ?
>
> On my linux box with nvidia FX 500, the large window repairs
> automatically, as it should, when I drag it around or drag other things
> on top of it.
>
> If I make the window a LOT larger, say 23000 x 23000, I get a nice error
> from IDL saying that there are not enough resources to allocate a pixmap,
> which is what IDL uses for backing store when RETAIN=2.
>
> It would be interesting to know how the above code behaves on your machine.
>
> Karl
>
>
|
|
|