Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/arch/arm/iomd Pull up revision 1.12 (requested by b...



details:   https://anonhg.NetBSD.org/src/rev/31848f147b53
branches:  netbsd-1-6
changeset: 528052:31848f147b53
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Jun 21 14:52:23 2002 +0000

description:
Pull up revision 1.12 (requested by bjh21 in ticket #328):
Move over to using a 6:5:5 R:G:B palette in 16-bit display modes, and abstract
the palette generation to work with arbitrary numbers of bits.
This allows X to work after a fashion, since it tries to put the VIDC into
a 6:5:5 mode itself (which we ignore).  Anything that actually tries to take
advantage of the DirectColor visual it offers will still be screwed, but I
hope such applications are rare.

diffstat:

 sys/arch/arm/iomd/vidcvideo.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 762b2db90d37 -r 31848f147b53 sys/arch/arm/iomd/vidcvideo.c
--- a/sys/arch/arm/iomd/vidcvideo.c     Fri Jun 21 14:52:14 2002 +0000
+++ b/sys/arch/arm/iomd/vidcvideo.c     Fri Jun 21 14:52:23 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vidcvideo.c,v 1.11 2002/04/03 16:03:50 reinoud Exp $ */
+/* $NetBSD: vidcvideo.c,v 1.11.4.1 2002/06/21 14:52:23 lukem Exp $ */
 
 /*
  * Copyright (c) 2001 Reinoud Zandijk
@@ -36,7 +36,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: vidcvideo.c,v 1.11 2002/04/03 16:03:50 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vidcvideo.c,v 1.11.4.1 2002/06/21 14:52:23 lukem Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -731,7 +731,7 @@
        { 0,  0,  0,   0,  0,  0},      /*  2 bpp */
        { 0,  0,  0,   0,  0,  0},      /*  4 bpp */
        { 0,  0,  0,   0,  0,  0},      /*  8 bpp */
-       { 5,  5,  5,   0,  5, 10},      /* 16 bpp */
+       { 6,  5,  5,   0,  6, 11},      /* 16 bpp */
        { 8,  8,  8,   0,  8, 16},      /* 32 bpp */
 };
 



Home | Main Index | Thread Index | Old Index