mesa: Changes to 'master'
Ian Romanick
idr at kemper.freedesktop.org
Thu May 10 15:26:07 UTC 2007
src/mesa/main/enable.c | 132 +++++++++++++++-------------------------
src/mesa/main/teximage.c | 37 ++++-------
src/mesa/main/texobj.c | 30 +++------
src/mesa/main/texstate.c | 152 ++++-------------------------------------------
4 files changed, 93 insertions(+), 258 deletions(-)
commit diffs at http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=summary
New commits:
commit c9e723e5013443df984cb3987ffa3a9ba3384b89
Author: Ian Romanick <idr at us.ibm.com>
Date: Thu May 10 08:20:04 2007 -0700
Convert "bit" parameters to GLbitfield. Fix cut-and-paste bug in _mesa_IsEnabled
These changes are based on patch review comments from Brian Paul, Alan
Hourihane, and vehemens.
commit 87a980a795b29c5114c07a74aa5d95b6e7a7f971
Author: Ian Romanick <idr at us.ibm.com>
Date: Wed May 9 21:51:49 2007 -0700
Refactor the loop in unbind_texobj_from_texunits.
Common code was pulled out of the per-target if-statment and put at the end
of the for-loop. The common code is guarded by a new variable, curr, that
is set to point to the unit's current target in each if-statement.
commit e282f89a380bfbc8ad4840b535b499541635ca9f
Author: Ian Romanick <idr at us.ibm.com>
Date: Wed May 9 21:49:35 2007 -0700
Refactor queries of GL_(SOURCE|OPERAND)[012]_(ALPHA|RGB).
Most switch-statements that have cases for these enums already use code like:
const GLuint idx = pname - GL_SOURCE0_RGB;
... texUnit->Combine.SourceRGB[idx] ...
This patch just brings the remaining bits up to speed.
commit e2e4b60c7d9fc3618c0f9d7496c9ce3d5eee3ab5
Author: Ian Romanick <idr at us.ibm.com>
Date: Wed May 9 21:46:43 2007 -0700
Refactor the way TestProxyTexImage is called in texture_error_check.
commit 58dacc8df1f05cf1d9983a3f45b574b0f20f54c6
Author: Ian Romanick <idr at us.ibm.com>
Date: Wed May 9 21:45:27 2007 -0700
Refactor Enable / Disable and IsEnabled bits related to texture targets.
More information about the mesa-commit
mailing list