Re: [Mesa3d-dev] Mesa & DirectColor

2006-09-21 Thread Jacob (=Jouk) Jansen
[EMAIL PROTECTED] wrote on 21-SEP-2006 17:16:31.19 [snip] >> >> Is a specification available what colour table Mesa is expecting? > >For a 24-bit DirectColor visual, each of the R, G, B maps should be >setup so that lookup[k] = k. > >It looks like glut was lacking that code, so I just added it.

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. >>>

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

2006-09-21 Thread Brian Paul
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 that there's

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: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 thi

Re: [Mesa3d-dev] MESA_BIG_ENDIAN & MESA_LITTLE_ENDIAN

2006-09-21 Thread Jerome Glisse
On 9/21/06, Brian Paul <[EMAIL PROTECTED]> wrote: > 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

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 nece

Re: [Mesa3d-dev] MESA_BIG_ENDIAN & MESA_LITTLE_ENDIAN

2006-09-21 Thread Brian Paul
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 a runtime test instead. > * For now, only used by some DRI hardware driv

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] [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

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

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

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

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

2006-09-21 Thread Michel Dänzer
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, mor

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

2006-09-21 Thread Brian Paul
Keith Whitwell wrote: > I keep forgetting - it's necessary to disable the SRGB code in glean's > tpixelformats.cpp as the test for the extension being present is broken. I've fixed this in Glean. -Brian - Take Surveys. Ear

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 politic

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 >>

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 invol

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 more> >> destinati

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 > more> >> destination formats through the

[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 more> >> destination formats through the swizzle

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 more> >> destination formats through the swizzle

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

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

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

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

2006-09-21 Thread Michel Dänzer
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 > destination

Re: [Mesa3d-dev] Mesa & DirectColor

2006-09-21 Thread Jacob (=Jouk) Jansen
[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 DirectColor-visuals is not workin