display driver.

From: Vijay (vikramuv_at_blr.philips.com)
Date: 01/25/05


Date: Mon, 24 Jan 2005 23:21:02 -0800

Hi all,
Display driver is written for Sharp LQ057Q3DC02 color tft module,
it supports 16 bpp mode and supports 262144 colors.

When i created pallette with bit masks for RGB as 0xf800,0x07e0,0x001f
i get a improper display (more intensity of red component).
And on adding running CETK i get all the results passed.

While i create pallette with bit mask as 0x000f, 0x00f0, 0x0f00
i get a clear Win CE display on the screen. But most of the test results
fails.
What may be the cause for this problem is not quite clear.
Any suggestion will help me lot.

test result log of failed result
*** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
*** TEST STARTING
***
*** Test Name: ExcludeClipRect
*** Test ID: 100
*** Library Path: \gdiapi.dll
*** Command Line:
*** Random Seed: 12296
*** Thread Count: 0
*** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
   BEGIN TEST: <ExcludeClipRect>, Thds=0,
      ExcludeClipRect - Passing NULL
      Using HWND of Top Window
          Driver verification at (0, 0) Found (0x007FEF) != (0x007E63)
      FAIL: Driver verification exiting due to large number of errors
      FAIL: Colors according to GetPixel are Primary:7928952,
Verification:1625208, Location:(0, 0)
      ExcludeClipRect: Testing with empty Rect
      Using HWND of Top Window
      ExcludeClipRect - Exclude Complex Test
      Using HWND of Top Window
          CheckScreenHalves: bpp=16
      ExcludeClipRect - Clip Rgn Tests Checking against NT Hardcoded
      Using HWND of Top Window
          Driver verification at (0, 0) Found (0x004DDB) != (0x004CD2)
      FAIL: Driver verification exiting due to large number of errors
      FAIL: GetPixel for both surfaces match, however DIB doesn't, possible
color conversion or test bug
   END TEST: <ExcludeClipRect>
*** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

-- 
Vijay
PIC ,Bangalore