On Tue, 11 Oct 2005 17:10:53 +1000 Emil Mikulic <[EMAIL PROTECTED]> babbled:

> On Tue, Oct 11, 2005 at 03:50:35PM +0900, Carsten Haitzler wrote:
> > you're not going to like this:
> > 
> > i don't know. those 2 visuals (16bpp fbsd, and 24bpp neoware) look slike
> > perfectly normal truecolor visuals - standard. the only thing that makes
> > sense here is that maybe imlib2 is not byteswapping. that could be it as
> > the source will be big endian and destination little endian. i guess i
> > should put that code in.
> 
> That's what I thought at first, too.  Geoff (a friend of mine who I've
> also got looking into this) said imlib2 apparently ran fine on PPC,
> which is also big-endian.
> 
> configure puts "#define WORDS_BIGENDIAN 1" into config.h
> This results in:
> http://yallara.cs.rmit.edu.au/~ggiesema/imlib/bigendian.png
> 
> Geoff commented it out and got:
> http://yallara.cs.rmit.edu.au/~ggiesema/imlib/noendian.png
> 
> (both are wrong but in different ways)
> 
> What it's supposed to look like:
> http://yallara.cs.rmit.edu.au/~ggiesema/imlib/xv.png

aah - but theres 2 bits of endianess handling to be done. 1 at the rgbaimage
level which is what that is fidldign with. the OTHER is at the ximage ouptut
level. i think we are getting the ximage wroen as the xserve is different
engineess to the client app. what u showed there is whats typical if the CLIENT
gets the endianess wrong for itself, but the xserver endianess almost always
MATCHEs the client endianess... UNLESs the client is remote to x - then it CAN
vary. try display form that ppc box onto your fbsd x86 box :)

> >From what I understand, this particular macro affects some code in
> loader_png.  When you talked about byteswapping, did you mean in another
> part of the code?
> 
> --Emil
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多                              [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to