On Mon, 2010-10-04 at 12:30 +0200, Michel Dänzer wrote: > > And last I looked X still pukes if you give it a pixmap in non native > > byte order but that might have been fixed. > > I'm not sure what exactly you mean by that, but I'm not aware of any > such issues offhand.
Hrm, I meant on the DDX side. Anyways, doesn't matter. Even if it works fine on X side. Fact is, there's tons and tons of existing SW stack and drivers on the field that are totally incapable of doing BE and essentially unfixable without major work that the customer(s) is(are) unwilling to do at this stage. (Think embedded gfx IP cores mostly, including codecs etc...) > I didn't say anything about that, just that IME it should be mostly > possible to deal with endianness within the driver stack. To some extent yes. Completely, I'm not sure. Apps manipulating pixels, such as video players doing hand-made overlay etc... will potentially have issues. It's more than actual pixel byte ordering. It's anything that accesses a quantity in memory using different size accessors, ie, storing a u32 and then expecting to find the LSB at u8* of the same address etc... that sort of stuff happens more often in gfx-oriented code than anywhere else in my experience. > Note that I'm not arguing against these changes, just pointing out some > apparent inaccuracies in the reasoning for them. Right, I possibly made an incorrect statement relative to Xorg (I had assumed the fb layer only worked properly in native endian format), but that doesn't matter much since the problem here is existing code & drivers and goes way beyond X (probably no X on the target setups anyways). Cheers, Ben _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev