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

Home » Public Forums » archive » Re: Speedup in Object Graphics
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Speedup in Object Graphics [message #29753] Mon, 18 March 2002 14:00 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"Pavel A. Romashkin" <pavel_romashkin@hotmail.com> wrote in message
news:3C962091.F7A5C1B1@hotmail.com...
> lyubo wrote:
>>
>> What are the general ways to speed up a program using Object
>> Graphics ?
>
> Get a faster video card, maybe? They are about $60 now.

I second that. Other possibilities: reduce complexity of your graphics
tree; avoid having large numbers of separate objects; reduce
dimensions of your destination object; reduce dimensions and colour
depth of your screen; experiment with alternative representations
(IDLgrImage vs IDLgrSurface to represent a coloured surface, etc).

>> When I run a profiler report I can see that I have to speed up the
>> WIDGET_PROCESS_EVENTS but I have no idea how to do that.
>
> Do you have a huge, nested widget tree? Then it is not really the OG
> problem, it is the tons of events that slow it down.

Maybe. Or perhaps the graphics tree is being redrawn inside a widget
event handler.

In my experience a widget tree has to get quite complicated before it
takes as long to refresh as it does to redraw a simple graphic.

I think you (lyubo) will have to tell us more about what you are doing
before we can help more.

--
Mark Hadfield
m.hadfield@niwa.co.nz Ka puwaha et tai nei
http://katipo.niwa.co.nz/~hadfield Hoea tatou
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Any update on OS X
Next Topic: reading unformatted data into a structure

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

Current Time: Sat Oct 11 01:32:51 PDT 2025

Total time taken to generate the page: 0.15906 seconds