mesa.git
20 years agofixed bugs in fxddtex.c
Daniel Borca [Mon, 10 May 2004 07:42:26 +0000 (07:42 +0000)]
fixed bugs in fxddtex.c
cleaned up win32 definition files

20 years agoFix solo build, add missing #ifdef NEW_INTERFACE
Jon Smirl [Sun, 9 May 2004 04:38:42 +0000 (04:38 +0000)]
Fix solo build, add missing #ifdef NEW_INTERFACE

20 years agoAdded german translation to option texture_units.
Felix Kuehling [Sat, 8 May 2004 10:08:21 +0000 (10:08 +0000)]
Added german translation to option texture_units.

20 years agoDon't mix variable definitions and other statements (fixed build on old
Eric Anholt [Sat, 8 May 2004 07:48:13 +0000 (07:48 +0000)]
Don't mix variable definitions and other statements (fixed build on old
compiler).

20 years agoAdd support for GLX_SGI_make_current_read.
Ian Romanick [Fri, 7 May 2004 22:46:37 +0000 (22:46 +0000)]
Add support for GLX_SGI_make_current_read.

20 years agoWarning clean-ups.
Ian Romanick [Fri, 7 May 2004 22:43:52 +0000 (22:43 +0000)]
Warning clean-ups.

20 years agoUses either the GLX_SGI_make_current_read or GLX 1.3 interface,
Ian Romanick [Fri, 7 May 2004 18:20:43 +0000 (18:20 +0000)]
Uses either the GLX_SGI_make_current_read or GLX 1.3 interface,
depending on which is available.

20 years agoEnable use of new DRI interface in i830 driver.
Ian Romanick [Fri, 7 May 2004 18:04:23 +0000 (18:04 +0000)]
Enable use of new DRI interface in i830 driver.

20 years agoAdd support for the 3rd and 4th texture units. The actual number of
Ian Romanick [Fri, 7 May 2004 17:30:31 +0000 (17:30 +0000)]
Add support for the 3rd and 4th texture units.  The actual number of
available units is configurable via the texture_units option.

20 years agoAdded a config option to set the number of available texture units. A
Ian Romanick [Fri, 7 May 2004 17:29:48 +0000 (17:29 +0000)]
Added a config option to set the number of available texture units.  A
German translation is still needed.

20 years agodocumentation update
Daniel Borca [Fri, 7 May 2004 06:00:53 +0000 (06:00 +0000)]
documentation update

20 years agoRefactor "classic" texture environments to be implemented in terms of
Ian Romanick [Fri, 7 May 2004 00:33:12 +0000 (00:33 +0000)]
Refactor "classic" texture environments to be implemented in terms of
ARB_texture_env_combine state.  Add support for
ARB_texture_env_crossbar.  Combiner state is only emitted for operands
that need to be emitted for the combine operation.

20 years agofix rectangle texture clamping and border-related code
Brian Paul [Thu, 6 May 2004 20:28:26 +0000 (20:28 +0000)]
fix rectangle texture clamping and border-related code

20 years agoAdded menu options to test border modes and linear/nearest filtering.
Brian Paul [Thu, 6 May 2004 20:27:32 +0000 (20:27 +0000)]
Added menu options to test border modes and linear/nearest filtering.
Adjust texcoords so we always have to sample the border.
Other misc changes.

20 years agoRemove a debug printf that should not have been left in.
Ian Romanick [Wed, 5 May 2004 21:32:16 +0000 (21:32 +0000)]
Remove a debug printf that should not have been left in.

20 years agoModified to use vertex arrays. Vertex arrays and immediate mode calls
Ian Romanick [Wed, 5 May 2004 20:17:19 +0000 (20:17 +0000)]
Modified to use vertex arrays.  Vertex arrays and immediate mode calls
are toggled with the 't' key.

20 years agoAdded support for the 3rd texture coordinate for cubemaps and 3D
Ian Romanick [Wed, 5 May 2004 20:16:17 +0000 (20:16 +0000)]
Added support for the 3rd texture coordinate for cubemaps and 3D
textures.  progs/demos/cubemap and progs/demos/stex3d seem to work
correctly at all tcl_mode settings.  x86 / SSE codegen is currently
disabled.

20 years agodon't need auto mipmaps
Brian Paul [Wed, 5 May 2004 00:28:17 +0000 (00:28 +0000)]
don't need auto mipmaps

20 years agofix a few bugs when using GL_REDUCE convolution mode
Brian Paul [Wed, 5 May 2004 00:28:01 +0000 (00:28 +0000)]
fix a few bugs when using GL_REDUCE convolution mode

20 years agodocumentation for TexImage code changes
Brian Paul [Wed, 5 May 2004 00:02:23 +0000 (00:02 +0000)]
documentation for TexImage code changes

20 years agoadded -c option to exercise convolution of glTexImage2D
Brian Paul [Tue, 4 May 2004 23:57:12 +0000 (23:57 +0000)]
added -c option to exercise convolution of glTexImage2D

20 years agofix a bug on the convolution path
Brian Paul [Tue, 4 May 2004 23:56:24 +0000 (23:56 +0000)]
fix a bug on the convolution path

20 years agoobsolete
Brian Paul [Tue, 4 May 2004 15:17:44 +0000 (15:17 +0000)]
obsolete

20 years agoremove unneeded line
Brian Paul [Tue, 4 May 2004 15:12:22 +0000 (15:12 +0000)]
remove unneeded line

20 years agoFix minor warnings found with g++.
Brian Paul [Tue, 4 May 2004 15:11:06 +0000 (15:11 +0000)]
Fix minor warnings found with g++.

20 years agotexture compression: getting warmer
Daniel Borca [Tue, 4 May 2004 06:27:06 +0000 (06:27 +0000)]
texture compression: getting warmer

20 years agoadd r200 x86 sources
Dave Airlie [Tue, 4 May 2004 00:12:22 +0000 (00:12 +0000)]
add r200 x86 sources

20 years agouse X86 sources in X86 build, use none in other
Dave Airlie [Tue, 4 May 2004 00:10:24 +0000 (00:10 +0000)]
use X86 sources in X86 build, use none in other

20 years agoswitch to X86_SOURCES
Dave Airlie [Tue, 4 May 2004 00:09:47 +0000 (00:09 +0000)]
switch to X86_SOURCES

20 years agoSkeletal fallback-only DRI driver. Initial checkin, not quite working yet.
Adam Jackson [Mon, 3 May 2004 23:33:21 +0000 (23:33 +0000)]
Skeletal fallback-only DRI driver.  Initial checkin, not quite working yet.

20 years agoremove this use the one from the DRM
Dave Airlie [Mon, 3 May 2004 11:31:29 +0000 (11:31 +0000)]
remove this use the one from the DRM

20 years agoadd linux-dri-x86 target
Dave Airlie [Mon, 3 May 2004 11:30:37 +0000 (11:30 +0000)]
add linux-dri-x86 target

20 years agothe config is included by the Makefiles that includes this file...
Dave Airlie [Mon, 3 May 2004 11:29:19 +0000 (11:29 +0000)]
the config is included by the Makefiles that includes this file...

20 years agoadd asm sources
Dave Airlie [Mon, 3 May 2004 11:28:35 +0000 (11:28 +0000)]
add asm sources

20 years agoclean up the common objects..
Dave Airlie [Mon, 3 May 2004 11:01:38 +0000 (11:01 +0000)]
clean up the common objects..

20 years agounbloat namespace
Daniel Borca [Mon, 3 May 2004 07:35:57 +0000 (07:35 +0000)]
unbloat namespace

20 years agoget rid of last few XF86DRIClipRect
Dave Airlie [Mon, 3 May 2004 06:54:54 +0000 (06:54 +0000)]
get rid of last few XF86DRIClipRect

20 years agofix up build for solo/dri
Dave Airlie [Mon, 3 May 2004 06:49:40 +0000 (06:49 +0000)]
fix up build for solo/dri

20 years agoDRM_SOURCE_PATH is in default
Dave Airlie [Mon, 3 May 2004 06:48:33 +0000 (06:48 +0000)]
DRM_SOURCE_PATH is in default

20 years agofix StoreImage calls, remove dead code (Adam Jackson)
Brian Paul [Sun, 2 May 2004 14:32:44 +0000 (14:32 +0000)]
fix StoreImage calls, remove dead code (Adam Jackson)

20 years agorestored _mesa_rescale_teximage2d()
Brian Paul [Sun, 2 May 2004 14:30:46 +0000 (14:30 +0000)]
restored _mesa_rescale_teximage2d()

20 years agominor vertex/fragment program tweaks
Brian Paul [Sat, 1 May 2004 18:28:49 +0000 (18:28 +0000)]
minor vertex/fragment program tweaks

20 years agoFXT1: getting warmer
Daniel Borca [Fri, 30 Apr 2004 09:48:21 +0000 (09:48 +0000)]
FXT1: getting warmer

20 years agoIf we can't allocate the rowimage - bail
Alan Hourihane [Fri, 30 Apr 2004 09:44:22 +0000 (09:44 +0000)]
If we can't allocate the rowimage - bail

20 years agoDefine GLX_DIRECT_RENDERING in Makefile.template
Keith Whitwell [Fri, 30 Apr 2004 09:15:58 +0000 (09:15 +0000)]
Define GLX_DIRECT_RENDERING in Makefile.template

20 years agoAMD64 changes from Ronny V. Vindenes.
Keith Whitwell [Fri, 30 Apr 2004 08:29:04 +0000 (08:29 +0000)]
AMD64 changes from Ronny V. Vindenes.

20 years agoRemove several files that are only used in the XFree86 / Xorg libGL.so.
Ian Romanick [Thu, 29 Apr 2004 22:16:29 +0000 (22:16 +0000)]
Remove several files that are only used in the XFree86 / Xorg libGL.so.
They are *not* linked into the *_dri.so drivers.

20 years agoAllow *_dri.so to build in Mesa tree with the 'linux-dri' target.
Keith Whitwell [Thu, 29 Apr 2004 12:23:39 +0000 (12:23 +0000)]
Allow *_dri.so to build in Mesa tree with the 'linux-dri' target.

20 years agoFXT1 preparations
Daniel Borca [Thu, 29 Apr 2004 09:01:41 +0000 (09:01 +0000)]
FXT1 preparations

20 years agoupdated makefiles
Daniel Borca [Wed, 28 Apr 2004 08:39:45 +0000 (08:39 +0000)]
updated makefiles

20 years agoUse the dispatch table directly instead of calling GL functions.
Ian Romanick [Tue, 27 Apr 2004 18:38:23 +0000 (18:38 +0000)]
Use the dispatch table directly instead of calling GL functions.

20 years agoRemove include of texutil.h to get build working.
Ian Romanick [Tue, 27 Apr 2004 18:37:13 +0000 (18:37 +0000)]
Remove include of texutil.h to get build working.

20 years agoupdated other makefiles
Brian Paul [Tue, 27 Apr 2004 13:41:56 +0000 (13:41 +0000)]
updated other makefiles

20 years agoRemoved the old teximage code.
Brian Paul [Tue, 27 Apr 2004 13:39:20 +0000 (13:39 +0000)]
Removed the old teximage code.
Moved all code related to specific texture compression modes into
new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).

20 years agoadded pointer to Vincent (OpenGL ES implementation)
Brian Paul [Tue, 27 Apr 2004 12:55:08 +0000 (12:55 +0000)]
added pointer to Vincent (OpenGL ES implementation)

20 years agotransfer routines for compressed formats (avoid SEGFAULT, also prepare for external...
Daniel Borca [Tue, 27 Apr 2004 05:59:52 +0000 (05:59 +0000)]
transfer routines for compressed formats (avoid SEGFAULT, also prepare for external packers)

20 years agoaccomodate newtexstore
Daniel Borca [Mon, 26 Apr 2004 14:23:33 +0000 (14:23 +0000)]
accomodate newtexstore
fixed wgl interface for fxMesa

20 years agoremove DitherValues
Alan Hourihane [Mon, 26 Apr 2004 12:45:06 +0000 (12:45 +0000)]
remove DitherValues

20 years agobring over build fixes from stable branch
Alan Hourihane [Mon, 26 Apr 2004 10:10:22 +0000 (10:10 +0000)]
bring over build fixes from stable branch

20 years agos/-mv8/-mcpu=ultrasparc/ (bug 941338)
Brian Paul [Sun, 25 Apr 2004 15:18:36 +0000 (15:18 +0000)]
s/-mv8/-mcpu=ultrasparc/ (bug 941338)

20 years agofix HP-UX typo (bug 941576)
Brian Paul [Sun, 25 Apr 2004 15:13:56 +0000 (15:13 +0000)]
fix HP-UX typo (bug 941576)

20 years agocall drmUnmapBufs() in mgaDestroyScreen (Tilman Sauerbeck)
Brian Paul [Sat, 24 Apr 2004 14:55:02 +0000 (14:55 +0000)]
call drmUnmapBufs() in mgaDestroyScreen (Tilman Sauerbeck)

20 years agominor fixes for entrypoint name mangling
Brian Paul [Fri, 23 Apr 2004 20:33:07 +0000 (20:33 +0000)]
minor fixes for entrypoint name mangling

20 years agoConvert R200 driver to use the t_vertex interface.
Ian Romanick [Fri, 23 Apr 2004 20:20:07 +0000 (20:20 +0000)]
Convert R200 driver to use the t_vertex interface.

20 years agomove #define for GL_DOUBLE, to put enums in right order
Brian Paul [Fri, 23 Apr 2004 18:00:00 +0000 (18:00 +0000)]
move #define for GL_DOUBLE, to put enums in right order

20 years agoGL_DOUBLE doesn't follow GL_FLOAT, fix indexing (Keith Harrison)
Brian Paul [Fri, 23 Apr 2004 17:58:06 +0000 (17:58 +0000)]
GL_DOUBLE doesn't follow GL_FLOAT, fix indexing (Keith Harrison)

20 years agoinit mgaScreen->irq (Tilman Sauerbeck)
Brian Paul [Fri, 23 Apr 2004 17:53:28 +0000 (17:53 +0000)]
init mgaScreen->irq (Tilman Sauerbeck)

20 years agoAdded ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragment
Brian Paul [Fri, 23 Apr 2004 14:16:46 +0000 (14:16 +0000)]
Added ctx->Vertex/FragmentProgram._Enable flags.  Set when vertex/fragment
program is enabled AND the currently bound program is valid.
Check _Enable instead of Enable to prevent things from blowing up
when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually
defining a program.

20 years agoassorted fixes
Brian Paul [Fri, 23 Apr 2004 14:14:04 +0000 (14:14 +0000)]
assorted fixes

20 years agoAdd fps output
Keith Whitwell [Fri, 23 Apr 2004 14:06:02 +0000 (14:06 +0000)]
Add fps output

20 years agoremove some errant code from previous check-in
Brian Paul [Fri, 23 Apr 2004 13:58:44 +0000 (13:58 +0000)]
remove some errant code from previous check-in

20 years agonew CYGWIN docs from Eric Lassauge
Brian Paul [Fri, 23 Apr 2004 13:13:30 +0000 (13:13 +0000)]
new CYGWIN docs from Eric Lassauge

20 years agos,CHAN_BITS/8,sizeof(GLchan),
Brian Paul [Thu, 22 Apr 2004 23:51:15 +0000 (23:51 +0000)]
s,CHAN_BITS/8,sizeof(GLchan),

20 years agofix bracket at wrong place
Roland Scheidegger [Thu, 22 Apr 2004 20:04:08 +0000 (20:04 +0000)]
fix bracket at wrong place

20 years agoadded CYGWIN support
Brian Paul [Thu, 22 Apr 2004 16:16:42 +0000 (16:16 +0000)]
added CYGWIN support

20 years agoFix order of EMIT_4UB_4F declarations
Keith Whitwell [Thu, 22 Apr 2004 08:14:48 +0000 (08:14 +0000)]
Fix order of EMIT_4UB_4F declarations

20 years agoadded floattex.c to test floating point textures
Brian Paul [Thu, 22 Apr 2004 01:10:09 +0000 (01:10 +0000)]
added floattex.c to test floating point textures

20 years agouse FetchTexelf() in GetTexImage() to return float textures correctly
Brian Paul [Thu, 22 Apr 2004 01:08:36 +0000 (01:08 +0000)]
use FetchTexelf() in GetTexImage() to return float textures correctly

20 years agofix some include file glitches
Brian Paul [Thu, 22 Apr 2004 00:54:53 +0000 (00:54 +0000)]
fix some include file glitches

20 years agominor clean-ups
Brian Paul [Thu, 22 Apr 2004 00:47:28 +0000 (00:47 +0000)]
minor clean-ups

20 years agoobsolete
Brian Paul [Thu, 22 Apr 2004 00:42:38 +0000 (00:42 +0000)]
obsolete

20 years agoNew glTexImage code.
Brian Paul [Thu, 22 Apr 2004 00:27:31 +0000 (00:27 +0000)]
New glTexImage code.
The gl_texture_format struct now has a StoreTexImageFunc that's called
by glTex[Sub]Image[123]D to convert the user's texture data into the
specific texture format layout.  Now it's much easier to add new texture
formats (like the 16/32-bit floating point formats).
The texutil.[ch] and texutil_tmp.h files are obsolete.

20 years agoFix up some assorted issues with initialization of vertex program registers.
Brian Paul [Wed, 21 Apr 2004 18:09:14 +0000 (18:09 +0000)]
Fix up some assorted issues with initialization of vertex program registers.
Some need to be set per-vertex, other per-primitive.  Cleared that up.
Only need to init temp/result registers if executing an NV vertex program.

20 years agoonly init temp regs to zero if executing NV fragment program
Brian Paul [Wed, 21 Apr 2004 17:51:21 +0000 (17:51 +0000)]
only init temp regs to zero if executing NV fragment program

20 years agocheck return values of _swrast_CreateContext, etc
Brian Paul [Wed, 21 Apr 2004 16:11:27 +0000 (16:11 +0000)]
check return values of _swrast_CreateContext, etc

20 years agoremoved non-existant arbfpwpos.c, added UTIL_FILES target
Brian Paul [Tue, 20 Apr 2004 23:25:47 +0000 (23:25 +0000)]
removed non-existant arbfpwpos.c, added UTIL_FILES target

20 years agoAdd printing for recently added opcodes.
Keith Whitwell [Tue, 20 Apr 2004 13:03:36 +0000 (13:03 +0000)]
Add printing for recently added opcodes.

20 years agoadd SciTech's GLDirect driver for Windows.
Alan Hourihane [Tue, 20 Apr 2004 11:13:11 +0000 (11:13 +0000)]
add SciTech's GLDirect driver for Windows.

This code is donated to Mesa which allows the usage of
a Direct3D layer (DX7, DX8, DX9 or complete software fallback).

No build system exists for this code yet, that will come.....

20 years agoSimplify last fix slightly, apply to vtx paths as well.
Keith Whitwell [Tue, 20 Apr 2004 10:28:15 +0000 (10:28 +0000)]
Simplify last fix slightly, apply to vtx paths as well.

20 years agoWhen upgrading copied vertices, distinguish between an attribute
Keith Whitwell [Tue, 20 Apr 2004 10:18:33 +0000 (10:18 +0000)]
When upgrading copied vertices, distinguish between an attribute
entering a vertex for the first time and one which was already present
but increasing its size.  Fixes Brian's normal.c bug.

20 years agoapply texgen/texture matrix in glRasterPos
Brian Paul [Mon, 19 Apr 2004 23:13:36 +0000 (23:13 +0000)]
apply texgen/texture matrix in glRasterPos

20 years agolinux-solo-ia64 config (Stephane Marchesin)
Brian Paul [Mon, 19 Apr 2004 22:23:10 +0000 (22:23 +0000)]
linux-solo-ia64 config (Stephane Marchesin)

20 years agoglTexEnviv bug fix
Brian Paul [Mon, 19 Apr 2004 20:26:30 +0000 (20:26 +0000)]
glTexEnviv bug fix

20 years agoin TexEnv functions, check if pname == GL_TEXTURE_ENV_COLOR and fetch appropriate...
Brian Paul [Mon, 19 Apr 2004 20:24:49 +0000 (20:24 +0000)]
in TexEnv functions, check if pname == GL_TEXTURE_ENV_COLOR and fetch appropriate number of param values

20 years agodo texcoord projective division in _swrast_span_default_texcoords()
Brian Paul [Mon, 19 Apr 2004 15:03:16 +0000 (15:03 +0000)]
do texcoord projective division in _swrast_span_default_texcoords()

20 years agobug fixes for ARB/NV fragment program texture instructions
Brian Paul [Sun, 18 Apr 2004 20:23:24 +0000 (20:23 +0000)]
bug fixes for ARB/NV fragment program texture instructions

20 years agocheck for __ia64__ when setting USE_IEEE
Brian Paul [Sun, 18 Apr 2004 20:21:16 +0000 (20:21 +0000)]
check for __ia64__ when setting USE_IEEE

20 years agoupdated instructions for new directory tree and makefile system
Brian Paul [Sun, 18 Apr 2004 20:17:14 +0000 (20:17 +0000)]
updated instructions for new directory tree and makefile system

20 years agoadded missing SHADER_SOURCES to ALL_SOURCES
Brian Paul [Sun, 18 Apr 2004 20:14:11 +0000 (20:14 +0000)]
added missing SHADER_SOURCES to ALL_SOURCES

20 years agohack to use glTexCoord4f and Q variable to test projective texcoords
Brian Paul [Sun, 18 Apr 2004 20:13:21 +0000 (20:13 +0000)]
hack to use glTexCoord4f and Q variable to test projective texcoords