dok - once this works, how much is missing to get the motorola powerstack framebuffer (byteswapped RGB16, iirc) working? am i right in thinking that armin's changes would solve our problems as well?

cu,

uli

[EMAIL PROTECTED] wrote:

>> Do you have a hybrid endian system, i.e. RGB16 but byte swapped?
>> Or do you really have BGR16 as in BBBB BGGG GGGR RRRR ?
>

> Actually it is worse; It is both, but I didn't want to complicate my mail,
> since the solution is essentially the same.
> I have BGR15, BGR16 and BGR16 with mixed endian depending on which display
> device I hook on.
>
>> Adding another pixel format is quite simple. You implement ~13 tiny
>> span functions in "src/gfx/generic/generic.c" and all possible
>> combinations of blitting flags, destination/source formats etc. are
>> supported. Apart from
>> the DFBSurfacePixelFormat enum, there are some places where the pixel
>> format has to be added (mostly switch statements). Searching all
>> source files for RGB16 should be sufficient.
>
> Ok, that's what I did. Unfortunately, our test-system decided to fail right
> during testing, so I have to wait to get it repaired to give the final
> results ... ;-(
>





--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.




Reply via email to