mesa.git
18 years agoMore EGL prep. No impact on anything outside of EGL
Jon Smirl [Fri, 5 Aug 2005 03:33:59 +0000 (03:33 +0000)]
More EGL prep. No impact on anything outside of EGL

18 years agoNew files for radeon egl driver.
Jon Smirl [Thu, 4 Aug 2005 22:23:34 +0000 (22:23 +0000)]
New files for radeon egl driver.
Still a work in progress.

18 years agoConvert all instances of XTHREADS to USE_XTHREADS. This fixes one of
Ian Romanick [Wed, 3 Aug 2005 23:05:25 +0000 (23:05 +0000)]
Convert all instances of XTHREADS to USE_XTHREADS.  This fixes one of
serveral things that are broken when building on a system with X.org 7.0rc0
installed.

18 years agoAdd color tiling support to miniglx for radeon
Dave Airlie [Wed, 3 Aug 2005 10:22:31 +0000 (10:22 +0000)]
Add color tiling support to miniglx for radeon
(Stephane Marchesin + Dave Airlie)

18 years agoFix build problems related to finding Xthreads.h.
Ian Romanick [Mon, 1 Aug 2005 16:30:24 +0000 (16:30 +0000)]
Fix build problems related to finding Xthreads.h.

18 years agoRemove unused structures and data fields. These had been left in because
Ian Romanick [Fri, 29 Jul 2005 17:30:18 +0000 (17:30 +0000)]
Remove unused structures and data fields.  These had been left in because
DRI drivers using the "old" interface relied on certain fields being at
certain offsets.  Removing the structures would break that.  Now that the
old interface is no longer supported, the dead data can finally die.

18 years agoAdd a new config called linux-indirect. This build the GLX libGL just like
Ian Romanick [Fri, 29 Jul 2005 17:25:50 +0000 (17:25 +0000)]
Add a new config called linux-indirect.  This build the GLX libGL just like
linux-dri, but it disables support for direct-rendering in it.  This config
mainly exists so that I can verify that changes to libGL haven't broken
builds on non-DRI platforms.

18 years agoLeave the AGP_BASE code in. It is pointless to bump the interface
Jon Smirl [Fri, 29 Jul 2005 16:53:02 +0000 (16:53 +0000)]
Leave the AGP_BASE code in. It is pointless to bump the interface
for X on a miniglx fix. It can be removed later.

18 years agoRemove OUTREG(RADEON_AGP_BASE, info->ringHandle); from DRI driver
Jon Smirl [Fri, 29 Jul 2005 13:58:22 +0000 (13:58 +0000)]
Remove OUTREG(RADEON_AGP_BASE, info->ringHandle); from DRI driver
Code is already in DRM driver to do this.

18 years agoCommit Ian's fixes from Bug 3877
Jon Smirl [Fri, 29 Jul 2005 00:48:12 +0000 (00:48 +0000)]
Commit Ian's fixes from Bug 3877
I have tested these on miniglx and they seem to be working.
I'm sure Dave will give them a better test.

18 years agoFix a == vs !- typo for glx_enable_extension
Jon Smirl [Fri, 29 Jul 2005 00:19:36 +0000 (00:19 +0000)]
Fix a == vs !- typo for glx_enable_extension

18 years agoUse the routines supplied in the __DRIinterfaceMethods structure to create a
Ian Romanick [Thu, 28 Jul 2005 23:33:18 +0000 (23:33 +0000)]
Use the routines supplied in the __DRIinterfaceMethods structure to create a
destroy __GLcontextModes structures.  This eliminates the need for DRI
drivers to ever link with glcontextmodes.c.

18 years agoglxEnableExtension is a platform-specific function exported by the loader.
Ian Romanick [Thu, 28 Jul 2005 21:57:17 +0000 (21:57 +0000)]
glxEnableExtension is a platform-specific function exported by the loader.
Therefore, drivers should not require it to run.

18 years agoRemove '#if 0' block that was accidentally left in.
Ian Romanick [Thu, 28 Jul 2005 20:55:26 +0000 (20:55 +0000)]
Remove '#if 0' block that was accidentally left in.

18 years agoSPARC, DRI interface changes for 6.3.1
Brian Paul [Thu, 28 Jul 2005 02:46:26 +0000 (02:46 +0000)]
SPARC, DRI interface changes for 6.3.1

18 years agoThe dri/*/depend files don't exist on a raw check-out, and that makes 'make
Ian Romanick [Thu, 28 Jul 2005 01:15:45 +0000 (01:15 +0000)]
The dri/*/depend files don't exist on a raw check-out, and that makes 'make
tarballs' have issues.

18 years agoMajor rip-up of internal function insertion interface. The old
Ian Romanick [Thu, 28 Jul 2005 00:29:51 +0000 (00:29 +0000)]
Major rip-up of internal function insertion interface.  The old
_glapi_add_entrypoint has been replaced by a new routine called
_glapi_add_dispatch.  This new routine dynamically assignes dispatch offsets
to functions added.  This allows IHVs to add support for extension functions
that do not have assigned dispatch offsets.

It also means that a driver has no idea what offset will be assigned to a
function.  The vast majority of the changes in this commit account for that.
An additional table, driDispatchRemapTable, is added.  Functions not in the
Linux OpenGL ABI (i.e., anything not in GL 1.2 + ARB_multitexture) has a
fixed offset in this new table.  The entry in this table specifies the
offset in of the function in the real dispatch table.

The internal interface was also bumped from version 20050725 to 20050727.

This has been tested with various programs in progs/demos on:

radeon (Radeon Mobility M6)
r128 (Rage 128 Pro)
mga (G400)

18 years agoFix SPARC assembly for 64-bit
Ian Romanick [Thu, 28 Jul 2005 00:11:10 +0000 (00:11 +0000)]
Fix SPARC assembly for 64-bit

- The test for whether or not we're building for 64-bit is '#ifdef __arch64__'.
 This appears to be correct on both Linux and Solaris.

- The test for Solaris is now '#if defined(SVR4) || defined(__SVR4) ||
defined(__svr4__)'.  GCC 3.4.0 has all three defined on Solaris 9.

- Enables assembly language clip routines.

- Fixes to make GLSL code build on Solaris.

- Update gl_SPARC_asm.py.

18 years agoThis precious BeOS include file was lost since some released MesaLibs. Fixed. ;-)
Philippe Houdoin [Wed, 27 Jul 2005 19:56:33 +0000 (19:56 +0000)]
This precious BeOS include file was lost since some released MesaLibs. Fixed. ;-)

18 years agotest for the proper drm version, at least 1.17 is required
Roland Scheidegger [Wed, 27 Jul 2005 18:21:34 +0000 (18:21 +0000)]
test for the proper drm version, at least 1.17 is required

18 years agotypo
Alan Hourihane [Tue, 26 Jul 2005 23:09:50 +0000 (23:09 +0000)]
typo

18 years agosupport GLX_DIRECT_COLOR in 1.4.0
Alan Hourihane [Tue, 26 Jul 2005 23:06:10 +0000 (23:06 +0000)]
support GLX_DIRECT_COLOR in 1.4.0

18 years agoRemove the last remnants of GLX_BUILT_IN_XMESA. This allows the removal of
Ian Romanick [Tue, 26 Jul 2005 22:53:38 +0000 (22:53 +0000)]
Remove the last remnants of GLX_BUILT_IN_XMESA.  This allows the removal of
the evil, ugly GLX_PREFIX macro as well.

18 years agoBump the required ddx to 1.4.0 as drmAddress has been removed so that 32/64bit
Alan Hourihane [Tue, 26 Jul 2005 21:53:16 +0000 (21:53 +0000)]
Bump the required ddx to 1.4.0 as drmAddress has been removed so that 32/64bit
combinations work.

18 years agoNo, really, get rid of all the remaining references to DRI_USE_NEW_INTERFACE.
Ian Romanick [Tue, 26 Jul 2005 05:57:24 +0000 (05:57 +0000)]
No, really, get rid of all the remaining references to DRI_USE_NEW_INTERFACE.
A couple other remnants of the old interfaces hit the dust too.  Thanks
Jon. :)

18 years agoQuote $(CC) and $(CXX) so that 'CC=ccache gcc' and 'CXX=ccache g++' will
Ian Romanick [Tue, 26 Jul 2005 05:55:56 +0000 (05:55 +0000)]
Quote $(CC) and $(CXX) so that 'CC=ccache gcc' and 'CXX=ccache g++' will
work again.

18 years agoFixes the glXGetProcAddress portion of the interface. Most of the functions
Ian Romanick [Tue, 26 Jul 2005 02:44:01 +0000 (02:44 +0000)]
Fixes the glXGetProcAddress portion of the interface.  Most of the functions
that are currently obtained via glXGetProcAddress and all of the XF86DRI
functions are replaced with a funciton table.  This table will be passed to
__driCreateNewScreen.

One of the functions in the table is getProcAddress.  This allows some
loaders to expose functionality not in all loaders.  This will be immediatly
used for glxEnableExtension (formerly known to drivers as
__glXScrEnableExtension).  libGL (and in the future libglx) expose this
function so that drivers can enable GLX extensions.  libEGL should exposed
eglEnableExtension to enable EGL extensions.  The same function cannot be
used for both because the extensions have different names and (possibly)
different semantics.  Drivers can optionally use one, both, or neither.

The key parts are in the __DRIinterfaceMethodsRec structure in
dri_interface.h.  A pointer to one of these structures is passed into
__driCreateNewScreen.  Because of this, the version of the API is bumped to
20050725.  Since the previous version(s) were never in a release, their
existance is erased.

I was actually a little surprised by how much code this cuts from the
drivers.  A lot of glXGetProcAddress calls disappear, and a lot of
version checks go with them.  Nice.

The one thing I'm not sure of is removing __glXInitialize.  For some
reason that function was in the glXGetProcAddress table, but *nothing*
in the Mesa tree used it.  Did something with DRI conf. use this
function?  It seems odd...

18 years agoimprove comments about win[0..3] values (bug 2554)
Brian Paul [Tue, 26 Jul 2005 01:04:53 +0000 (01:04 +0000)]
improve comments about win[0..3] values (bug 2554)

18 years agoFix bug 1858 - array subscript out of range in gamma driver.
Brian Paul [Tue, 26 Jul 2005 00:10:53 +0000 (00:10 +0000)]
Fix bug 1858 - array subscript out of range in gamma driver.
Set ctx->Const.MaxTextureLevels = GAMMA_TEX_MAXLEVELS = 12
Remove bogus WRITE(level 12).
Max gamma texture size is 2kx2k  (note: 2k = 1 << (MaxLevels - 1))

18 years agoAdd license/copyright.
Brian Paul [Mon, 25 Jul 2005 23:49:50 +0000 (23:49 +0000)]
Add license/copyright.
Add -h/--help option for usage.
Minor clean-ups.

18 years agoAdded -linker option to mklib, used to specify a particular program for
Brian Paul [Mon, 25 Jul 2005 22:59:58 +0000 (22:59 +0000)]
Added -linker option to mklib, used to specify a particular program for
linking, if relevant.
Updated Makefiles to use -linker option instead of setting CC, CXX env vars.

18 years agoGut a few more dead bits. Replace uses of the CreateNewScreenFunc typedef
Ian Romanick [Sun, 24 Jul 2005 07:38:23 +0000 (07:38 +0000)]
Gut a few more dead bits.  Replace uses of the CreateNewScreenFunc typedef
(from glxclient.h) with PFNCREATENEWSCREEN (from dri_interface.h).

Remove the prototype for __driCreateScreen and fix the prototype for
__driCreateNewScreen (append the API version) in dri_interface.h.

18 years agoAll elements of pre-DRI_NEW_INTERFACE_ONLY are removed. This allows
Ian Romanick [Sun, 24 Jul 2005 06:29:14 +0000 (06:29 +0000)]
All elements of pre-DRI_NEW_INTERFACE_ONLY are removed.  This allows
1,402 lines of code to be removed from Mesa (drivers and libGL).  The
big winner is dri_util.c.

Primary changes are:

1. Remove all "deprecated" entry-points from the various structures in
dri_interface.h.

2. Rename the remaining fields to removed "version numbers."  So,
bindContext3 becomes bindContext.  Functions with "New" in the name
(e.g., CreateNewContext) were *not* changed, but that is an option.
Having "New" in the name is less annoying to me than having "3" in the name.

3. Remove all compatibility code that handles cases where the driver or
the loader is too old to support the latest interfaces.

4. Append the API version to the __driCreateNewScreen function name.
This is currently done by hand.  In the future (i.e., the next time we
make an incompatible change to the interface) we'll want to come up with
a better way to do this.  This prevents old loaders from being able to load
new (incompatible) drivers.

5. Bump the API version to 20050722.  All drivers (by way of dri_util.c)
require this version.

6. All drivers are *required* to expose GLX_SGIX_fbconfig and
GLX_OML_swap_method (or the moral equivalents).  Support for these
functions in implicit in the use of the "new" interface.

7. Some cases still exist that need to be compiled differently in a loader
or core Mesa versus in a driver.  These are identified by the define
IN_DRI_DRIVER.

18 years agoAdd two aliases for some PointParameters entrypoints for libglx compatibility.
Adam Jackson [Sat, 23 Jul 2005 02:09:58 +0000 (02:09 +0000)]
Add two aliases for some PointParameters entrypoints for libglx compatibility.
Doing this here rather than on the GLX side since the X monolith hasn't had
Mesa 6.3 imported yet.

idr, I know this is touching a generated file, but I haven't figured out what
needs changing in the generator scripts to make this change happen.  If you
could add that I'd appreciate it.

18 years agoBreak the long list of MAIN_FILES and DEMO_FILES into subgroups.
Brian Paul [Fri, 22 Jul 2005 15:52:46 +0000 (15:52 +0000)]
Break the long list of MAIN_FILES and DEMO_FILES into subgroups.
rm/touch the depend files when making tarballs so they don't include
RedHat-specific paths (bug 3842).

18 years ago ----------------------------------------------------------------------
Jouk Jansen [Fri, 22 Jul 2005 09:30:54 +0000 (09:30 +0000)]
 ----------------------------------------------------------------------
 Committing in .

 _mesa_sprintf crashes on OpenVMS -> replaced it by the OS-supplied sprintf

 Modified Files:
  Mesa/src/mesa/drivers/x11/fakeglx.c
 ----------------------------------------------------------------------

18 years agosome GLuint idx -> GLint idx changes
Brian Paul [Fri, 22 Jul 2005 02:55:36 +0000 (02:55 +0000)]
some GLuint idx -> GLint idx changes

18 years agoadded vp negative addressing bug fix
Brian Paul [Fri, 22 Jul 2005 02:54:14 +0000 (02:54 +0000)]
added vp negative addressing bug fix

18 years agoMake the vertex program source register Index field a signed int since
Brian Paul [Fri, 22 Jul 2005 02:53:38 +0000 (02:53 +0000)]
Make the vertex program source register Index field a signed int since
relative addressing can be negative.
Change some GLuint indexes to GLint in the t_vp_build.c file.
Added PROGRAM_UNDEFINED token for initializing the register File field to
avoid a gcc 4.0 warning.

18 years agobump version to 6.3.1
Brian Paul [Thu, 21 Jul 2005 18:46:49 +0000 (18:46 +0000)]
bump version to 6.3.1

18 years ago6.3.1 updates
Brian Paul [Thu, 21 Jul 2005 18:45:54 +0000 (18:45 +0000)]
6.3.1 updates

18 years agoupdated with DRI building instructions
Brian Paul [Thu, 21 Jul 2005 18:45:44 +0000 (18:45 +0000)]
updated with DRI building instructions

18 years agobump version to 6.3.1 and include DRI/GLX files in tarballs
Brian Paul [Thu, 21 Jul 2005 18:44:52 +0000 (18:44 +0000)]
bump version to 6.3.1 and include DRI/GLX files in tarballs

18 years agomake i810PrintSetupFlags() static, first param const
Brian Paul [Thu, 21 Jul 2005 18:11:24 +0000 (18:11 +0000)]
make i810PrintSetupFlags() static, first param const

18 years agofirst 6.3.1 bug fixes
Brian Paul [Thu, 21 Jul 2005 15:58:16 +0000 (15:58 +0000)]
first 6.3.1 bug fixes

18 years agos/2004/2005/
Brian Paul [Thu, 21 Jul 2005 15:57:29 +0000 (15:57 +0000)]
s/2004/2005/

18 years agocheck for FEATURE_EXT_framebuffer_object to enable EXT_framebuffer_object
Brian Paul [Thu, 21 Jul 2005 15:48:39 +0000 (15:48 +0000)]
check for FEATURE_EXT_framebuffer_object to enable EXT_framebuffer_object

18 years agoremove ^M chars, disable shading language extensions
Brian Paul [Thu, 21 Jul 2005 15:41:56 +0000 (15:41 +0000)]
remove ^M chars, disable shading language extensions

18 years agoClean up warnings in r300 code by making some symbols static, adding prototypes
Eric Anholt [Wed, 20 Jul 2005 23:24:55 +0000 (23:24 +0000)]
Clean up warnings in r300 code by making some symbols static, adding prototypes
for others, and being cleaner with types in fragment/vertex program structures.
One warning in r300_shader.c is still concerning.

18 years agoConnect the r300 bits up to the build.
Eric Anholt [Wed, 20 Jul 2005 22:08:06 +0000 (22:08 +0000)]
Connect the r300 bits up to the build.

18 years agoAdd some missing defines, copied from linux-dri.
Eric Anholt [Wed, 20 Jul 2005 22:07:29 +0000 (22:07 +0000)]
Add some missing defines, copied from linux-dri.

18 years agoForced commit to note repocopy from r300.sf.net CVS.
Eric Anholt [Wed, 20 Jul 2005 21:35:27 +0000 (21:35 +0000)]
Forced commit to note repocopy from r300.sf.net CVS.

18 years agofix some URLs
Brian Paul [Wed, 20 Jul 2005 18:25:01 +0000 (18:25 +0000)]
fix some URLs

18 years agoadded md5 checksums for 6.3
Brian Paul [Wed, 20 Jul 2005 18:20:45 +0000 (18:20 +0000)]
added md5 checksums for 6.3

18 years agomore updates for 6.3 release
Brian Paul [Wed, 20 Jul 2005 18:07:11 +0000 (18:07 +0000)]
more updates for 6.3 release

18 years agoupdates for 6.3 release
Brian Paul [Tue, 19 Jul 2005 21:01:46 +0000 (21:01 +0000)]
updates for 6.3 release

18 years agoreplace fprintf() calls with _mesa_problem()
Brian Paul [Tue, 19 Jul 2005 18:20:04 +0000 (18:20 +0000)]
replace fprintf() calls with _mesa_problem()

18 years agoremove fprintf()
Brian Paul [Tue, 19 Jul 2005 18:18:49 +0000 (18:18 +0000)]
remove fprintf()

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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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

18 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.

18 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'.

18 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.

18 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.

18 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.

18 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.

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

18 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.