Re: glxPixmap Rendering via Performer

New Message Reply Date view Thread view Subject view Author view

Rob Jenkins (robj++at++quid)
Tue, 8 Apr 1997 22:05:58 -0700


Bob

There was a bug with rendering to GLXpixmaps on iR ( and I think RE2 ), it's
fixed in the next OS release but that doesn't help you right now. If you think
it's something you'd really like to use then we could see about trying to get
the fix into a patch before that ( I don't know a date for the next release ).
The pbuffer spec says that 'GLX pixel buffers must work with both direct and
indirect rendering contexts' so it may be that you could use a pbuffer for
offscreen rendering but ask for an indirect context - no matter how much it
goes against the grain :-) I guess one advantage would be that if you can later
free up some HW draw time you could just change the code to ask for a direct
context. Two things I'm not clear on though:

1) The bug I mentioned may be with indirect contexts in general so may bite
indirect pbuffers ( as well as pixmaps ).

2) Exactly how much overhead would be involved in having an indirect context, I
can imagine it may still cost you some HW draw time, even if it's just having
the pipe waiting for the results of your offscreen render.

It may be more worthwhile to try and tune the HW draw you have if at all
possible and just implement any offscreen rendering with direct pbuffers.

Cheers
Rob

On Apr 8, 3:43pm, 'Bwana' Bob Buckley wrote:
> Subject: glxPixmap Rendering via Performer
>
> We have an application that is short on hardware draw time and long
> on CPU time. Hence, we'd like to render to a glxPixmap, or Performer
> equivalent (if it exists). Has anyone been successful in this type
> of implementation? Are there any hooks in Performer to help out on
> non-hardware rendering? (Man, what a bad thing to say!)
>
> Thanks.
>
> ========================================================================
> 'Bwana' Bob Buckley | | Hughes Training, Inc.
> Visual Engineering | "Let the good times | P.O. Box 6171, M.S. 402
> (817) 619-8727 | 'Snap' Roll" | Arlington, TX 76005
> bwana++at++MrEd.bgm.link.com | | (817) 619-2000
> ========================================================================
>
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from 'Bwana' Bob Buckley

-- 
________________________________________________________________
Rob Jenkins mailto:robj++at++csd.sgi.com
Silicon Graphics, Mtn View, California, USA
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:02 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.