mesa.git
18 years agoinclude driverfuncs.h
Brian Paul [Tue, 19 Jul 2005 15:34:44 +0000 (15:34 +0000)]
include driverfuncs.h

18 years agooverlay planes test
Brian Paul [Tue, 19 Jul 2005 15:27:03 +0000 (15:27 +0000)]
overlay planes test

18 years agos/clippping/clipping/
Brian Paul [Mon, 18 Jul 2005 20:07:19 +0000 (20:07 +0000)]
s/clippping/clipping/

18 years agoFixed warnings by using GLUTProc type instead of anonymous (void *) for
Philippe Houdoin [Mon, 18 Jul 2005 19:27:49 +0000 (19:27 +0000)]
Fixed warnings by using GLUTProc type instead of anonymous (void *) for
GLUT callbacks.

18 years agore-enable the ffb driver
Alan Hourihane [Mon, 18 Jul 2005 13:53:03 +0000 (13:53 +0000)]
re-enable the ffb driver

18 years agoFix the FFB driver for the renderbuffer changes
Alan Hourihane [Mon, 18 Jul 2005 13:52:34 +0000 (13:52 +0000)]
Fix the FFB driver for the renderbuffer changes
Support NEW INTERFACE as well

18 years agopass in the renderbuffer
Alan Hourihane [Mon, 18 Jul 2005 13:50:06 +0000 (13:50 +0000)]
pass in the renderbuffer

18 years agoMissed this on the previous commit.
Ian Romanick [Mon, 18 Jul 2005 12:33:03 +0000 (12:33 +0000)]
Missed this on the previous commit.

18 years agoWrap every place that accesses a dispatch table with a macro. A new script-
Ian Romanick [Mon, 18 Jul 2005 12:31:24 +0000 (12:31 +0000)]
Wrap every place that accesses a dispatch table with a macro.  A new script-
generated file, called src/mesa/glapi/dispatch.h, is added.  This file
contains three macros for each API function.  It contains a GET, a SET, and
a CALL.  Each of the macros take a pointer to the context and a pointer to
the dispatch table.

In several threads on mesa3d-dev we discussed replacing _glapi_add_entrypoint
with a new function called _glapi_add_dispatch.  For this discussion, the
important difference between the two is that the caller of _glapi_add_dispatch
does *not* know what the dispatch offset will be at compile time.  Because of
this callers need to track the dispatch offset returned by
_glapi_add_dispatch.

http://marc.theaimsgroup.com/?t=111947074700001&r=1&w=2

The downside is that driver code then has to access the dispatch table two
different ways.  It accesses it using structure tags (e.g., exec->Begin) for
functions with fixed offsets and via a remap table (e.g., exec[
remap->NewExtensionFunction ]) for functions without fixed offsets. Yuck!

Using the macros allows both types of functions to be accessed
identically.  If a driver needs to set a pointer for Begin, it does
'SET_Begin(ctx, exec, my_begin_function)'.  If it needs to set a pointer
for NewExtensionFunction, it does 'SET_NewExtensionFunction(ctx, exec,
my_NewExtensionFunction_function)'.  Furthermore, if at some point in
the future a static offset is assigned for NewExtensionFunction, only
the macros need to change (instead of every single place that accesses a
table for that function).

This code differs slightly from the originally posted patches in that the
CALL, GET, and SET marcos no longer take a context pointer as a parameter.
Brian Paul had suggested that the remap table could be stored as a global
since it would be set at CreateScreen time and would be constant for all
contexts.  This change reflects that feedback.

http://marc.theaimsgroup.com/?t=112087194700001&r=1&w=2

18 years agoXMesaResizeBuffers needs separate paths for client and server builds
Adam Jackson [Sat, 16 Jul 2005 04:02:05 +0000 (04:02 +0000)]
XMesaResizeBuffers needs separate paths for client and server builds

18 years agostrip out vestigial #ifdef HAVE_CONFIG_H stanzas, they're confusing the
Adam Jackson [Sat, 16 Jul 2005 00:56:20 +0000 (00:56 +0000)]
strip out vestigial #ifdef HAVE_CONFIG_H stanzas, they're confusing the
modular X build

18 years agodisable call to via_sse_memcpy() until it's fixed
Brian Paul [Fri, 15 Jul 2005 23:13:46 +0000 (23:13 +0000)]
disable call to via_sse_memcpy() until it's fixed

18 years agoneed to flush vertices for GL_OCCLUSION_TEST_RESULT_HP query
Brian Paul [Fri, 15 Jul 2005 23:08:06 +0000 (23:08 +0000)]
need to flush vertices for GL_OCCLUSION_TEST_RESULT_HP query

18 years agoCheck for null program->Parameters pointer in validate_vertex_program().
Brian Paul [Fri, 15 Jul 2005 22:48:09 +0000 (22:48 +0000)]
Check for null program->Parameters pointer in validate_vertex_program().
GL_NV_vertex_program programs can't directly reference GL state so this
pointer is always NULL.

18 years agoadded comments
Brian Paul [Fri, 15 Jul 2005 22:47:00 +0000 (22:47 +0000)]
added comments

18 years agoremove duplicate "User disable" string
Brian Paul [Fri, 15 Jul 2005 20:17:02 +0000 (20:17 +0000)]
remove duplicate "User disable" string

18 years agoredo previous check-in, just set ARCH_FLAGS = -m32
Brian Paul [Fri, 15 Jul 2005 14:31:31 +0000 (14:31 +0000)]
redo previous check-in, just set ARCH_FLAGS = -m32

18 years agodefine CFLAGS and CXXflags with -m32 (Egbert Eich)
Brian Paul [Fri, 15 Jul 2005 13:58:58 +0000 (13:58 +0000)]
define CFLAGS and CXXflags with -m32 (Egbert Eich)

18 years agoreplace gcc with $(CC) (Egbert Eich)
Brian Paul [Fri, 15 Jul 2005 13:55:20 +0000 (13:55 +0000)]
replace gcc with $(CC) (Egbert Eich)

18 years agoeglgears demo (Dane Rushton)
Brian Paul [Thu, 14 Jul 2005 23:16:41 +0000 (23:16 +0000)]
eglgears demo (Dane Rushton)

18 years agoadded a few more fallbackStrings (Andreas Stenglein)
Brian Paul [Thu, 14 Jul 2005 23:10:21 +0000 (23:10 +0000)]
added a few more fallbackStrings (Andreas Stenglein)

18 years agoUse the LDEXPF wrapper macro.
Keith Whitwell [Wed, 13 Jul 2005 17:49:22 +0000 (17:49 +0000)]
Use the LDEXPF wrapper macro.

18 years agoAdd a LDEXPF wrapper macro.
Keith Whitwell [Wed, 13 Jul 2005 17:47:40 +0000 (17:47 +0000)]
Add a LDEXPF wrapper macro.

18 years agoWrap RESTORE_FPU/RND_NEG_FPU declarations with check for USE_SSE_ASM.
Keith Whitwell [Wed, 13 Jul 2005 13:50:31 +0000 (13:50 +0000)]
Wrap RESTORE_FPU/RND_NEG_FPU declarations with check for USE_SSE_ASM.

18 years agoCache texenv programs to avoid repeated compilation (Ben Skeggs)
Keith Whitwell [Mon, 11 Jul 2005 10:10:38 +0000 (10:10 +0000)]
Cache texenv programs to avoid repeated compilation (Ben Skeggs)

18 years agoAdd runtime compiled x87 implementations for most of the remaining
Keith Whitwell [Sun, 10 Jul 2005 11:23:10 +0000 (11:23 +0000)]
Add runtime compiled x87 implementations for most of the remaining
opcodes.  When enabled via environment vars, gears runs and almost
looks right but other apps are still quite buggy.

18 years agoAdd lots of x87 fpu instructions.
Keith Whitwell [Sun, 10 Jul 2005 11:14:00 +0000 (11:14 +0000)]
Add lots of x87 fpu instructions.

19 years agoRestore linux-x86-32 config for Brian.
Ian Romanick [Fri, 8 Jul 2005 21:55:56 +0000 (21:55 +0000)]
Restore linux-x86-32 config for Brian.

19 years agoPut back the glPopMatrix. This test was derived from blendminmax.c.
Ian Romanick [Thu, 7 Jul 2005 20:43:01 +0000 (20:43 +0000)]
Put back the glPopMatrix.  This test was derived from blendminmax.c.
When extra code was cut from blendminmax.c's Display function, the
glPopMatrix call was also accidentally cut.

19 years agoCorrect the comments in the file headers. Oops.
Ian Romanick [Thu, 7 Jul 2005 19:35:30 +0000 (19:35 +0000)]
Correct the comments in the file headers.  Oops.

19 years agoAdd regression test for bug #3101.
Ian Romanick [Thu, 7 Jul 2005 19:34:06 +0000 (19:34 +0000)]
Add regression test for bug #3101.

19 years agoRe-enable r200InitSpanFuncs, which was ifdefed out (probably by mistake?),
Roland Scheidegger [Wed, 6 Jul 2005 12:49:46 +0000 (12:49 +0000)]
Re-enable r200InitSpanFuncs, which was ifdefed out (probably by mistake?),
so r200SetBuffer, r200SpanRenderStart and r200SpanRenderFinish get called again.
Bugzilla #3705, #3706.

19 years agoThe old MESA_PBUFFER_ALLOC() function allocated memory on 512-byte boundaries.
Brian Paul [Tue, 5 Jul 2005 14:13:42 +0000 (14:13 +0000)]
The old MESA_PBUFFER_ALLOC() function allocated memory on 512-byte boundaries.
Restore that behavior with new _mesa_alloc_texmemory() function.
Should fix via_sse_memcpy() problem in found with flightgear.

19 years agoPut default back to the normal DRM path
Jon Smirl [Sat, 2 Jul 2005 21:28:01 +0000 (21:28 +0000)]
Put default back to the normal DRM path

19 years agoAdd support for assembly (static) dispatch functions on x86-64. This
Ian Romanick [Sat, 2 Jul 2005 08:29:57 +0000 (08:29 +0000)]
Add support for assembly (static) dispatch functions on x86-64.  This
is basically patch #2939 from X.org bugzilla #3379.  This does *not*
fix the bug as it does not dynamically generate stubs at run-time.  It
just gets things one step closer.

19 years agolinux-x86-32 is unnecessary. The same thing can be acomplished by
Ian Romanick [Sat, 2 Jul 2005 07:48:41 +0000 (07:48 +0000)]
linux-x86-32 is unnecessary.  The same thing can be acomplished by
'make linux-x86 ARCH_FLAGS=-m32'.

19 years agoMassive refactor of (most of) the Linux config files. This reduces
Ian Romanick [Sat, 2 Jul 2005 07:38:40 +0000 (07:38 +0000)]
Massive refactor of (most of) the Linux config files.  This reduces
the length of each config and brings a lot of much needed uniformity
to them.

19 years agoAdd $(CFLAGS) to the link commands. This makes 'make linux-x86
Ian Romanick [Sat, 2 Jul 2005 07:12:44 +0000 (07:12 +0000)]
Add $(CFLAGS) to the link commands.  This makes 'make linux-x86
ARCH_FLAGS=-m32' work correctly on x86-64 systems.

19 years agoMake linux-x86 more like the other linux configs.
Ian Romanick [Sat, 2 Jul 2005 07:11:54 +0000 (07:11 +0000)]
Make linux-x86 more like the other linux configs.

19 years agoExpose the fact that we do not do either selection of feedback buffers - either with...
Vladimir Dergachev [Sat, 2 Jul 2005 01:09:10 +0000 (01:09 +0000)]
Expose the fact that we do not do either selection of feedback buffers - either with software or hardware rendering.

19 years agoAdding RV350_NJ ID.
Jerome Glisse [Fri, 1 Jul 2005 21:26:43 +0000 (21:26 +0000)]
Adding RV350_NJ ID.

19 years agoAdapt extension string to new GL dispatch schema proposed
Jerome Glisse [Fri, 1 Jul 2005 21:22:05 +0000 (21:22 +0000)]
Adapt extension string to new GL dispatch schema proposed
by Idr. This  patch is based on Idr patch to radeon driver.
Change #if 1 to #if 0 (r300_context.c:l69) for old dispatch
tab.

19 years agoUpdate notes with VC7 info.
Karl Schultz [Fri, 1 Jul 2005 21:08:00 +0000 (21:08 +0000)]
Update notes with VC7 info.

19 years agoAdd windows VC7 project files to filelist for tar/zip files.
Karl Schultz [Fri, 1 Jul 2005 20:31:41 +0000 (20:31 +0000)]
Add windows VC7 project files to filelist for tar/zip files.

19 years agoVC7 project file for building glut lib
Karl Schultz [Fri, 1 Jul 2005 20:25:57 +0000 (20:25 +0000)]
VC7 project file for building glut lib

19 years agoVC7 project file for gears demo
Karl Schultz [Fri, 1 Jul 2005 20:25:23 +0000 (20:25 +0000)]
VC7 project file for gears demo

19 years agoVC7 Solution file for building glut and demos
Karl Schultz [Fri, 1 Jul 2005 20:24:49 +0000 (20:24 +0000)]
VC7 Solution file for building glut and demos

19 years agoVC7 project file for osmesa
Karl Schultz [Fri, 1 Jul 2005 20:23:52 +0000 (20:23 +0000)]
VC7 project file for osmesa

19 years agoVC7 project file for core mesa lib
Karl Schultz [Fri, 1 Jul 2005 20:23:23 +0000 (20:23 +0000)]
VC7 project file for core mesa lib

19 years agoVC7 project file for glu
Karl Schultz [Fri, 1 Jul 2005 20:22:41 +0000 (20:22 +0000)]
VC7 project file for glu

19 years agoVC7 project file for gdi driver
Karl Schultz [Fri, 1 Jul 2005 20:21:45 +0000 (20:21 +0000)]
VC7 project file for gdi driver

19 years agoVisual Studio 7 solution file for mesa lib
Karl Schultz [Fri, 1 Jul 2005 20:19:47 +0000 (20:19 +0000)]
Visual Studio 7 solution file for mesa lib

19 years agoDon't #define __FUNCTION__ on a Microsoft C compiler new enough to have it.
Karl Schultz [Fri, 1 Jul 2005 20:11:46 +0000 (20:11 +0000)]
Don't #define __FUNCTION__ on a Microsoft C compiler new enough to have it.

19 years agoSet fp->Opcode for OP_TEX_KILL case, fix from Ben Skeggs.
Keith Whitwell [Fri, 1 Jul 2005 17:12:29 +0000 (17:12 +0000)]
Set fp->Opcode for OP_TEX_KILL case, fix from Ben Skeggs.

19 years agoAdd new files to project.
Karl Schultz [Fri, 1 Jul 2005 15:59:33 +0000 (15:59 +0000)]
Add new files to project.

19 years agoUse frexp on Windows; frexpf is not available.
Karl Schultz [Fri, 1 Jul 2005 15:58:02 +0000 (15:58 +0000)]
Use frexp on Windows; frexpf is not available.

19 years agoFix a prototype
Karl Schultz [Fri, 1 Jul 2005 15:56:14 +0000 (15:56 +0000)]
Fix a prototype

19 years agoconvert sis and radeon driver to use spantmp2 instead of spantmp template. Remove...
Roland Scheidegger [Fri, 1 Jul 2005 11:28:14 +0000 (11:28 +0000)]
convert sis and radeon driver to use spantmp2 instead of spantmp template. Remove old (pre-renderbuffer) span code instead of converting that too. Remove this old code from mach64 (the dead code was not fully converted to spantmp2 previously) too.

19 years agocomment-out some unused code to silence warnings
Brian Paul [Fri, 1 Jul 2005 02:03:33 +0000 (02:03 +0000)]
comment-out some unused code to silence warnings

19 years agoreplace some free() calls with _mesa_free()
Brian Paul [Fri, 1 Jul 2005 02:03:00 +0000 (02:03 +0000)]
replace some free() calls with _mesa_free()

19 years agoupdates to file list for tarballs
Brian Paul [Fri, 1 Jul 2005 01:55:30 +0000 (01:55 +0000)]
updates to file list for tarballs

19 years agofix dependencies
Brian Paul [Fri, 1 Jul 2005 01:54:38 +0000 (01:54 +0000)]
fix dependencies

19 years agoadded some glGetRenderbufferParameterivEXT calls, printfs, and assertions
Brian Paul [Fri, 1 Jul 2005 01:34:29 +0000 (01:34 +0000)]
added some glGetRenderbufferParameterivEXT calls, printfs, and assertions

19 years agofix typo in assertions
Brian Paul [Fri, 1 Jul 2005 01:30:03 +0000 (01:30 +0000)]
fix typo in assertions

19 years agoMove the PYTHON2 and PYTHON_FLAGS assignments to configs/current, and
Brian Paul [Fri, 1 Jul 2005 01:27:00 +0000 (01:27 +0000)]
Move the PYTHON2 and PYTHON_FLAGS assignments to configs/current, and
include $(TOP)/configs/current in glapi/Makefile so those vars can be
easily overridden by any system config, if needed.

19 years agoRemove NEW_RENDERBUFFER stuff.
Brian Paul [Fri, 1 Jul 2005 01:22:25 +0000 (01:22 +0000)]
Remove NEW_RENDERBUFFER stuff.
Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when
all the drivers are updated to no longer need the SetBuffer() function.

19 years agoremove OLD_RENDERBUFFER code
Brian Paul [Fri, 1 Jul 2005 01:10:36 +0000 (01:10 +0000)]
remove OLD_RENDERBUFFER code

19 years agoremove OLD_RENDERBUFFER stuff
Brian Paul [Fri, 1 Jul 2005 01:08:29 +0000 (01:08 +0000)]
remove OLD_RENDERBUFFER stuff

19 years agominor fixes
Brian Paul [Fri, 1 Jul 2005 01:04:31 +0000 (01:04 +0000)]
minor fixes

19 years agoremove common macros used in the span functions of most drivers from the individual...
Roland Scheidegger [Fri, 1 Jul 2005 00:08:46 +0000 (00:08 +0000)]
remove common macros used in the span functions of most drivers from the individual drivers and put them in common code. It is still possible for a driver to define its own macros if it has special needs. This affects CLIPPIXEL, CLIPSPAN, HW_CLIPLOOP, HW_ENDCLIPLOOP, and for drivers using the spantmp2 template also GET_SRC_PTR and GET_DST_PTR.

19 years agoReplace add_newer_entrypoints (src/mesa/main/context.c) with
Ian Romanick [Thu, 30 Jun 2005 16:00:48 +0000 (16:00 +0000)]
Replace add_newer_entrypoints (src/mesa/main/context.c) with
device-specific code.  A new Python script
(src/mesa/glapi/extension_helper.py) generates a list of all
entry-points for all known extensions.  Each driver the selects only
the extensions that it needs and enables the via either
driInitExtensions or driInitSingleExtension.

This code has been compile-tested on a drivers, but has only been
run-tested on mga and i915 (on i830 hardware).

These changes were discussed at length on the mesa3d-dev mailing list.

http://marc.theaimsgroup.com/?t=111947074700001&r=1&w=2

19 years agoremove \n from warning message string
Brian Paul [Thu, 30 Jun 2005 14:24:44 +0000 (14:24 +0000)]
remove \n from warning message string

19 years agoadded newline at end of file
Brian Paul [Thu, 30 Jun 2005 14:23:40 +0000 (14:23 +0000)]
added newline at end of file

19 years agoAdd a set of predicate functions for testing matrices instead of directly
Brian Paul [Thu, 30 Jun 2005 14:22:23 +0000 (14:22 +0000)]
Add a set of predicate functions for testing matrices instead of directly
testing the flags field.
Move definition of all the MAT_FLAGs into the m_matrix.c file since they're
now private.

19 years agoRedo all the GL_LINEAR interpolation code in terms of LERP macros/functions.
Brian Paul [Thu, 30 Jun 2005 13:42:10 +0000 (13:42 +0000)]
Redo all the GL_LINEAR interpolation code in terms of LERP macros/functions.
This cleans up and simplifies the arithmetic quite a bit.

19 years agoFix crashes with pixel readback when using the optimized assembly functions.
Roland Scheidegger [Thu, 30 Jun 2005 11:42:56 +0000 (11:42 +0000)]
Fix crashes with pixel readback when using the optimized assembly functions.
Pixel count can be negative (this could be fixed elsewhere), so adapt the
functions to work with such inputs correctly (same behaviour as non-optimized
functions).
Bugzilla #2317
Submitted by idr

19 years ago-"fix" page flipping
Aapo Tahkola [Thu, 30 Jun 2005 04:37:19 +0000 (04:37 +0000)]
-"fix" page flipping
-use depth tiling if tiling is enabled

19 years agofix a few glitches
Brian Paul [Thu, 30 Jun 2005 02:34:07 +0000 (02:34 +0000)]
fix a few glitches

19 years agofix Darwin dynamic lib naming
Brian Paul [Thu, 30 Jun 2005 02:33:25 +0000 (02:33 +0000)]
fix Darwin dynamic lib naming

19 years agojust code clean-ups and new comments
Brian Paul [Tue, 28 Jun 2005 03:48:08 +0000 (03:48 +0000)]
just code clean-ups and new comments

19 years agoUncomment a couple of helper functions.
Vladimir Dergachev [Mon, 27 Jun 2005 18:46:31 +0000 (18:46 +0000)]
Uncomment a couple of helper functions.
Fix slipup from CVS update that was commented out and did not show up during compilation.

19 years agoRename unchecked state to match DRM driver.
Vladimir Dergachev [Mon, 27 Jun 2005 15:56:14 +0000 (15:56 +0000)]
Rename unchecked state to match DRM driver.
Emit wait idle and pacify r300 before emitting state - this seems to improve stability.

19 years agoinclude t_vp_build.h
Brian Paul [Mon, 27 Jun 2005 00:45:36 +0000 (00:45 +0000)]
include t_vp_build.h

19 years agoremove unused MEMSET16 macro
Brian Paul [Mon, 27 Jun 2005 00:39:33 +0000 (00:39 +0000)]
remove unused MEMSET16 macro

19 years agoGet rid of the MESA_PBUFFER_ALLOC/FREE() macros.
Brian Paul [Mon, 27 Jun 2005 00:34:17 +0000 (00:34 +0000)]
Get rid of the MESA_PBUFFER_ALLOC/FREE() macros.
If that stuff is still needed, lots of other updates are needed anyway.
Also, some misc MALLOC/FREE -> _mesa_malloc/free() changes.

19 years agoadded _tnl_ProgramCacheDestroy() prototype
Brian Paul [Mon, 27 Jun 2005 00:30:56 +0000 (00:30 +0000)]
added _tnl_ProgramCacheDestroy() prototype

19 years agomake create_new_program() static
Brian Paul [Mon, 27 Jun 2005 00:30:37 +0000 (00:30 +0000)]
make create_new_program() static

19 years agoFix crashes during rasterization fallback by avoiding _tnl_need_projected_coords
Eric Anholt [Sun, 26 Jun 2005 21:57:23 +0000 (21:57 +0000)]
Fix crashes during rasterization fallback by avoiding _tnl_need_projected_coords
during fallbacks.  In one case, _swsetup_Wakeup had just been called, covering
the need there, and in the other case, we can simply exit the entire
radeonChooseVertexState function, knowing that it will be called again once we
leave the fallback.

Bugzilla #: 2516
Submitted by: sroland

19 years agoRemove the #if 0-ed out old span code.
Eric Anholt [Sun, 26 Jun 2005 21:54:43 +0000 (21:54 +0000)]
Remove the #if 0-ed out old span code.

19 years agoExplain the reason for TCL fallback when GL_SPHERE_MAP happens with
Eric Anholt [Sun, 26 Jun 2005 21:53:11 +0000 (21:53 +0000)]
Explain the reason for TCL fallback when GL_SPHERE_MAP happens with
RADEON_DEBUG=fall.

19 years agoZero out the ENGPACKET allocated on the stack, to avoid sending uninitialized
Eric Anholt [Sun, 26 Jun 2005 21:02:58 +0000 (21:02 +0000)]
Zero out the ENGPACKET allocated on the stack, to avoid sending uninitialized
values to reserved fields on the card, resulting in all-black output and
sometimes hangs.

Submitted by: Thomas Winischhofer

19 years agofix for-loop in _mesa_GetDouble to avoid out of bounds memory read
Brian Paul [Sun, 26 Jun 2005 20:08:23 +0000 (20:08 +0000)]
fix for-loop in _mesa_GetDouble to avoid out of bounds memory read

19 years agocheck for null oldBuffer in _mesa_realloc(), cleaned up some comments
Brian Paul [Sun, 26 Jun 2005 19:57:17 +0000 (19:57 +0000)]
check for null oldBuffer in _mesa_realloc(), cleaned up some comments

19 years agoneed parenthesis in realloc call
Brian Paul [Sun, 26 Jun 2005 19:53:52 +0000 (19:53 +0000)]
need parenthesis in realloc call

19 years agoIgnore files generated as part of the build process.
Ian Romanick [Fri, 24 Jun 2005 18:54:57 +0000 (18:54 +0000)]
Ignore files generated as part of the build process.

19 years agoFix non-x86 specific builds. The changes from glTexImage3DEXT to
Ian Romanick [Fri, 24 Jun 2005 18:35:31 +0000 (18:35 +0000)]
Fix non-x86 specific builds.  The changes from glTexImage3DEXT to
glTexImage3D that caused me so many problems during the re-development
of the API scripts reared its ugly head again.  This has been fixed by
tracking the parameter string for each entry-point individually.

This has the annoying side-effect that the names of the parameters in
all aliases of a function must be the same or gl_apitemp.py will
generate bad code. :(  The changes in
src/mesa/glapi/{gl_API.xml,glapitable.h} and src/glx/x11/* are caused
by fixing the parameter names in various function aliases that didn't
match.

Reported by: Eric Anholt, Jacob Jansen

19 years agoFixed the XCB implementation when always_array is true, thanks to Ian Romanick for...
Jeremy Kolb [Fri, 24 Jun 2005 02:28:02 +0000 (02:28 +0000)]
Fixed the XCB implementation when always_array is true, thanks to Ian Romanick for pointing it out.  Please review.

19 years agoRemove the xmesa_set_buffer() function. No longer needed since the
Brian Paul [Thu, 23 Jun 2005 15:09:32 +0000 (15:09 +0000)]
Remove the xmesa_set_buffer() function.  No longer needed since the
span functions pass in a gl_renderbuffer to indicate which color
buffer should be drawn into.  Optimized line/triangle routines are
smart enough to know which buffer to draw into as well.
The swrast->SetBuffer() routine should eventually be removed from
all drivers.

19 years agoMark GenQueriesARB at 'always_array="true"'. This eliminates the need
Ian Romanick [Wed, 22 Jun 2005 17:11:20 +0000 (17:11 +0000)]
Mark GenQueriesARB at 'always_array="true"'.  This eliminates the need
to special-case the handling of that function in glX_proto_send.py.

19 years agoFixed a bug where GenQueriesARB was generating the wrong code for XCB and wouldn...
Jeremy Kolb [Wed, 22 Jun 2005 02:36:23 +0000 (02:36 +0000)]
Fixed a bug where GenQueriesARB was generating the wrong code for XCB and wouldn't compile.  Not sure how that slipped through before but it should work now.