On 2002.04.30 14:16 Michel Dänzer wrote:
> On Tue, 2002-04-30 at 10:45, José Fonseca wrote:
> > .... This is still not very clear - yesterday we
> > discussed this in the IRC meeting -, because the colors are ok. Looking
> > careful to the picture is seems that we have to word swap and not byte
> > swap. Perhaps because within a pixel, the color disposition isn't
> changed
> > across little/big endian architectures.
> 
> I was going to explain this is due to 32 bit swapping exchanging 16 bit
> texels, but on second thought it should work if both the texture and
> framebuffer use the same bpp.
> 
> Where can I see that screenshot? :)
> 

Is in Peter's last message with attachement.

I still don't know how to define the MMIO to be portable... Shouldn't we 
use the read/write* macros instead of cpu_to_le32/le32_to_cpu? Shouldn't 
be a wmb() on writes and a mb() on reads ?

Everywhere I look I read a different way of how to do... it's insane!

José Fonseca

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to