Re: GL_CLAMP on D3D-only hardware

2007-08-13 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Scheidegger wrote: Indeed this show up every once in a while. A driconf option might be a good idea, but it doesn't solve the problem really for the hardware which indeed does support GL_CLAMP, unless you'd also introduce an option to

Re: GL_CLAMP on D3D-only hardware

2007-08-13 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Keith Packard wrote: Neither the i830 nor 965gm actually support GL_CLAMP natively (yay for d3d-only hardware). The different appearance is caused by the 965 driver mapping GL_CLAMP to GL_CLAMP_TO_BORDER while the i830 maps it to GL_CLAMP_TO_EDGE.

Re: GL_CLAMP on D3D-only hardware

2007-08-12 Thread Roland Scheidegger
Alex Jackson wrote: Neither the i830 nor 965gm actually support GL_CLAMP natively (yay for d3d-only hardware). The different appearance is caused by the 965 driver mapping GL_CLAMP to GL_CLAMP_TO_BORDER while the i830 maps it to GL_CLAMP_TO_EDGE. The 965 driver has a comment saying that

[Fwd: Re: GL_CLAMP on D3D-only hardware]

2007-08-12 Thread James C Georgas
Forwarded Message From: James C Georgas [EMAIL PROTECTED] To: Roland Scheidegger [EMAIL PROTECTED] Subject: Re: GL_CLAMP on D3D-only hardware Date: Sun, 12 Aug 2007 12:30:51 -0400 On Sun, 2007-12-08 at 12:42 +0200, Roland Scheidegger wrote: Alex Jackson wrote: Neither

Re: [Fwd: Re: GL_CLAMP on D3D-only hardware]

2007-08-12 Thread Roland Scheidegger
James C Georgas wrote: Forwarded Message From: James C Georgas [EMAIL PROTECTED] To: Roland Scheidegger [EMAIL PROTECTED] Subject: Re: GL_CLAMP on D3D-only hardware Date: Sun, 12 Aug 2007 12:30:51 -0400 On Sun, 2007-12-08 at 12:42 +0200, Roland Scheidegger wrote: Alex

Re: [Fwd: Re: GL_CLAMP on D3D-only hardware]

2007-08-12 Thread James C Georgas
On Sun, 2007-12-08 at 19:09 +0200, Roland Scheidegger wrote: Yes, though it still requires user interaction to switch the behaviour - and few people actually seem to know about driconf, distros don't install it by default etc :-(. I don't think there were really any arguments against it,

Re: GL_CLAMP on D3D-only hardware

2007-08-12 Thread James C Georgas
On Sun, 2007-12-08 at 14:43 -0400, James C Georgas wrote: As an aside, I'm looking at the 1.4 programming guide (4th ed.), on page 418, section Repeating and Clamping Textures, where it describes the tiling effects. I read it like this: GL_NEAREST == GL_CLAMP = GL_CLAMP_TO_EDGE GL_LINEAR

Re: [Fwd: Re: GL_CLAMP on D3D-only hardware]

2007-08-12 Thread Roland Scheidegger
James C Georgas wrote: On Sun, 2007-12-08 at 19:09 +0200, Roland Scheidegger wrote: Yes, though it still requires user interaction to switch the behaviour - and few people actually seem to know about driconf, distros don't install it by default etc :-(. I don't think there were really any

GL_CLAMP on D3D-only hardware

2007-08-11 Thread Keith Packard
So, I was playing 'foobillard' today and noticed that the table was drawn differently on my 965gm laptop compared with the i830 laptop sitting next to it. The difference is generated from a texture: glGenTextures(1,tabletexbind);

RE: GL_CLAMP on D3D-only hardware

2007-08-11 Thread Alex Jackson
Neither the i830 nor 965gm actually support GL_CLAMP natively (yay for d3d-only hardware). The different appearance is caused by the 965 driver mapping GL_CLAMP to GL_CLAMP_TO_BORDER while the i830 maps it to GL_CLAMP_TO_EDGE. The 965 driver has a comment saying that glconform prefers