Re: [gtk-list] Re: Colormap Issue with Gtk99.3



On  3 Feb, Owen Taylor shouted:
->  
->  Federico Mena <federico@nuclecu.unam.mx> writes:
->  
->  > >  OK. It really looks to me like the 2048 is a bug in the server -
->  > 
->  > I don't know about that particular video card, but xdpyinfo on an SGI
->  > Indy has a visual like this:
->  > 
->  >   visual:
->  >     visual id:    0x27
->  >     class:    PseudoColor
->  >     depth:    12 planes
->  >     available colormap entries:    4096
->  >     red, green, blue masks:    0x0, 0x0, 0x0
->  >     significant bits in color specification:    8 bits
->  
->  I'm pretty sure that wasn't the case for the reported problem -
->  it was a TrueColor visual for one thing. GTK won't really
->  handle the above right - it will only see the first 256 entries
->  for some things (but it won't crash anymore). The problem
->  is the way the GdkColorMap and GdkColorMapPrivate are set
->  up. But I don't think 12 plane PseudoColor is in use very
->  often.
->  
->  > Which makes perfect sense.  It may be similar to the old Amiga
->  > displays, I think.
->  
->  The Apple II-GS, IIRC, had lookup tables with 12-bit (4-4-4) entries.
->  The colormap had a fairly small number of entries, but you could
->  hook into the horizontal refresh interrupt and change colormaps
->  on the fly, allowing you to get most of the 4096 colors onscreen,
->  just not on the same row...

Actually if you combined the copper to change palettes ont he fly "per
line" int he horizontal blanking gap, AND you used HAM mode you got
SHAM (which was effectively 4096 colors in 6bit planes - Hold And
Modify) - it wan't quite pure 12bpp - but it was close.

-- 
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
raster@rasterman.com       /\___ /\ ___/||\___ ____/|/\___  raster@redhat.com
Carsten Haitzler           | _ //__\\ __||_ __\\ ___|| _ /  Red Hat Advanced
218/21 Conner Drive        || // __ \\_ \ | |   \ _/_|| /   Development Labs
Chapel Hill NC 27514 USA   ||\\\/  \//__/ |_|   /___/||\\   919 547 0012 ext 282
+1 (919) 929 9443, 801 4392   For pure Enlightenmenthttp://www.rasterman.com/ 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]