Ian Romanick
2c82429f89
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.
2005-10-01 22:25:13 +00:00
..
g_disptab.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
g_disptab.h
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
g_disptab_EXT.c
Use '$(DRMSRCDIR)/shared-core' instead of '$(DRMSRCDIR)/shared' for DRM
2005-08-12 16:30:57 +00:00
g_disptab_EXT.h
Use '$(DRMSRCDIR)/shared-core' instead of '$(DRMSRCDIR)/shared' for DRM
2005-08-12 16:30:57 +00:00
g_render.c
Use '$(DRMSRCDIR)/shared-core' instead of '$(DRMSRCDIR)/shared' for DRM
2005-08-12 16:30:57 +00:00
g_renderswap.c
Use '$(DRMSRCDIR)/shared-core' instead of '$(DRMSRCDIR)/shared' for DRM
2005-08-12 16:30:57 +00:00
g_single.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
g_singleswap.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glcontextmodes.c
Add missing include paths.
2005-07-03 12:17:04 +00:00
glcontextmodes.h
Add missing include paths.
2005-07-03 12:17:04 +00:00
global.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxbuf.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxbuf.h
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxcmds.c
Put the correct value in the length field of the reply. Previously, the
2005-07-06 07:16:19 +00:00
glxcmdsswap.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxcontext.h
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxdrawable.h
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxerror.h
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxext.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxext.h
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxfb.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxfb.h
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glximports.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glximports.h
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxmem.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxmem.h
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxpix.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxpix.h
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxscreens.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxscreens.h
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxserver.h
Refactors __glXImageSize and __glXImage3DSize into a single function. It
2005-10-01 22:25:13 +00:00
glxutil.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
glxutil.h
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
impsize.h
Replace all uses of __glEvalComputeK (and the doubly redundant
2005-09-28 03:37:22 +00:00
Makefile.am
distcheck fixes
2005-08-02 03:36:09 +00:00
render2.c
Replace all uses of __glEvalComputeK (and the doubly redundant
2005-09-28 03:37:22 +00:00
render2swap.c
Replace all uses of __glEvalComputeK (and the doubly redundant
2005-09-28 03:37:22 +00:00
renderpix.c
Refactors __glXImageSize and __glXImage3DSize into a single function. It
2005-10-01 22:25:13 +00:00
renderpixswap.c
Refactors __glXImageSize and __glXImage3DSize into a single function. It
2005-10-01 22:25:13 +00:00
rensize.c
Refactors __glXImageSize and __glXImage3DSize into a single function. It
2005-10-01 22:25:13 +00:00
rensizetab.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
single2.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
single2swap.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
singlepix.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
singlepixswap.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
singlesize.c
Refactors __glXImageSize and __glXImage3DSize into a single function. It
2005-10-01 22:25:13 +00:00
singlesize.h
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
unpack.h
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00
xfont.c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
2005-07-03 07:02:09 +00:00