glXMakeCurrentReadSGI

New Message Reply Date view Thread view Subject view Author view

Robert Doyle (doyle++at++overlord.nrl.navy.mil)
Mon, 11 Aug 1997 12:53:28 -0400


Performers:

On an Onyx1 IR (1 RM), Performer 2.1, the use of:
glXMakeCurrentReadSGI(dsp, pw->getWSDrawable(),
pbuffer, pw->getGLCxt); in the draw callback
generates a bad match error ("X Error of failed request:
BadMatch (invalid parameter attributes)"). The function
is used to attach the GLX context to both the pfPipeWindow
and a previously configured pbuffer. The object is to
use glCopyPixels() to copy an image from the pbuffer to
the visible color buffer. No error is generated from
a previous rendering into the pbuffer. This code works
fine on an O2.

In addition, Roger Corron's demo program using pbuffers
as backing store (backingstore.c) generates an
"X Error of failed request: BadAlloc (insufficient
resources for operation) at the glXMakeCurrentReadSGI()
call on an IR but works fine on an O2.

Is there a problem specific to the IR and if so, has
anyone found a workaround?

Thanks,
Bob Doyle
                         

-- 
Robert J. Doyle, Jr.            http://overlord.nrl.navy.mil
Code 5594                   	e-mail: doyle++at++overlord.nrl.navy.mil
Naval Research Laboratory   	phone: 202-767-8395
Washington, DC  20375-5000  	fax: 202-404-7402
=======================================================================
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:43 PDT

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