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

Home » Public Forums » archive » Re: IDL 6.1.1 : how to activate opengl in hardware ?
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: IDL 6.1.1 : how to activate opengl in hardware ? [message #42353 is a reply to message #42348] Fri, 28 January 2005 06:40 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
=?ISO-8859-1?Q?J=E9r=F4me_Boivin?= writes:

> Ok, I think I understand... when you set RETAIN=2 in Widget_Draw(), then
> it desactivate hardware rendering !!! With RETAIN=0, I must control the
> drawing update, but hardware rendering is back ! Is it a bug, or I
> misunderstood what RETAIN keyword means ?

I doubt hardware rendering is deactivated, but having IDL
maintain backing store definitely means that IDL has to
render each scene twice, once to the window and once to
the restoring pixmap. No doubt it would be slower. And,
depending upon how this is implemented, it may even be
much slower.

In the early days, setting RETAIN=2 on an object graphics
window caused an error. These days it is allowed, but still
seems rather pointless, since you carry around the means
to restore the window in your view anyway. No sense carrying
it around twice! As a rule, I always set RETAIN=0 in all
object graphics windows.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How to extract a datarange from a multidimensional array?
Next Topic: voxel_proj and array type

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

Current Time: Sun Oct 12 07:42:47 PDT 2025

Total time taken to generate the page: 0.00190 seconds