Re: [Mesa-dev] Mesa + glxPixmaps problems

2010-08-27 Thread Ian Molton
On 26/08/10 21:50, Eric Anholt wrote: On Thu, 26 Aug 2010 16:30:55 +0100, Ian Molton wrote: What we could really use is piglit cases for excercising GLX context handling like this. I've started with a couple and they've been great for catching some issues, but we clearly need

Re: [Mesa-dev] Mesa + glxPixmaps problems

2010-08-27 Thread Ian Molton
On 27/08/10 08:53, Michel Dänzer wrote: Note that it's XGet*Window*Attributes. This call seems totally inappropriate for pixmaps and it might be pure luck if it ever does anything other than fail in that case. Indeed - but there it is... It does in fact work on any X drawable - but not on glxP

[Mesa-dev] Mesa + glxPixmaps problems

2010-08-26 Thread Ian Molton
Hi folks, I've been working on some code that makes extensive use of glxPixmaps for offscreen rendering, and I've hit a number of problems. First, My colleague and I found that the following sequence of events led to a crash: context1 = glXCreateNewContext() xPixmap = XCreatePixmap () glxP