nanogui: Palette or TrueColor?
Subject:
RE: Re: RE: Re: [nanogui] Palette or TrueColor?
From:
linuxhh ####@####.####
Date:
27 Dec 2001 09:02:39 -0000
Message-Id: <20011227085850.8810.qmail@sina.com>
Hi, Greg
The attached file is my LCD driver.
When I run Microwindow+FLNX on my board, the scroll bar of FLNX always crash. And the performance is slow than on gray LCD.
The scroll bar is run correct on gray LCD.
So, please help me check error. How can I improve the performance? Thanks.
Eric
----- Original Message -----
From:"Greg Haerr" ####@####.####
To:"linuxhh" ####@####.####
Subject:Re: RE: Re: [nanogui] Palette or TrueColor?
Date:Sun, 16 Dec 2001 04:58:58 +0800
>: Another question: if i use 444 truecolor then
>: "psd->pixtype = TRUECOLOR444"
>: When I use GdSetPalette to set my palettte,
>: if(psd->pixtype != MWPF_PALETTE)
>: return;
>: will return my request. How can i do?
>
>There is no Microwindows palette in truecolor 444 mode.
>When I spoke of setting the palette, I meant the internal
>Linux kernel palette (which may not need any settings,
>it depends on your hardware and the framebuffer driver).
>The code that initializes the kernel palette is in
>drivers/scr_fb.c::ioctl_setpalette().
>
>Regards,
>
>Greg
>
>
>
______________________________________
===================================================================
新浪免费电子邮箱 (http://mail.sina.com.cn)
新浪分类信息:分类信息 谁处颠峰? 您投票 我送奖! (http://classad.sina.com.cn/)
新浪闪烁短信闪亮登场 传情无限 (http://sms.sina.com.cn/cgi-bin/sms/smspic.cgi?spec=11&type=0)
[Content type application/x-msdownload not shown. Download]