Re: Need sample program or tutorial

2009-05-15 Thread Enno Fennema
Fixed my problem. I was totally wrongfooted by the GLX 1.4 prescription 3.3.4 On Screen Rendering To create an onscreen rendering area, first create an X Window with a visual that corresponds to the desired GLXFBConfig, then call GLXWindow glXCreateWindow(Display *dpy, GLXFBConfig c

Re: Need sample program or tutorial

2009-05-14 Thread Enno Fennema
Just to add to my mail of a few minutes ago. I had a look at the GLX 1.4 manual and glXMakeCurrent should never return a BadValue error. I am even more foxed Enno -- The NEW KODAK i700 Series Scanners deliver under

Re: Need sample program or tutorial

2009-05-14 Thread Enno Fennema
Michel Dänzer wrote: > It depends on the arguments to glXMakeCurrent. E.g. if the drawable is a > pixmap, that isn't supported without DRI2. > Good to get on a sidetrack again. You are right. XF86 does appear not to support rendering to GLXPixmaps with a direct context. But I was using an GLXWin

Re: Need sample program or tutorial

2009-05-14 Thread Michel Dänzer
On Thu, 2009-05-14 at 10:35 +0200, Enno Fennema wrote: > > Now, if I may, back to my immediate problem. It might have been a good idea to start with that in the first place. :) > I have a program that runs perfectly when passing False as 4th > argument to glXCreateContext. glXIsDirect confirms I

Re: Need sample program or tutorial

2009-05-14 Thread Enno Fennema
Bridgman, John wrote: > My understanding was that XF86DRIQueryDirectRenderingCapable just asked > the X server if *it* was able to support direct rendering on a > particular screen, didn't tell you anything about whether the right 3D > driver existed or was installed correctly. That would explain

RE: Need sample program or tutorial

2009-05-13 Thread Bridgman, John
Original Message- From: Enno Fennema [mailto:[email protected]] Sent: Wednesday, May 13, 2009 3:57 PM To: Jerome Glisse; Bridgman, John Cc: [email protected] Subject: Re: Need sample program or tutorial Jerome Glisse wrote: ... > Why do you want to use XF86DRIQueryDirectRe

Re: Need sample program or tutorial

2009-05-13 Thread Corbin Simpson
Enno Fennema wrote: > My longer term aim is to understand what my Radeon SE9200 can and cannot > do. Mesa is so clever that it hides by software when hardware is > deficient. I think that only by getting access to the the drm kernel > driver can I start exploring the hardware. The DRM only exposes

Re: Need sample program or tutorial

2009-05-13 Thread Enno Fennema
Jerome Glisse wrote: ... > Why do you want to use XF86DRIQueryDirectRenderingCapable ? I only called XF86...Capable to confirm that the software recognized my video card as *capable* of direct rendering. > glXIsDirect tells you what you want to know ie if it's direct > or not. Correct, glXDirect t

RE: Need sample program or tutorial

2009-05-13 Thread Bridgman, John
Need sample program or tutorial On Wed, 2009-05-13 at 10:00 +0200, Enno Fennema wrote: > In the absence of much activity on the user list I come for assistance > here, > > I fail miserably in my first attempt to write a direct rendering client. > I think DRI is properly instal

Re: Need sample program or tutorial

2009-05-13 Thread Jerome Glisse
On Wed, 2009-05-13 at 10:00 +0200, Enno Fennema wrote: > In the absence of much activity on the user list I come for assistance > here, > > I fail miserably in my first attempt to write a direct rendering client. > I think DRI is properly installed on my system, at least glxinfo > confirms Direct

Need sample program or tutorial

2009-05-13 Thread Enno Fennema
In the absence of much activity on the user list I come for assistance here, I fail miserably in my first attempt to write a direct rendering client. I think DRI is properly installed on my system, at least glxinfo confirms Direct rendering: Yes. As a first step I just want to draw a trangle in a