mesa.git
20 years agocodegen'ed versions of the 2nd level dispatch
Daniel Borca [Thu, 1 Apr 2004 06:53:22 +0000 (06:53 +0000)]
codegen'ed versions of the 2nd level dispatch

20 years agofine-tuning x86 gcc codegen
Daniel Borca [Wed, 31 Mar 2004 08:31:41 +0000 (08:31 +0000)]
fine-tuning x86 gcc codegen

20 years agodynfn --> _tnl_dynfn
Keith Whitwell [Wed, 31 Mar 2004 06:36:30 +0000 (06:36 +0000)]
dynfn --> _tnl_dynfn

20 years agothese are now in the shader/ directory too
Brian Paul [Tue, 30 Mar 2004 23:05:56 +0000 (23:05 +0000)]
these are now in the shader/ directory too

20 years agothese files now live in the shader directory
Brian Paul [Tue, 30 Mar 2004 22:52:00 +0000 (22:52 +0000)]
these files now live in the shader directory

20 years agoWhy are there two copies of this file?
Keith Whitwell [Tue, 30 Mar 2004 21:55:14 +0000 (21:55 +0000)]
Why are there two copies of this file?

20 years agoMake the output a little more likely to compile...
Keith Whitwell [Tue, 30 Mar 2004 16:34:45 +0000 (16:34 +0000)]
Make the output a little more likely to compile...

20 years agoReorder some code so we don't upset program state when there's a parsing error.
Brian Paul [Tue, 30 Mar 2004 15:55:10 +0000 (15:55 +0000)]
Reorder some code so we don't upset program state when there's a parsing error.
Be sure to assign program.Base.String pointer.

20 years agoInsert original fragment program instructions as comments.
Brian Paul [Tue, 30 Mar 2004 15:53:58 +0000 (15:53 +0000)]
Insert original fragment program instructions as comments.
s/__inline/INLINE/

20 years agoadded hpux10-static config
Brian Paul [Tue, 30 Mar 2004 14:56:47 +0000 (14:56 +0000)]
added hpux10-static config

20 years agomerge from 6.0.1 branch
Brian Paul [Tue, 30 Mar 2004 14:47:02 +0000 (14:47 +0000)]
merge from 6.0.1 branch

20 years agoAmusing utility to print ARB_fp programs as C code
Keith Whitwell [Tue, 30 Mar 2004 11:12:37 +0000 (11:12 +0000)]
Amusing utility to print ARB_fp programs as C code

20 years agoAdd #ifdef protection around the file to prevent DRI build breakage.
Ian Romanick [Tue, 30 Mar 2004 00:23:25 +0000 (00:23 +0000)]
Add #ifdef protection around the file to prevent DRI build breakage.

20 years agofix array indexing for UP4B and UP4UB
Brian Paul [Mon, 29 Mar 2004 16:34:01 +0000 (16:34 +0000)]
fix array indexing for UP4B and UP4UB

20 years agoAccomodate ARB_fp XPD opcode separately from NV_fp's X2D.
Keith Whitwell [Mon, 29 Mar 2004 16:01:18 +0000 (16:01 +0000)]
Accomodate ARB_fp XPD opcode separately from NV_fp's X2D.

20 years agoTake a stab at updating the VMS files.
Brian Paul [Mon, 29 Mar 2004 14:58:42 +0000 (14:58 +0000)]
Take a stab at updating the VMS files.

20 years agofix the build
Brian Paul [Mon, 29 Mar 2004 14:53:49 +0000 (14:53 +0000)]
fix the build

20 years agonew files
Keith Whitwell [Mon, 29 Mar 2004 14:01:56 +0000 (14:01 +0000)]
new files

20 years agoMoved from src/mesa/main
Michal Krol [Mon, 29 Mar 2004 11:09:34 +0000 (11:09 +0000)]
Moved from src/mesa/main

20 years agoFirst round of codegen for t_vtx_api.c -- ie the Begin/Vertex/End code.
Keith Whitwell [Mon, 29 Mar 2004 11:05:02 +0000 (11:05 +0000)]
First round of codegen for t_vtx_api.c -- ie the Begin/Vertex/End code.
Enable with env var:  MESA_CODEGEN=t.

20 years agoThis wont be needed any more
Michal Krol [Mon, 29 Mar 2004 11:01:57 +0000 (11:01 +0000)]
This wont be needed any more

20 years agoMoved to src/mesa/shader and renamed to arbprogram_syn.h
Michal Krol [Mon, 29 Mar 2004 10:58:58 +0000 (10:58 +0000)]
Moved to src/mesa/shader and renamed to arbprogram_syn.h

20 years agoMoved to src/mesa/shader and renamed to arbprogparse.[ch]
Michal Krol [Mon, 29 Mar 2004 10:57:16 +0000 (10:57 +0000)]
Moved to src/mesa/shader and renamed to arbprogparse.[ch]

20 years agoMoved to src/mesa/shader
Michal Krol [Mon, 29 Mar 2004 10:54:32 +0000 (10:54 +0000)]
Moved to src/mesa/shader

20 years agocode cleanup heheh
Daniel Borca [Mon, 29 Mar 2004 06:51:41 +0000 (06:51 +0000)]
code cleanup heheh

20 years agoForgot to set SAVAGE_NEW_CULL in savageDDEnable_s3d.
Felix Kuehling [Sat, 27 Mar 2004 01:04:09 +0000 (01:04 +0000)]
Forgot to set SAVAGE_NEW_CULL in savageDDEnable_s3d.

20 years agominor fixes
Brian Paul [Fri, 26 Mar 2004 23:58:08 +0000 (23:58 +0000)]
minor fixes

20 years agoadded GLW_SOURCES for IRIX
Brian Paul [Fri, 26 Mar 2004 23:57:32 +0000 (23:57 +0000)]
added GLW_SOURCES for IRIX

20 years agofix some warnings
Brian Paul [Fri, 26 Mar 2004 23:54:53 +0000 (23:54 +0000)]
fix some warnings

20 years agotweaks to APP_LIB_DEPS (Dan Schikore)
Brian Paul [Fri, 26 Mar 2004 23:52:47 +0000 (23:52 +0000)]
tweaks to APP_LIB_DEPS (Dan Schikore)

20 years agoEnable drawing directly to the (now tiled) front buffer.
Felix Kuehling [Fri, 26 Mar 2004 23:27:24 +0000 (23:27 +0000)]
Enable drawing directly to the (now tiled) front buffer.

20 years agoadded .SUFFIXES : .cc line
Brian Paul [Fri, 26 Mar 2004 22:50:04 +0000 (22:50 +0000)]
added .SUFFIXES : .cc line

20 years agodon't try to make GLwMDrawA.c by default since it needs Motif
Brian Paul [Fri, 26 Mar 2004 21:48:09 +0000 (21:48 +0000)]
don't try to make GLwMDrawA.c by default since it needs Motif

20 years agoDon't use pushd/popd.
Brian Paul [Fri, 26 Mar 2004 21:38:45 +0000 (21:38 +0000)]
Don't use pushd/popd.

20 years agonew Makefile
Brian Paul [Fri, 26 Mar 2004 20:37:19 +0000 (20:37 +0000)]
new Makefile

20 years agoTweaks for make clean / realclean.
Brian Paul [Fri, 26 Mar 2004 20:31:05 +0000 (20:31 +0000)]
Tweaks for make clean / realclean.

20 years agoincrease MAX_TEXTURE_LOD_BIAS to 11.0
Brian Paul [Fri, 26 Mar 2004 18:06:23 +0000 (18:06 +0000)]
increase MAX_TEXTURE_LOD_BIAS to 11.0

20 years agoclamp BiasMin, BiasMax to reasonable values
Brian Paul [Fri, 26 Mar 2004 18:05:36 +0000 (18:05 +0000)]
clamp BiasMin, BiasMax to reasonable values

20 years agoobsolete
Brian Paul [Fri, 26 Mar 2004 15:48:21 +0000 (15:48 +0000)]
obsolete

20 years agoadded glw to SRC_DIRS
Brian Paul [Fri, 26 Mar 2004 15:46:53 +0000 (15:46 +0000)]
added glw to SRC_DIRS

20 years agoadded _DEPS lines to specify -L/usr/X11R6/lib
Brian Paul [Fri, 26 Mar 2004 15:37:26 +0000 (15:37 +0000)]
added _DEPS lines to specify -L/usr/X11R6/lib

20 years agoadded OSMESA_DRIVER_OBJECTS and COMMON_DRIVER_OBJECTS
Brian Paul [Fri, 26 Mar 2004 15:36:33 +0000 (15:36 +0000)]
added OSMESA_DRIVER_OBJECTS and COMMON_DRIVER_OBJECTS

20 years agoomit CVS from configs list
Brian Paul [Fri, 26 Mar 2004 15:31:44 +0000 (15:31 +0000)]
omit CVS from configs list

20 years agoupdated Makefile info
Brian Paul [Fri, 26 Mar 2004 15:20:08 +0000 (15:20 +0000)]
updated Makefile info

20 years agoMesa installation script
Brian Paul [Fri, 26 Mar 2004 15:19:53 +0000 (15:19 +0000)]
Mesa installation script

20 years agoNew Makefile system
Brian Paul [Fri, 26 Mar 2004 15:19:11 +0000 (15:19 +0000)]
New Makefile system

20 years agonew system configurations
Brian Paul [Fri, 26 Mar 2004 15:16:35 +0000 (15:16 +0000)]
new system configurations

20 years agotweaks for 64-bit linux configs (Dan Schikore)
Brian Paul [Fri, 26 Mar 2004 14:21:18 +0000 (14:21 +0000)]
tweaks for 64-bit linux configs (Dan Schikore)

20 years agocheck for GLX 1.3 during init
Brian Paul [Fri, 26 Mar 2004 14:17:31 +0000 (14:17 +0000)]
check for GLX 1.3 during init

20 years agoMake sure drivers don't dereference a NULL pointer if
Ian Romanick [Fri, 26 Mar 2004 02:02:48 +0000 (02:02 +0000)]
Make sure drivers don't dereference a NULL pointer if
__driUtilCreateNewScreen returns NULL.

20 years agomerge changes from 6.0.1 branch
Brian Paul [Thu, 25 Mar 2004 21:55:35 +0000 (21:55 +0000)]
merge changes from 6.0.1 branch

20 years agomore Darwin tweaks
Brian Paul [Thu, 25 Mar 2004 21:18:32 +0000 (21:18 +0000)]
more Darwin tweaks

20 years agore-order arguments to mklib
Brian Paul [Thu, 25 Mar 2004 21:17:48 +0000 (21:17 +0000)]
re-order arguments to mklib

20 years agoRecalculate the viewport matrix in savageEmitDrawingRectangle.
Felix Kuehling [Thu, 25 Mar 2004 15:19:23 +0000 (15:19 +0000)]
Recalculate the viewport matrix in savageEmitDrawingRectangle.

20 years agosilence warnings
Brian Paul [Thu, 25 Mar 2004 14:58:39 +0000 (14:58 +0000)]
silence warnings

20 years agoThe OpenGL Shading Language Runtime Library for Legacy Target.
Michal Krol [Thu, 25 Mar 2004 13:24:28 +0000 (13:24 +0000)]
The OpenGL Shading Language Runtime Library for Legacy Target.
Sounds good :)

20 years agosmall changes (version string)
Daniel Borca [Thu, 25 Mar 2004 09:06:12 +0000 (09:06 +0000)]
small changes (version string)

20 years agoadded linux-x86-opteron (bug 922735)
Brian Paul [Thu, 25 Mar 2004 01:51:38 +0000 (01:51 +0000)]
added linux-x86-opteron (bug 922735)

20 years agoupdate my email address
Brian Paul [Thu, 25 Mar 2004 01:42:41 +0000 (01:42 +0000)]
update my email address

20 years agoMore state management changes:
Felix Kuehling [Thu, 25 Mar 2004 01:16:27 +0000 (01:16 +0000)]
More state management changes:
- Don't lock in savageDDUpdateStatte, don't call savageEmitHwStateLocked
- Need to grab the lock for texture uploads now
- New SAVAGE_NEW_CULL bit in new_state to make sure that culling state and
  raster_primitive are not examined at the wrong times.

20 years agoMake sure hardware culling is disabled for unfilled primitives,
Felix Kuehling [Wed, 24 Mar 2004 22:05:25 +0000 (22:05 +0000)]
Make sure hardware culling is disabled for unfilled primitives,
points and lines.

20 years agouse Driver.WriteMonoRGBAPixels() when possible (Dan Schikore)
Brian Paul [Wed, 24 Mar 2004 17:17:25 +0000 (17:17 +0000)]
use Driver.WriteMonoRGBAPixels() when possible (Dan Schikore)

20 years agoMissing in last commit.
Felix Kuehling [Wed, 24 Mar 2004 16:18:05 +0000 (16:18 +0000)]
Missing in last commit.

20 years agoBuffer vertices and emit them in batches. Still using conventional drawing
Felix Kuehling [Wed, 24 Mar 2004 16:15:28 +0000 (16:15 +0000)]
Buffer vertices and emit them in batches. Still using conventional drawing
commands, no vertex DMA.

20 years agorename class to c_class if using C++ (bug 922294)
Brian Paul [Wed, 24 Mar 2004 15:59:44 +0000 (15:59 +0000)]
rename class to c_class if using C++ (bug 922294)

20 years agoSlang internal include file defining constructors and operators
Michal Krol [Wed, 24 Mar 2004 15:02:37 +0000 (15:02 +0000)]
Slang internal include file defining constructors and operators
for built-in data types.

20 years agotweaks to Darwin code
Brian Paul [Tue, 23 Mar 2004 23:25:47 +0000 (23:25 +0000)]
tweaks to Darwin code

20 years agoadditional updates from Dan Schikore
Brian Paul [Tue, 23 Mar 2004 15:40:18 +0000 (15:40 +0000)]
additional updates from Dan Schikore

20 years ago Committing in .
Jouk Jansen [Tue, 23 Mar 2004 07:13:11 +0000 (07:13 +0000)]
 Committing in .

 Adding s_auxbuffer.c for compilation

 Modified Files:
  Mesa/src/mesa/swrast/descrip.mms
 ----------------------------------------------------------------------

20 years agonew DRI interface header
Brian Paul [Mon, 22 Mar 2004 23:31:29 +0000 (23:31 +0000)]
new DRI interface header

20 years agoadded some code to test buffer deletion
Brian Paul [Mon, 22 Mar 2004 16:28:02 +0000 (16:28 +0000)]
added some code to test buffer deletion

20 years agouse GL state vars instead of program parameters
Brian Paul [Mon, 22 Mar 2004 16:27:13 +0000 (16:27 +0000)]
use GL state vars instead of program parameters

20 years agoadded s_auxbuffer.c
Brian Paul [Mon, 22 Mar 2004 16:23:15 +0000 (16:23 +0000)]
added s_auxbuffer.c

20 years agomore i810 to new interface
Dave Airlie [Sun, 21 Mar 2004 23:35:14 +0000 (23:35 +0000)]
more i810 to new interface

20 years agoctx->Const.MaxTextureLevels is not the highest mipmap level but the number
Felix Kuehling [Sun, 21 Mar 2004 21:58:03 +0000 (21:58 +0000)]
ctx->Const.MaxTextureLevels is not the highest mipmap level but the number
> of levels, including 0.

20 years agoImproved MaxTextureLevel computation to take the nr. of tex units and both
Felix Kuehling [Sun, 21 Mar 2004 18:50:21 +0000 (18:50 +0000)]
Improved MaxTextureLevel computation to take the nr. of tex units and both
texture heaps into account.

20 years agoadded aux buffers item
Brian Paul [Sun, 21 Mar 2004 17:09:59 +0000 (17:09 +0000)]
added aux buffers item

20 years agotest of aux buffer rendering
Brian Paul [Sun, 21 Mar 2004 17:07:30 +0000 (17:07 +0000)]
test of aux buffer rendering

20 years agoImplemented support for software-based AUX color buffers.
Brian Paul [Sun, 21 Mar 2004 17:05:03 +0000 (17:05 +0000)]
Implemented support for software-based AUX color buffers.
Only available with Xlib driver for now.
Assorted clean-ups related to Draw/ReadBuffer().
Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.

20 years agofix array index error in _swsetup_Translate (Felix)
Brian Paul [Sun, 21 Mar 2004 16:12:13 +0000 (16:12 +0000)]
fix array index error in _swsetup_Translate (Felix)

20 years agoRemoved some useless definitions, artifacts from the Utah-GLX i810 driver.
Felix Kuehling [Sun, 21 Mar 2004 12:05:24 +0000 (12:05 +0000)]
Removed some useless definitions, artifacts from the Utah-GLX i810 driver.

20 years agoAdd new interface support don't switch on yet ..
Dave Airlie [Sun, 21 Mar 2004 11:47:03 +0000 (11:47 +0000)]
Add new interface support don't switch on yet ..

20 years agounsigned int -> uint32_t, unsigned char -> uint8_t where the size matters.
Felix Kuehling [Sun, 21 Mar 2004 11:28:07 +0000 (11:28 +0000)]
unsigned int -> uint32_t, unsigned char -> uint8_t where the size matters.
A bit more cosmetics.
Improved state emit on Savage 3D/IX/MX.

20 years agoFixed texture LOD bias.
Felix Kuehling [Sat, 20 Mar 2004 22:05:29 +0000 (22:05 +0000)]
Fixed texture LOD bias.

20 years agoFixed MAXFIFO_S4. Removed WAIT_IDLE_EMPTY from savage_BCI_swap which resulted
Felix Kuehling [Sat, 20 Mar 2004 19:40:09 +0000 (19:40 +0000)]
Fixed MAXFIFO_S4. Removed WAIT_IDLE_EMPTY from savage_BCI_swap which resulted
in another small speedup. Fixed a problem that was masked by that
WAIT_IDLE_EMPTY:
- flush command buffer and WAIT_IDLE_EMPTY before uploading textures

20 years agoCleaned up and fixed stencil fallback.
Felix Kuehling [Sat, 20 Mar 2004 17:12:06 +0000 (17:12 +0000)]
Cleaned up and fixed stencil fallback.

20 years agominor clean-ups
Brian Paul [Sat, 20 Mar 2004 00:22:27 +0000 (00:22 +0000)]
minor clean-ups

20 years agomake null-terminated copy of program string so that parse works correctly
Brian Paul [Sat, 20 Mar 2004 00:08:20 +0000 (00:08 +0000)]
make null-terminated copy of program string so that parse works correctly

20 years agoadd missing else statements
Brian Paul [Fri, 19 Mar 2004 23:11:13 +0000 (23:11 +0000)]
add missing else statements

20 years agoAdd includes to make mach64 build
Dave Airlie [Fri, 19 Mar 2004 10:20:23 +0000 (10:20 +0000)]
Add includes to make mach64 build

20 years agoremove redundant call to ctx->Driver.Viewport(), and clean-ups
Brian Paul [Thu, 18 Mar 2004 18:17:33 +0000 (18:17 +0000)]
remove redundant call to ctx->Driver.Viewport(), and clean-ups

20 years agoadditional configs (Dan Schikore)
Brian Paul [Thu, 18 Mar 2004 16:02:27 +0000 (16:02 +0000)]
additional configs (Dan Schikore)

20 years agoassorted updates and new AIX support (Dan Schikore)
Brian Paul [Thu, 18 Mar 2004 15:41:59 +0000 (15:41 +0000)]
assorted updates and new AIX support (Dan Schikore)

20 years agoConvert int(8|32)_t to uint(8|32)_t, like should have been done the first time.
Ian Romanick [Thu, 18 Mar 2004 00:16:44 +0000 (00:16 +0000)]
Convert int(8|32)_t to uint(8|32)_t, like should have been done the first time.

20 years agoConvert all uses of CARD32 and CARD8 to int32_t and int8_t.
Ian Romanick [Wed, 17 Mar 2004 20:50:12 +0000 (20:50 +0000)]
Convert all uses of CARD32 and CARD8 to int32_t and int8_t.

20 years agoremove version number faking, shouldn't be needed anymore
Dave Airlie [Mon, 15 Mar 2004 23:27:33 +0000 (23:27 +0000)]
remove version number faking, shouldn't be needed anymore

20 years agoextend SOLO code so the DDX version isn't checked
Dave Airlie [Mon, 15 Mar 2004 23:26:49 +0000 (23:26 +0000)]
extend SOLO code so the DDX version isn't checked

20 years agoSketch of codegen templates for t_vtx_api.c, not complete
Keith Whitwell [Mon, 15 Mar 2004 15:41:46 +0000 (15:41 +0000)]
Sketch of codegen templates for t_vtx_api.c, not complete

20 years agoStreamline the error path in VertexAttrib functions. Makes things
Keith Whitwell [Mon, 15 Mar 2004 14:36:16 +0000 (14:36 +0000)]
Streamline the error path in VertexAttrib functions.  Makes things
slightly easier for codegen.

20 years agounfinished SOLO driver for TDFX
Daniel Borca [Mon, 15 Mar 2004 09:17:07 +0000 (09:17 +0000)]
unfinished SOLO driver for TDFX