Re: O2 pixel fill rates

New Message Reply Date view Thread view Subject view Author view

Ho Eng Keong (eng40009++at++leonis.nus.edu.sg)
Thu, 5 Feb 1998 16:37:23 +0800 (SST)


Hi,

I have a question regarding PFTEX_SUBLOAD_FORMAT

I have a set of 2D textures which are stacked together to simulate
the so-called 3D texturing. As i want to apply changes to the textures,
thus I tried to subload only the changed part into the hardware without
reformatting the textures. Below is my code:

void subload() {

   ViewState->subtex = new pfTexture;
   ViewState->subtex = ViewState->voltex;

   //voltex is the initial texture on which changes are to be made

   ViewState->voltex->setFormat(PFTEX_SUBLOAD_FORMAT, PF_ON);

...

However, every time the program reaches ViewState->subtex->setFormat, it
crashes with :

X Error of failed request: BadLength (poly request too large or internal
Xlib length error)
  Major opcode of failed request: 140 (GLX)
  Minor opcode of failed request: 1 (X_GLXRender)
  Serial number of failed request: 279
  Current serial number in output stream: 280

So what did I do wrong?

=======================================================================
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:56:44 PDT

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