Re: [Mesa3d-dev] [Mesa3d-cvs] CVS Update: Mesa (branch: trunk)

2006-09-21 Thread Keith Whitwell
Michel Dänzer wrote: On Wed, 2006-09-20 at 18:56 +, Keith Whitwell wrote: CVSROOT: /cvs/mesa Module name: Mesa Repository: Mesa/src/mesa/main/ Changes by: [EMAIL PROTECTED] 06/09/20 18:56:19 Log message: Support both big and little endian, more source types and more

Re: [Mesa3d-dev] [Mesa3d-cvs] CVS Update: Mesa (branch: trunk)

2006-09-21 Thread Keith Whitwell
Michel Dänzer wrote: On Wed, 2006-09-20 at 18:56 +, Keith Whitwell wrote: CVSROOT: /cvs/mesa Module name: Mesa Repository: Mesa/src/mesa/main/ Changes by: [EMAIL PROTECTED] 06/09/20 18:56:19 Log message: Support both big and little endian, more source types and more

Re: [Mesa3d-dev] [Mesa3d-cvs] CVS Update: Mesa (branch: trunk)

2006-09-21 Thread Michel Dänzer
On Thu, 2006-09-21 at 12:58 +0100, Keith Whitwell wrote: Michel Dänzer wrote: On Wed, 2006-09-20 at 18:56 +, Keith Whitwell wrote: Log message: Support both big and little endian, more source types and more destination formats through the swizzle path. It would be great to

Re: [Mesa3d-dev] [Mesa3d-cvs] CVS Update: Mesa (branch: trunk)

2006-09-21 Thread Keith Whitwell
Michel Dänzer wrote: On Thu, 2006-09-21 at 12:58 +0100, Keith Whitwell wrote: Michel Dänzer wrote: On Wed, 2006-09-20 at 18:56 +, Keith Whitwell wrote: Log message:Support both big and little endian, more source types and moredestination formats through the swizzle path. It

[Mesa3d-dev] MESA_BIG_ENDIAN MESA_LITTLE_ENDIAN

2006-09-21 Thread Jerome Glisse
Hi, Roland pointed me to this yesterday (src/mesa/main/glheader.h): /* * Either define MESA_BIG_ENDIAN or MESA_LITTLE_ENDIAN. * Do not use them unless absolutely necessary! * Try to use a runtime test instead. * For now, only used by some DRI hardware drivers for color/texel packing. */ So

Re: [Mesa3d-dev] [Mesa3d-cvs] CVS Update: Mesa (branch: trunk)

2006-09-21 Thread Keith Whitwell
Michel Dänzer wrote: On Thu, 2006-09-21 at 12:58 +0100, Keith Whitwell wrote: Michel Dänzer wrote: On Wed, 2006-09-20 at 18:56 +, Keith Whitwell wrote: Log message:Support both big and little endian, more source types and moredestination formats through the swizzle path. It

Re: [Mesa3d-dev] [Mesa3d-cvs] CVS Update: Mesa (branch: trunk)

2006-09-21 Thread Keith Whitwell
Keith Whitwell wrote: Michel Dänzer wrote: On Thu, 2006-09-21 at 12:58 +0100, Keith Whitwell wrote: Michel Dänzer wrote: On Wed, 2006-09-20 at 18:56 +, Keith Whitwell wrote: Log message:Support both big and little endian, more source types and moredestination formats through

Re: [Mesa3d-dev] [Mesa3d-cvs] CVS Update: Mesa (branch: trunk)

2006-09-21 Thread Michał Król
On 21/09/06, Keith Whitwell [EMAIL PROTECTED] wrote: If anyone knows why these emails are turning out all screwed up and missing the newlines, please let me know. I'm just using thunderbird on ubuntu and it's a suprise that such a politically correct distro can't handle emails that involve

Re: [Mesa3d-dev] [Mesa3d-cvs] CVS Update: Mesa (branch: trunk)

2006-09-21 Thread Keith Whitwell
Micha? Król wrote: On 21/09/06, Keith Whitwell [EMAIL PROTECTED] wrote: If anyone knows why these emails are turning out all screwed up and missing the newlines, please let me know. I'm just using thunderbird on ubuntu and it's a suprise that such a politically correct distro can't handle

Re: [Mesa3d-dev] [Mesa3d-cvs] CVS Update: Mesa (branch: trunk)

2006-09-21 Thread Donnie Berkholz
Keith Whitwell wrote: Micha? Król wrote: On 21/09/06, Keith Whitwell [EMAIL PROTECTED] wrote: If anyone knows why these emails are turning out all screwed up and missing the newlines, please let me know. I'm just using thunderbird on ubuntu and it's a suprise that such a politically correct

Re: [Mesa3d-dev] Mesa DirectColor

2006-09-21 Thread Brian Paul
Jacob (=Jouk) Jansen wrote: [EMAIL PROTECTED] wrote on 20-SEP-2006 17:16:47.82 Jacob (=Jouk) Jansen wrote: Hi all, Today I changed the Default visual of my X-server to DirectColor visual. All is fine except that all objects drawn by Mesa get weird colours. I suspect that

Re: [Mesa3d-dev] [Mesa3d-cvs] CVS Update: Mesa (branch: trunk)

2006-09-21 Thread Keith Whitwell
Michel � wrote: On Thu, 2006-09-21 at 13:55 +0100, Keith Whitwell wrote: Michel Dänzer wrote: On Thu, 2006-09-21 at 12:58 +0100, Keith Whitwell wrote: Michel Dänzer wrote: On Wed, 2006-09-20 at 18:56 +, Keith Whitwell wrote: Log message:Support both big and little endian, more

Re: [Mesa3d-dev] [Mesa3d-cvs] CVS Update: Mesa (branch: trunk)

2006-09-21 Thread Michel Dänzer
On Thu, 2006-09-21 at 16:15 +0100, Keith Whitwell wrote: OK, so as you suggested, it looks like type_endian_mapping should be identity for this case, as in the attached diff -- what happens next? from 1908/GL_RGBA to 1907/GL_RGB map 0 1 2 4 4 5 from 1907/GL_RGB to 1908/GL_RGBA map 0 1 2 5 4

Re: [Mesa3d-dev] [Mesa3d-cvs] CVS Update: Mesa (branch: trunk)

2006-09-21 Thread Keith Whitwell
Michel Dänzer wrote: On Thu, 2006-09-21 at 16:15 +0100, Keith Whitwell wrote: OK, so as you suggested, it looks like type_endian_mapping should be identity for this case, as in the attached diff -- what happens next? from 1908/GL_RGBA to 1907/GL_RGB map 0 1 2 4 4 5 from 1907/GL_RGB to

Re: [Mesa3d-dev] [Mesa3d-cvs] CVS Update: Mesa (branch: trunk)

2006-09-21 Thread Michel Dänzer
On Thu, 2006-09-21 at 16:29 +0100, Keith Whitwell wrote: OK, that's kooky. I guess I haven't got a handle on the problem yet for bigEndian, it may be that there's another conversion needed on the back end. It could also be that there's now a mismatch between this code and the driver... --

Re: [Mesa3d-dev] MESA_BIG_ENDIAN MESA_LITTLE_ENDIAN

2006-09-21 Thread Brian Paul
Jerome Glisse wrote: On 9/21/06, Brian Paul [EMAIL PROTECTED] wrote: Jerome Glisse wrote: Hi, Roland pointed me to this yesterday (src/mesa/main/glheader.h): /* * Either define MESA_BIG_ENDIAN or MESA_LITTLE_ENDIAN. * Do not use them unless absolutely necessary! * Try to use

Re: [Mesa3d-dev] [Mesa3d-cvs] CVS Update: Mesa (branch: trunk)

2006-09-21 Thread Keith Whitwell
Brian Paul wrote: Keith Whitwell wrote: Michel Dänzer wrote: On Thu, 2006-09-21 at 16:29 +0100, Keith Whitwell wrote: OK, that's kooky. I guess I haven't got a handle on the problem yet for bigEndian, it may be that there's another conversion needed on the back end. It could also be