I'm making some changes to the server-side GLX in the DRI tree. For
part of my changes I want to eliminate the need for libGLcore to have
access to a VisualRec (programs/Xserver/include/scrnintstr.h, line 68).
There are only two fields from that structure that are accessed by
libGLcore, and
Around 9 o'clock on Feb 17, Ian Romanick wrote:
First, a comment in the structure says that nplanes is log2
(ColormapEntries). Does that mean that (1U v-nplanes) ==
v-ColormapEntries is always true?
no. ColormapEntries on a Direct/True visual is
1 max(nred,ngreen,nblue).
Keith Packard wrote:
Around 9 o'clock on Feb 17, Ian Romanick wrote:
First, a comment in the structure says that nplanes is log2
(ColormapEntries). Does that mean that (1U v-nplanes) ==
v-ColormapEntries is always true?
no. ColormapEntries on a Direct/True visual is
1