Files
OpenSceneGraph/include/osg
Robert Osfield 248a0813db From Lilith Bryant, "As discussed previously on the users list. Fixes the redundant calls to
glActiveTexture on every State::apply after more than one texunits have been
used.

This is against 2.9.6 (I think SVN head is the same)

Quick Synopsis:

New functions:

State::applyModeOnTexUnit
State::applyAttributeOnTexUnit
State::applyModeMapOnTexUnit
State::applyAttributeMapOnTexUnit
State::applyModeListOnTexUnit
State::applyAttributeListOnTexUnit

All copies of the normal versions, but they also set the active tex unit if
absolutely necessary (i.e. only if they call something OpenGL).

State::apply (*2)
State::applyTextureAttribute

Changed to call the above functions and no longer call setActiveTextureUnit
themselves.

State::setActiveTextureUnit

Made inline, so the benefit of having applyModeOnTexUnit (etc) inline
is retained.
"
2010-01-07 16:49:12 +00:00
..
2009-02-11 10:41:55 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2007-05-14 16:16:22 +00:00
2006-07-18 15:21:48 +00:00
2009-01-30 10:55:28 +00:00
2008-05-12 10:16:40 +00:00
2009-03-11 15:12:46 +00:00
2009-01-30 10:55:28 +00:00
2006-07-18 15:21:48 +00:00
2009-07-28 06:00:23 +00:00
2006-07-18 15:21:48 +00:00
2009-01-30 10:55:28 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2008-08-18 10:47:43 +00:00
2009-01-30 10:55:28 +00:00
2009-01-30 10:55:28 +00:00
2008-12-17 16:13:23 +00:00
2009-01-07 10:32:59 +00:00
2008-10-27 13:09:43 +00:00
2008-12-17 16:13:23 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2008-12-17 15:32:35 +00:00
2009-01-30 10:55:28 +00:00