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

Home » Public Forums » archive » Re: hardware renderer
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: hardware renderer [message #75570] Thu, 31 March 2011 16:01
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 3/31/11 4:56 PM, Michael Galloy wrote:
> On 3/29/11 3:20 PM, JamesMeteo wrote:
>> I'm running IDL 7.1 on Red Hat Linux on two systems, one local and one
>> remote. The behavior of a scrolling draw window in a program differs
>> between the systems. Is there a way to determine from the IDL- or
>> Linux-command line if it uses a hardware renderer?
>
> 0 for hardware, 1 for software:
>
> IDL> print, pref_get('IDL_GR_X_RENDERER')
> 0
>
> Use 'IDL_GR_WIN_RENDERER' on Windows.
>
> Mike

By the way, you could do something like the following if you actually
want this from the Linux command line:

~$ idl -quiet -e "exit, status=pref_get('IDL_GR_X_RENDERER')"
~$ echo $?
0

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
Re: hardware renderer [message #75571 is a reply to message #75570] Thu, 31 March 2011 15:56 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 3/29/11 3:20 PM, JamesMeteo wrote:
> I'm running IDL 7.1 on Red Hat Linux on two systems, one local and one
> remote. The behavior of a scrolling draw window in a program differs
> between the systems. Is there a way to determine from the IDL- or
> Linux-command line if it uses a hardware renderer?

0 for hardware, 1 for software:

IDL> print, pref_get('IDL_GR_X_RENDERER')
0

Use 'IDL_GR_WIN_RENDERER' on Windows.

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
Re: hardware renderer [message #75572 is a reply to message #75571] Thu, 31 March 2011 15:43 Go to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
On 29 mar, 17:20, JamesMeteo <jim.dr...@gmail.com> wrote:
> I'm running IDL 7.1 on Red Hat Linux on two systems, one local and one
> remote.  The behavior of a scrolling draw window in a program differs
> between the systems.  Is there a way to determine from the IDL- or
> Linux-command line if it uses a hardware renderer?

See the RETAIN keyword for WINDOWS, WIDGET_DRAWS, etc. I have the same
problem on my Linux machine and I always have to specify software
rendering to make things work properly.

I don't know if my answer is what you are looking for...

Cheers,
nata
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: NetCDF tools
Next Topic: Re: read 12 bit array

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

Current Time: Wed Oct 08 15:56:56 PDT 2025

Total time taken to generate the page: 0.04093 seconds