-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Corbin Simpson wrote:
> Can we doc it and comment it out? IME somebody will pop out and claim a
> use for it.

Search the Mesa source for all of the occurances of 'if
(ctx->Visual.rgbMode)' and you'll see most of the reason I want to
remove it.  Commenting it out or ifdef'ing it out will actually make the
situation much, much worse.

Part of the reason I want to do this is that I'm working on an extension
that allows the creation of a context without a visual / fbconfig.  I
have this mostly working, and I should have patches out early this week.
 The biggest hurdle has been "fixing" all of the places that use
ctx->Visual.  90% or more of those places are checking rgbMode.

Ideally, I'd like ctx->Visual to be completely removed.  99.9% of all
places that use ctx->Visual should actually use ctx->DrawBuffer->Visual.
 I suspect that this accounts for some of the FBO rendering problems
that have been reported over the years.

> Posting from a mobile, pardon my terseness. ~ C.
> 
>> On Feb 19, 2010 5:19 PM, "Ian Romanick" <i...@freedesktop.org
>> <mailto:i...@freedesktop.org>> wrote:
>>
> While we're on the topic of removing dead weight, can we remove support
> for color index rendering?  None of the hardware drivers support color
> index rendering, and color index rendering is deprecated in OpenGL 3.0
> (and removed in 3.1).
> 
> Can it please die in a fire?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuBt+QACgkQX1gOwKyEAw+8DACfSXYLr9mh1k06Ri+29NBjNKfn
wSYAnjRD3Eu4ZpeSkgOiBIOk7h1d2pJw
=LhpN
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to