comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Backing store issue
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Backing store issue [message #47993] Mon, 27 March 2006 10:56 Go to previous message
Jonathan Joseph is currently offline  Jonathan Joseph
Messages: 69
Registered: September 1998
Member
I'm running IDL 6.2 on a SUN Blade 2000 running Solaris 8.0

I'm having a weird backing store problem. I have an application in
which I sometimes display very large images (eg 23123 x 3193 pixels).

What I do is create a scrolled draw widget of the same size as the image
and tv the image into that window. Then, I get to scroll around the
image very rapidly without having to issue any commands to redraw the
parts that become visible. It seems this should work fine as long as
the video card has enough memory.

However, the behavoir I am seeing seems as though IDL thinks the video
card has enough memory to handle the requests, when it really doesn't.
Is there any way to check for this?

By default, I use RETAIN=2, so that IDL is doing the redrawing for me
rather than the window manager (as this is usually less prone to problems).

I sometimes issue an explicit redraw command to redraw the entire image,
when I have changed the stretch limits or something other display
property of the image.

Under a certain size image, everything works fine. Unfortunately, when
the images get to be larger than a certain size, the redrawing on
scrolling often gives me garbage. There's got to be some tie-in with
the graphics card, but I think there may also be a tie-in with IDL,
since I'm using RETAIN=2.

Symptoms:

RETAIN=0, initial visible portion draws correctly, scrolling just shows
black everywhere else. If I scroll back to a place that was drawn fine
before, it will be black. Doing an explicit redraw will redraw the
visible portion. All this is as expected since I am not generating
expose events.

RETAIN=1, initial visible portion draws correctly, scrolling shows
black everywhere else. If I scroll back to a place that was drawn fine
before, it will still look fine. Doing an explicit redraw will redraw
the currently visible portion. Any portion that was visible during any
redraw operation seems to stick around in the backing store, everywhere
else is black.

RETAIN=2, initial visible portion looks like garbage. Scrolling
usually shows garbage. If you scroll slowly enough vertically (either
up or down), the part of the image that scrolls into view will look OK.
Scrolling horizontally will produce garbage regardless of the
scrolling speed.

If I am running on the SUN, but displaying on my Windows laptop,
everything works fine regardless of image size.

vedeo card on SUN Workstation: Sun XVR-1200
video card on my Windows box: NVIDIA GeForce4 4200 Go (Dell Mobile)

Any advice on how to figure out what's going on appreciated.

Thanks.

-Jonathan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: problem using p.multi in IDL 5.3/IRIX
Next Topic: Removing repeating array values

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:19:46 PDT 2025

Total time taken to generate the page: 0.00415 seconds