[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Color problem in big endian target
From: Teemu Keskinarkaus ####@####.#### Date: 27 Nov 2006 06:43:55 +0000 Message-Id: <FB4B49604ADFD949A9F32F2D8E6C4D47018EFC50@alban.ccs.local> Hi, I'm sure this has been asked before, but since there wasn't any search function in archine I'll ask again. I'm using Microwindows(or Nano-X) on Intel Xscale in big endian mode. It's working fine except the colours are all wrong. What I've learn from the net that this is because of the big endian mode. I tried every possible config possibility, but they offered no help. Only change in colours I got when I enabled palette mode, but even then the colours where wrong. What I need to do to get the colours right? I'm running Linux and with the X-server the colours are ok so I think the problem must be with the Nano-X. Because Linux is running in big endian mode I cannot test the little endian version to see if that solve anything. Target has Frame buffer implemented and X-server is configured for 16-bit colours if that helps anything. Thanks. Teemu Keskinarkaus | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] Color problem in big endian target
From: "Greg Haerr" ####@####.#### Date: 28 Nov 2006 05:58:00 +0000 Message-Id: <00c101c712b2$24090cc0$6401a8c0@winXP> : Target has Frame buffer implemented and X-server is configured for 16-bit : colours if that helps anything. Make sure you've configure nano-X for one of the two 16bpp color options - 5/5/5 or 5/6/5. If this doesn't solve your problem, then you might have to change the 555 or 565 color macros defined in include/mwtypes.h to appropriately rearrange the bits in a 16-bit word from R,G,B values. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |