[EMAIL PROTECTED] wrote on 27-SEP-2006 16:02:31.84
>Is the GLUT window created with a TrueColor visual?
It just running i.e. the gears program from progs/demo
Does this program set the visual to TrueColor?
>Maybe I don't quite understand what the problem is.
I run the X-server with "default" visual DirectColor (see xdpyinfo below)
The colours of the gears program turn out to be wrong in this case. In
glut_cmap the program runs the TrueColor stuff, while it should do
DirectColor (I suppose).
Jouk
sirba-jj) xdpyinfo
name of display: _WSA5:
version number: 11.0
vendor string: DECWINDOWS Hewlett-Packard Development Company OpenVMS
vendor release number: 8002
maximum request size: 65535 longwords (262140 bytes)
motion buffer size: 0
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 2
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
number of extensions: 17
DEC-Server-Mgmt-Extension
ServerManagementExtension
SHAPE
MIT-SHM
Extended-Visual-Information
XTEST
BIG-REQUESTS
MIT-SUNDRY-NONSTANDARD
MIT-SCREEN-SAVER
SYNC
XC-MISC
TOG-CUP
Xie
DEC-XTRAP
Multi-Buffering
SECURITY
XC-APPGROUP
default screen number: 0
number of screens: 1
screen #0:
dimensions: 1280x1024 pixels (325x260 millimeters)
resolution: 100x100 dots per inch
depths (2): 1, 24
root window id: 0x26
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x23
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store YES, save-unders YES
current input event mask: 0x38003d
KeyPressMask ButtonPressMask ButtonReleaseMask
EnterWindowMask LeaveWindowMask SubstructureNotifyMask
SubstructureRedirectMask FocusChangeMask
number of visuals: 2
default visual id: 0x21
visual:
visual id: 0x21
class: DirectColor
depth: 24 planes
size of colormap: 256 entries
red, green, blue masks: 0xff, 0xff00, 0xff0000
significant bits in color specification: 8 bits
visual:
visual id: 0x22
class: TrueColor
depth: 24 planes
size of colormap: 256 entries
red, green, blue masks: 0xff, 0xff00, 0xff0000
significant bits in color specification: 8 bits
Bush : All votes are equal but some votes are more equal than others.
>------------------------------------------------------------------------------<
Jouk Jansen
[EMAIL PROTECTED]
Technische Universiteit Delft tttttttttt uu uu ddddddd
Kavli Institute of Nanoscience tttttttttt uu uu dd dd
Nationaal centrum voor HREM tt uu uu dd dd
Lorentzweg 1 tt uu uu dd dd
2628 CJ Delft tt uu uu dd dd
Nederland tt uu uu dd dd
tel. 31-15-2782272 tt uuuuuuu ddddddd
>------------------------------------------------------------------------------<
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev