CVS Update: xc (branch: trunk)
Ian Romanick
xorg-commit at cvs.freedesktop.org
Sun Oct 2 01:25:14 EEST 2005
CVSROOT: /cvs/xorg
Module name: xc
Changes by: idr at gabe.freedesktop.org 05/10/01 15:25:14
Log message:
Refactors __glXImageSize and __glXImage3DSize into a single function. It
replaces all calls to the old functions with calls to __glXImageSize with
the new parameter list.
I have also added 'target' as a parameter. This is a stepping stone to
the code in patch #2410. Basically, if the texture target is one of
GL_PROXY_*, the image size is always zero. This gathers all the checks
for that into a single place. I have *not* modified the existing
callers to take this into account. They still do their own checks for
GL_PROXY_*. However, when the generated versions of those functions are
added to the tree, they *will* rely on that.
The code growth is mainly due to the new 40 line comment before
__glXImageSize.
I have tested this with a few of the texture using demos and tests from
Mesa, including tunnel, texdown, and drawpix.
Reviewed by: Adam Jackson, Eric Anholt, and Brian Paul.
Modified files:
./:
ChangeLog
xc/programs/Xserver/GL/glx/:
glxserver.h renderpix.c renderpixswap.c rensize.c
singlesize.c
Revision Changes Path
1.1364 +21 -0 xc/ChangeLog
http://cvs.freedesktop.org/xorg/xc/ChangeLog
1.5 +4 -7 xc/programs/Xserver/GL/glx/glxserver.h
http://cvs.freedesktop.org/xorg/xc/programs/Xserver/GL/glx/glxserver.h
1.4 +3 -2 xc/programs/Xserver/GL/glx/renderpix.c
http://cvs.freedesktop.org/xorg/xc/programs/Xserver/GL/glx/renderpix.c
1.4 +3 -2 xc/programs/Xserver/GL/glx/renderpixswap.c
http://cvs.freedesktop.org/xorg/xc/programs/Xserver/GL/glx/renderpixswap.c
1.8 +86 -31 xc/programs/Xserver/GL/glx/rensize.c
http://cvs.freedesktop.org/xorg/xc/programs/Xserver/GL/glx/rensize.c
1.7 +3 -3 xc/programs/Xserver/GL/glx/singlesize.c
http://cvs.freedesktop.org/xorg/xc/programs/Xserver/GL/glx/singlesize.c
More information about the xorg-commit
mailing list