Re: [Mesa-dev] Truncated extensions string

2011-03-15 Thread Chad Versace
I'm in favor of storing the year in the table, per Ken's suggestion. This patch looks good to me. -- Chad Versace c...@chad-versace.us ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] Truncated extensions string

2011-03-15 Thread José Fonseca
On Tue, 2011-03-15 at 13:26 -0700, Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 03/15/2011 08:29 AM, José Fonseca wrote: > > Attached is a new version of the patch that keeps the extensions sorted > > alphabetically in the source code, and sorts chronologically in r

Re: [Mesa-dev] Truncated extensions string

2011-03-15 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/15/2011 08:29 AM, José Fonseca wrote: > Attached is a new version of the patch that keeps the extensions sorted > alphabetically in the source code, and sorts chronologically in runtime. > (Note the patch doesn't apply against the tip of master,

Re: [Mesa-dev] Truncated extensions string

2011-03-15 Thread Brian Paul
On 03/15/2011 09:29 AM, José Fonseca wrote: On Fri, 2011-03-11 at 15:41 -0800, Brian Paul wrote: On Fri, Mar 11, 2011 at 2:23 PM, Patrick Baggett wrote: I feel like there is some kind of underlying lesson that we, OpenGL app programmers, should be getting out of this... Yeah, don't expect t

Re: [Mesa-dev] Truncated extensions string

2011-03-15 Thread José Fonseca
On Sat, 2011-03-12 at 01:22 -0800, Kenneth Graunke wrote: > On Friday, March 11, 2011 01:23:12 PM Patrick Baggett wrote: > > I feel like there is some kind of underlying lesson that we, OpenGL app > > programmers, should be getting out of this... > > Yes. Don't blindly copy abitrary amounts of da

Re: [Mesa-dev] Truncated extensions string

2011-03-12 Thread Kenneth Graunke
On Friday, March 11, 2011 01:23:12 PM Patrick Baggett wrote: > I feel like there is some kind of underlying lesson that we, OpenGL app > programmers, should be getting out of this... Yes. Don't blindly copy abitrary amounts of data into a fixed size buffer. :) I hate to be trite, but that -is-

Re: [Mesa-dev] Truncated extensions string

2011-03-11 Thread Chris Bandy
On 03/11/2011 02:14 PM, Kenneth Graunke wrote: > On Friday, March 11, 2011 10:46:31 AM José Fonseca wrote: >> On Fri, 2011-03-11 at 09:04 -0800, Eric Anholt wrote: >>> On Fri, 11 Mar 2011 10:33:13 +, José Fonseca > wrote: The problem from http://www.mail-archive.com/mesa3d-dev@

Re: [Mesa-dev] Truncated extensions string

2011-03-11 Thread Brian Paul
On Fri, Mar 11, 2011 at 2:23 PM, Patrick Baggett wrote: > I feel like there is some kind of underlying lesson that we, OpenGL app > programmers, should be getting out of this... Yeah, don't expect the GL_EXTENSIONS string to always fit in your fixed-size buffer. :) BTW, OpenGL 3.0 deprecates the

Re: [Mesa-dev] Truncated extensions string

2011-03-11 Thread Patrick Baggett
I feel like there is some kind of underlying lesson that we, OpenGL app programmers, should be getting out of this... What about a psuedo-database of app -> extension list rather than by year? Surely Quake3 doesn't make use of but <= 10 extensions. I'd imagine the same holds true for other old gam

Re: [Mesa-dev] Truncated extensions string

2011-03-11 Thread Kenneth Graunke
On Friday, March 11, 2011 10:46:31 AM José Fonseca wrote: > On Fri, 2011-03-11 at 09:04 -0800, Eric Anholt wrote: > > On Fri, 11 Mar 2011 10:33:13 +, José Fonseca wrote: > > > The problem from > > > > > > http://www.mail-archive.com/mesa3d-dev@lists.sourceforge.net/msg12493.h > > > tml > > >

Re: [Mesa-dev] Truncated extensions string

2011-03-11 Thread José Fonseca
On Fri, 2011-03-11 at 09:04 -0800, Eric Anholt wrote: > On Fri, 11 Mar 2011 10:33:13 +, José Fonseca wrote: > > The problem from > > > > http://www.mail-archive.com/mesa3d-dev@lists.sourceforge.net/msg12493.html > > > > is back, and now a bit worse -- it causes Quake3 arena demo to crash (

Re: [Mesa-dev] Truncated extensions string

2011-03-11 Thread Eric Anholt
On Fri, 11 Mar 2011 10:33:13 +, José Fonseca wrote: > The problem from > > http://www.mail-archive.com/mesa3d-dev@lists.sourceforge.net/msg12493.html > > is back, and now a bit worse -- it causes Quake3 arena demo to crash (at > least the windows version). The full version works fine. I'm n

[Mesa-dev] Truncated extensions string

2011-03-11 Thread José Fonseca
The problem from http://www.mail-archive.com/mesa3d-dev@lists.sourceforge.net/msg12493.html is back, and now a bit worse -- it causes Quake3 arena demo to crash (at least the windows version). The full version works fine. I'm not sure what other applications are hit by this. See the above thread