Article View: comp.windows.x
Article #38301Re: Having hard time using XGetImage with glDrawPixels in OpenGL
From: Andy Vesper
Date: Mon, 19 May 1997 00:00
Date: Mon, 19 May 1997 00:00
17 lines
1535 bytes
1535 bytes
Shuky Rosinger wrote: > I am having a very hard time drawing pixel data with glDrawPixels onto > an OpenGL scene. I use glDrawPixels with GL_RGB, GL_UNSIGNED_BYTE. The > image is retrieved with XGetImage. > > The resulting image in the OpenGL scene is somehow not synchronized (has > the effect of a TV has bad horizontal sync or vertical sync). Call glXWaitGL before the XGetImage. -- Andy V (A Digital spoke, not a Digital Spokesperson) mailto:andy.vesper@eng.pko.dec.com OpenGL Alpha Geek
Technical Details
Message-ID:
<33804BDE.656F98D0@eng.pko.dec.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<337FFE27.E564C73@numbat.cs.rmit.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f6cac,610edefeb235a8b3 X-Google-Attributes: gidf6cac,public X-Google-Thread: 1667f1,610edefeb235a8b3 X-Google-Attributes: gid1667f1,public X-Google-Thread: 103734,610edefeb235a8b3 X-Google-Attributes: gid103734,public X-Google-Thread: 1082b0,610edefeb235a8b3 X-Google-Attributes: gid1082b0,public X-Google-Thread: f4bda,610edefeb235a8b3 X-Google-Attributes: gidf4bda,public X-Google-Thread: f65bb,610edefeb235a8b3 X-Google-Attributes: gidf65bb,public From: Andy Vesper <andy.vesper@eng.pko.dec.com> Subject: Re: Having hard time using XGetImage with glDrawPixels in OpenGL Date: 1997/05/19 Message-ID: <33804BDE.656F98D0@eng.pko.dec.com> X-Deja-AN: 243725644 References: <337FFE27.E564C73@numbat.cs.rmit.edu.au> To: Shuky Rosinger <rosinger@numbat.cs.rmit.edu.au> Organization: sys$sysdevice:[vesper]/.organization Newsgroups: comp.windows.x,comp.os.linux.x,comp.graphics.api.opengl,comp.windows.x.i386unix,fj.windows.x,de.comp.os.linux.x