mesa.git
20 years agoAnother pass at implementing byte-swapped texture formats.
Brian Paul [Thu, 13 May 2004 15:26:51 +0000 (15:26 +0000)]
Another pass at implementing byte-swapped texture formats.
More code re-use this time.
Most formats now tested/debugged with new packedpixels.c test.

20 years agoTest program to check that packed pixel formats work as expected with
Brian Paul [Wed, 12 May 2004 23:05:21 +0000 (23:05 +0000)]
Test program to check that packed pixel formats work as expected with
glTexImage2D.  All samples should appear identical.  Press f/F to change
the internal texture format.

20 years agoGL_BGR can't be used with the packed types, according to the GL spec. Enforce such.
Brian Paul [Wed, 12 May 2004 22:54:47 +0000 (22:54 +0000)]
GL_BGR can't be used with the packed types, according to the GL spec.  Enforce such.

20 years agosome component ordering bugs in extract_float_rgba()
Brian Paul [Wed, 12 May 2004 21:53:34 +0000 (21:53 +0000)]
some component ordering bugs in extract_float_rgba()

20 years agoFixed code that has computed incorrect number of modes.
Erdi Chen [Wed, 12 May 2004 18:37:11 +0000 (18:37 +0000)]
Fixed code that has computed incorrect number of modes.

20 years agoAdded support for GL_EXT_blend_equation_separate and
Ian Romanick [Wed, 12 May 2004 16:36:30 +0000 (16:36 +0000)]
Added support for GL_EXT_blend_equation_separate and
GL_NV_blend_square.  Fix a bug in the way the GL_MIN and GL_MAX
blending modes were handled.

20 years agoFixed a bug that showed up in several multitexturing games (Quake3 and
Ian Romanick [Wed, 12 May 2004 16:29:55 +0000 (16:29 +0000)]
Fixed a bug that showed up in several multitexturing games (Quake3 and
ThinkTanks were tested) that was related to the recent 4 TMU changes.
Removed the un-needed TexBlendColorPipeNum field from the hardware
context.

20 years agofix compiler warnings (Jerome Glisse)
Brian Paul [Wed, 12 May 2004 15:29:36 +0000 (15:29 +0000)]
fix compiler warnings (Jerome Glisse)

20 years agofix parameters to StoreImage calls
Brian Paul [Wed, 12 May 2004 15:05:53 +0000 (15:05 +0000)]
fix parameters to StoreImage calls

20 years agoremove last remnants of NEWTEXSTORE stuff
Brian Paul [Wed, 12 May 2004 15:02:49 +0000 (15:02 +0000)]
remove last remnants of NEWTEXSTORE stuff

20 years agoremove the last line of the previous patch
Brian Paul [Wed, 12 May 2004 14:51:51 +0000 (14:51 +0000)]
remove the last line of the previous patch

20 years agofix red/green/blueBits typos
Brian Paul [Wed, 12 May 2004 14:48:39 +0000 (14:48 +0000)]
fix red/green/blueBits typos

20 years agoobsolete in favor of regular Makefiles
Brian Paul [Wed, 12 May 2004 14:04:29 +0000 (14:04 +0000)]
obsolete in favor of regular Makefiles

20 years agoyank bgr233 texformat. minor comment updates.
Brian Paul [Wed, 12 May 2004 14:00:36 +0000 (14:00 +0000)]
yank bgr233 texformat.  minor comment updates.

20 years agominor fixes
Daniel Borca [Wed, 12 May 2004 05:36:24 +0000 (05:36 +0000)]
minor fixes

20 years agoAdded big-endian texture formats.
Brian Paul [Wed, 12 May 2004 01:50:30 +0000 (01:50 +0000)]
Added big-endian texture formats.
Moved CI->RGBA palette lookup into texel fetch function.

20 years agoAdded a 4th square to the output. Expanded the message written to the
Ian Romanick [Tue, 11 May 2004 19:59:13 +0000 (19:59 +0000)]
Added a 4th square to the output.  Expanded the message written to the
console.

20 years agoAdded simple EXT_blend_minmax test.
Ian Romanick [Tue, 11 May 2004 19:57:58 +0000 (19:57 +0000)]
Added simple EXT_blend_minmax test.

20 years agoAdded simple NV_blend_square test.
Ian Romanick [Tue, 11 May 2004 17:48:33 +0000 (17:48 +0000)]
Added simple NV_blend_square test.

20 years agoFix a possible segfault caused by the SGI_make_current_read changes.
Ian Romanick [Tue, 11 May 2004 16:17:49 +0000 (16:17 +0000)]
Fix a possible segfault caused by the SGI_make_current_read changes.

20 years agoDon't call calculate_derived_texenv() from in _mesa_TexEnv().
Brian Paul [Mon, 10 May 2004 22:37:20 +0000 (22:37 +0000)]
Don't call calculate_derived_texenv() from in _mesa_TexEnv().
Minor code rearranging.

20 years agos/GLX_PIXMAP_BIT_SGIX/GLX_PBUFFER_BIT_SGIX/
Brian Paul [Mon, 10 May 2004 22:07:57 +0000 (22:07 +0000)]
s/GLX_PIXMAP_BIT_SGIX/GLX_PBUFFER_BIT_SGIX/

20 years agoAdd EXT_vertex_cull support to mesa
Keith Whitwell [Mon, 10 May 2004 18:16:03 +0000 (18:16 +0000)]
Add EXT_vertex_cull support to mesa

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