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-10-25 11:52:01 +00:00
2008-09-18 13:54:13 +00:00
2009-07-24 14:45:44 +00:00
2008-05-12 10:55:55 +00:00
2009-10-20 19:34:24 +00:00
2009-10-25 11:52:01 +00:00
2010-01-07 14:35:17 +00:00
2008-08-28 09:43:00 +00:00
2007-12-10 17:30:18 +00:00
2007-12-10 17:30:18 +00:00
2009-06-08 13:46:39 +00:00
2007-12-10 17:30:18 +00:00
2009-02-11 10:41:55 +00:00
2009-05-18 10:37:03 +00:00
2006-07-18 15:21:48 +00:00
2007-01-04 14:11:51 +00:00
2009-11-27 11:43:18 +00:00
From Paul Martz, "This change address the following issue: an app opens a Viewer on a multidisplay system, configured to setUpViewAcrossAllDisplays, with a non-default clear mask. In this case, OSG failed to propagate the clear mask to the slave Cameras, resulting in the clear mask being ignored. To fix this issue, this revision adds a new CullSettings::VariablesMask bit, CLEAR_MASK, to explicitly control inheritance of the clear mask. This bit is set by default, which means that the clear mask now inherits by default, whereas previously it did not."
2009-11-27 15:32:43 +00:00
2006-11-27 14:52:07 +00:00
2007-12-10 17:30:18 +00:00
2009-11-03 16:34:54 +00:00
2006-07-18 15:21:48 +00:00
2008-12-19 15:29:59 +00:00
2009-10-30 15:17:38 +00:00
2007-03-29 15:41:59 +00:00
2008-12-17 12:13:15 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2008-12-17 12:13:15 +00:00
2007-01-05 09:55:04 +00:00
2008-11-07 13:18:40 +00:00
2009-08-20 14:19:10 +00:00
2009-10-22 10:33:16 +00:00
2007-03-05 17:34:36 +00:00
2006-07-18 15:21:48 +00:00
From Paul Martz, "This change address the following issue: an app opens a Viewer on a multidisplay system, configured to setUpViewAcrossAllDisplays, with a non-default clear mask. In this case, OSG failed to propagate the clear mask to the slave Cameras, resulting in the clear mask being ignored. To fix this issue, this revision adds a new CullSettings::VariablesMask bit, CLEAR_MASK, to explicitly control inheritance of the clear mask. This bit is set by default, which means that the clear mask now inherits by default, whereas previously it did not."
2009-11-27 15:32:43 +00:00
2009-01-28 15:15:19 +00:00
2007-12-10 17:30:18 +00:00
2007-12-10 17:30:18 +00:00
2009-11-19 10:10:50 +00:00
2009-12-09 13:51:02 +00:00
2007-05-14 16:16:22 +00:00
2009-06-25 13:26:26 +00:00
2009-02-06 15:39:44 +00:00
2006-07-18 15:21:48 +00:00
2009-10-25 11:52:01 +00:00
2008-01-08 13:24:29 +00:00
2009-11-10 17:01:08 +00:00
2007-12-10 17:30:18 +00:00
2007-12-10 17:30:18 +00:00
2008-12-09 09:24:47 +00:00
2009-12-09 13:51:02 +00:00
2009-12-08 17:41:18 +00:00
2009-10-30 15:17:38 +00:00
2009-11-12 14:35:44 +00:00
2009-01-08 11:19:21 +00:00
2009-11-26 12:33:07 +00:00
2009-10-07 19:42:32 +00:00
2009-12-14 13:42:00 +00:00
2008-11-18 15:18:34 +00:00
2009-01-30 10:55:28 +00:00
2008-05-12 10:16:40 +00:00
2010-01-07 12:14:47 +00:00
2010-01-07 12:14:47 +00:00
2009-03-11 15:12:46 +00:00
2009-01-09 15:19:25 +00:00
2007-12-10 17:30:18 +00:00
2009-01-30 10:55:28 +00:00
2009-10-30 15:17:38 +00:00
2007-12-10 17:30:18 +00:00
2007-01-07 10:00:50 +00:00
2008-03-13 16:05:40 +00:00
2009-10-25 11:52:01 +00:00
2005-04-11 17:14:17 +00:00
2008-04-03 18:36:50 +00:00
2009-10-25 11:52:01 +00:00
2009-10-25 11:52:01 +00:00
2009-11-18 12:15:29 +00:00
2008-06-20 15:50:53 +00:00
2008-09-17 16:14:28 +00:00
2008-09-17 16:14:28 +00:00
2006-07-18 15:21:48 +00:00
2008-06-27 12:44:41 +00:00
2007-12-10 17:30:18 +00:00
2009-07-28 06:00:23 +00:00
2006-12-19 17:16:14 +00:00
2009-11-17 14:06:07 +00:00
2009-05-11 11:39:12 +00:00
2009-05-18 12:04:07 +00:00
2009-08-22 17:13:19 +00:00
2008-03-14 11:06:35 +00:00
2006-07-18 15:21:48 +00:00
2008-02-27 11:43:58 +00:00
2009-01-30 10:55:28 +00:00
2009-07-16 10:13:41 +00:00
2008-06-20 15:50:53 +00:00
2009-10-25 11:52:01 +00:00
2007-03-05 17:34:36 +00:00
2009-10-25 11:52:01 +00:00
2009-10-28 20:31:57 +00:00
2009-10-25 11:52:01 +00:00
2009-05-07 18:30:33 +00:00
2006-07-18 15:21:48 +00:00
2009-10-11 05:52:11 +00:00
2009-10-16 16:26:27 +00:00
2006-07-18 15:21:48 +00:00
2009-06-12 10:08:15 +00:00
2006-07-18 15:21:48 +00:00
2008-11-25 16:24:50 +00:00
2009-06-05 11:48:35 +00:00
2008-02-29 15:25:57 +00:00
2007-03-05 17:34:36 +00:00
2007-12-24 14:45:31 +00:00
2009-10-25 11:52:01 +00:00
2009-11-18 11:25:28 +00:00
2007-12-10 17:30:18 +00:00
2009-07-24 14:45:44 +00:00
2008-08-18 10:47:43 +00:00
2010-01-07 16:49:12 +00:00
2009-10-22 10:33:16 +00:00
2009-10-22 12:01:06 +00:00
2009-01-30 10:55:28 +00:00
2009-01-30 10:55:28 +00:00
2007-03-05 17:34:36 +00:00
2008-12-17 16:13:23 +00:00
2008-12-09 09:24:47 +00:00
2009-01-07 10:32:59 +00:00
2009-10-25 11:52:01 +00:00
2009-10-25 11:52:01 +00:00
2007-12-10 17:30:18 +00:00
2009-11-03 16:34:54 +00:00
2009-04-22 13:07:02 +00:00
2006-11-22 20:39:44 +00:00
2009-11-26 12:33:07 +00:00
2009-10-25 11:52:01 +00:00
2008-04-23 20:49:19 +00:00
2008-10-27 13:09:43 +00:00
2008-12-17 16:13:23 +00:00
2007-09-11 12:04:58 +00:00
2009-04-24 09:07:22 +00:00
2009-09-25 18:05:54 +00:00
2009-02-02 14:43:27 +00:00
2009-10-30 15:17:38 +00:00
2007-12-10 17:30:18 +00:00
2007-12-04 14:46:46 +00:00
2009-10-25 11:52:01 +00:00
2006-07-18 15:21:48 +00:00
2009-05-18 10:37:03 +00:00
2009-11-24 13:28:07 +00:00
2009-11-24 13:28:07 +00:00
2009-11-24 13:28:07 +00:00
2006-07-18 15:21:48 +00:00
2009-05-18 10:37:03 +00:00
2009-11-24 13:28:07 +00:00
2009-11-24 13:28:07 +00:00
2009-11-24 13:28:07 +00:00
2006-07-18 15:21:48 +00:00
2009-05-18 10:37:03 +00:00
2009-11-24 13:28:07 +00:00
2009-11-24 13:28:07 +00:00
2009-11-24 13:28:07 +00:00
2009-05-18 10:37:03 +00:00
2009-12-15 11:47:38 +00:00
2008-12-17 15:32:35 +00:00
2009-01-30 10:55:28 +00:00
2007-12-10 17:30:18 +00:00