nanogui: Unsupported bpp: 4


Previous by date: 22 Jul 2004 16:07:49 +0100 Re: fonts HowTo for microwindows?, Greg Haerr
Next by date: 22 Jul 2004 16:07:49 +0100 Re: Unsupported bpp: 4, Steven Scholz
Previous in thread: 22 Jul 2004 16:07:49 +0100 Unsupported bpp: 4, Steven Scholz
Next in thread: 22 Jul 2004 16:07:49 +0100 Re: Unsupported bpp: 4, Steven Scholz

Subject: Re: [nanogui] Unsupported bpp: 4
From: "Greg Haerr" ####@####.####
Date: 22 Jul 2004 16:07:49 +0100
Message-Id: <001601c46ffd$97a1f840$3aba46a6@xmission.com>

: Why is that in nxlib:
: 
:          if (sinfo.bpp < 8) {
:                  fprintf(stderr, "nx11: Unsupported bpp: %d\n", sinfo.bpp);
:                  GrClose();
:                  return NULL;
:          }

I put this in because none of the NXLIB image routines handle
4bpp at this time.  This means that 4bpp pixmaps won't get displayed.
There may be some other issues as well, some coding can
solve this problem.

: GRAYPALETTE              = Y

Try removing this for the time being.  This sets a gray palette for palette
mode displays only.

: BTW: I have set "SCREEN_PIXTYPE = MWPF_TRUECOLOR0888" just as the comment 
: suggests for using frame buffer..

You can't set this if your display is actually 4bpp. Is it 16bpp or 4bpp?
The 4bpp display will have to run in palette mode, not truecolor, as the
line above specifies.

Regards,

Greg


Previous by date: 22 Jul 2004 16:07:49 +0100 Re: fonts HowTo for microwindows?, Greg Haerr
Next by date: 22 Jul 2004 16:07:49 +0100 Re: Unsupported bpp: 4, Steven Scholz
Previous in thread: 22 Jul 2004 16:07:49 +0100 Unsupported bpp: 4, Steven Scholz
Next in thread: 22 Jul 2004 16:07:49 +0100 Re: Unsupported bpp: 4, Steven Scholz


Powered by ezmlm-browse 0.20.