mesa.git
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

20 years agocouple of steps closer still not fully working.. something amiss in ring
Dave Airlie [Mon, 15 Mar 2004 06:30:37 +0000 (06:30 +0000)]
couple of steps closer still not fully working.. something amiss in ring
buffer ..

20 years agoInitial i810_dri.c for miniglx isn't fully functional yet...
Dave Airlie [Mon, 15 Mar 2004 05:20:08 +0000 (05:20 +0000)]
Initial i810_dri.c for miniglx isn't fully functional yet...

20 years agouse utility function to check versions
Dave Airlie [Mon, 15 Mar 2004 03:39:52 +0000 (03:39 +0000)]
use utility function to check versions

20 years agomore TRIANGLE_WALK_DOUBLE tweaks (Justin Novosad)
Brian Paul [Sun, 14 Mar 2004 18:12:06 +0000 (18:12 +0000)]
more TRIANGLE_WALK_DOUBLE tweaks (Justin Novosad)

20 years agofix stride bug in RGB and BGR span rendering
Brian Paul [Sun, 14 Mar 2004 16:41:49 +0000 (16:41 +0000)]
fix stride bug in RGB and BGR span rendering

20 years agoGL_EXT_pixel_buffer_object test
Brian Paul [Sat, 13 Mar 2004 18:31:14 +0000 (18:31 +0000)]
GL_EXT_pixel_buffer_object test

20 years agoAdded some comments. Minor const, int->GLint type changes, etc.
Brian Paul [Sat, 13 Mar 2004 18:27:06 +0000 (18:27 +0000)]
Added some comments.  Minor const, int->GLint type changes, etc.

20 years agoImplementation of GL_EXT_pixel_buffer_object extension.
Brian Paul [Sat, 13 Mar 2004 18:21:40 +0000 (18:21 +0000)]
Implementation of GL_EXT_pixel_buffer_object extension.
Note: extension may not be finalized yet - subject to change!
Note: implementation not fully suitable for h/w implementation yet.

20 years agomore descriptive error messages for matrix stack over/underflows
Brian Paul [Sat, 13 Mar 2004 16:32:58 +0000 (16:32 +0000)]
more descriptive error messages for matrix stack over/underflows

20 years agoAdjust includes to help DRI build
Jon Smirl [Fri, 12 Mar 2004 20:03:54 +0000 (20:03 +0000)]
Adjust includes to help DRI build

20 years agoAdjust mga drivers to remove redundant h file for sarea and IOCTLs
Jon Smirl [Fri, 12 Mar 2004 05:22:13 +0000 (05:22 +0000)]
Adjust mga drivers to remove redundant h file for sarea and IOCTLs

20 years agoMake R128 driver use sarea/defines from DRM. removed r128_common.h
Jon Smirl [Fri, 12 Mar 2004 03:50:30 +0000 (03:50 +0000)]
Make R128 driver use sarea/defines from DRM. removed r128_common.h
and r128_sarea.h since they are redundant now.

20 years agoThese files are redundant now. Definitions come from DRM files.
Jon Smirl [Fri, 12 Mar 2004 01:18:19 +0000 (01:18 +0000)]
These files are redundant now. Definitions come from DRM files.

20 years agoAdjustments to make everything use IOCTL/sarea defines in DRM instead
Jon Smirl [Thu, 11 Mar 2004 20:35:38 +0000 (20:35 +0000)]
Adjustments to make everything use IOCTL/sarea defines in DRM instead
of glx/mini. removes glx/mini/drm.h glx/mini/sarea.h

20 years agoMoved from src/mesa/main.
Michal Krol [Wed, 10 Mar 2004 18:02:01 +0000 (18:02 +0000)]
Moved from src/mesa/main.

20 years agodon't futz with GL_CLIENT_ACTIVE_TEXTURE in glClientActiveTexture (Robert Merrill)
Brian Paul [Wed, 10 Mar 2004 16:17:35 +0000 (16:17 +0000)]
don't futz with GL_CLIENT_ACTIVE_TEXTURE in glClientActiveTexture (Robert Merrill)

20 years agoFixed a number of typos.
Michal Krol [Wed, 10 Mar 2004 14:54:47 +0000 (14:54 +0000)]
Fixed a number of typos.

20 years agoadd xmlconfig.c to solo build
Dave Airlie [Wed, 10 Mar 2004 03:45:28 +0000 (03:45 +0000)]
add xmlconfig.c to solo build

20 years agoback port span changes from i810, these have been in my tree for a while seem
Dave Airlie [Wed, 10 Mar 2004 03:43:15 +0000 (03:43 +0000)]
back port span changes from i810, these have been in my tree for a while seem
fine ..

20 years agoremove unneeded casts
Brian Paul [Tue, 9 Mar 2004 18:04:04 +0000 (18:04 +0000)]
remove unneeded casts

20 years agoFix color index mode rendering.
Brian Paul [Tue, 9 Mar 2004 16:58:26 +0000 (16:58 +0000)]
Fix color index mode rendering.
Changed SWvertex's index field to GLfloat and fix a few other bits.

20 years agofxMesa: remove buffer_obj_ext, cos it breaks UT2004
Daniel Borca [Tue, 9 Mar 2004 11:23:39 +0000 (11:23 +0000)]
fxMesa: remove buffer_obj_ext, cos it breaks UT2004

20 years agoCleaned up and slightly optimized the texture upload code.
Felix Kuehling [Mon, 8 Mar 2004 23:01:47 +0000 (23:01 +0000)]
Cleaned up and slightly optimized the texture upload code.

20 years agoremove redundant macros (also in m_matrix.h)
Brian Paul [Mon, 8 Mar 2004 18:30:45 +0000 (18:30 +0000)]
remove redundant macros (also in m_matrix.h)

20 years agoVoodoo Rush fixes
Daniel Borca [Mon, 8 Mar 2004 07:52:18 +0000 (07:52 +0000)]
Voodoo Rush fixes

20 years agoSwapout textures who's space is claimed by a new texture. Don't destroy.
Felix Kuehling [Mon, 8 Mar 2004 00:34:43 +0000 (00:34 +0000)]
Swapout textures who's space is claimed by a new texture. Don't destroy.
This finally really fixes assertion failures in savageBindTexture.
I think the same situation with several contexts is still broken though.

20 years agoFixed texture tiling format for 8bit texels on ProSavage and Twister.
Felix Kuehling [Sun, 7 Mar 2004 23:32:31 +0000 (23:32 +0000)]
Fixed texture tiling format for 8bit texels on ProSavage and Twister.

20 years agoRewrote tiled texture upload. Small mipmap levels work correctly now.
Felix Kuehling [Sun, 7 Mar 2004 20:41:42 +0000 (20:41 +0000)]
Rewrote tiled texture upload. Small mipmap levels work correctly now.

20 years agoFixed two small problems in the vertex setup.
Felix Kuehling [Sun, 7 Mar 2004 01:36:50 +0000 (01:36 +0000)]
Fixed two small problems in the vertex setup.
 - make sure that vertex setup is initialized
 - Savage seems to need the W coordinate for smooth shading

20 years agoSmall texture management fixes. Should get rid of assertions some people were getting...
Felix Kuehling [Thu, 4 Mar 2004 22:11:38 +0000 (22:11 +0000)]
Small texture management fixes. Should get rid of assertions some people were getting in savageBindTexture.

20 years agoplug in _mesa_BlendFunc into dispatch table
Brian Paul [Thu, 4 Mar 2004 17:14:08 +0000 (17:14 +0000)]
plug in _mesa_BlendFunc into dispatch table

20 years agoa bunch of assorted clean-ups, etc to fix warnings, etc
Brian Paul [Thu, 4 Mar 2004 16:22:01 +0000 (16:22 +0000)]
a bunch of assorted clean-ups, etc to fix warnings, etc

20 years agoremove some unneeded macros
Brian Paul [Thu, 4 Mar 2004 16:20:38 +0000 (16:20 +0000)]
remove some unneeded macros

20 years agocasts to silence warnings
Brian Paul [Thu, 4 Mar 2004 14:56:34 +0000 (14:56 +0000)]
casts to silence warnings

20 years agosilence warnings
Brian Paul [Thu, 4 Mar 2004 14:52:59 +0000 (14:52 +0000)]
silence warnings

20 years agoyet another take on VBO deleting and reference counting
Brian Paul [Thu, 4 Mar 2004 14:46:00 +0000 (14:46 +0000)]
yet another take on VBO deleting and reference counting

20 years agoInitial changes after moving from src/mesa/main/.
Michal Krol [Thu, 4 Mar 2004 13:15:32 +0000 (13:15 +0000)]
Initial changes after moving from src/mesa/main/.
Needs testing - it havent been even compiled yet.

20 years agoAdded missing Copyrights.
Michal Krol [Thu, 4 Mar 2004 13:07:52 +0000 (13:07 +0000)]
Added missing Copyrights.

20 years agoClearing rectangle was one too big in each direction.
Felix Kuehling [Thu, 4 Mar 2004 00:27:36 +0000 (00:27 +0000)]
Clearing rectangle was one too big in each direction.

20 years agoGrammar package supporting 8-bit registers.
Michal Krol [Wed, 3 Mar 2004 18:10:40 +0000 (18:10 +0000)]
Grammar package supporting 8-bit registers.

TODO:
  - add checking for duplicate symbols (or is it done already?)
  - move all the statics (grammar objects list and last error message)
    to the GL context state; I think simple pointer initialized in a
    first call to ProgramString() is sufficent.
  - apply an optimized version of match() - this will be needed for
    glslang compiler.

20 years agoAdded support for ARB_fragment_program_shadow.
Michal Krol [Wed, 3 Mar 2004 18:01:58 +0000 (18:01 +0000)]
Added support for ARB_fragment_program_shadow.

20 years agoInitial registry for ARB_fragment_program and ARB_vertex_program.
Michal Krol [Wed, 3 Mar 2004 17:59:49 +0000 (17:59 +0000)]
Initial registry for ARB_fragment_program and ARB_vertex_program.

20 years agoadded clamping to polygon offset to prevent potential negative Z values and FP exceptions
Brian Paul [Wed, 3 Mar 2004 15:50:28 +0000 (15:50 +0000)]
added clamping to polygon offset to prevent potential negative Z values and FP exceptions

20 years agocomments, capitalization, misc-clean-ups
Brian Paul [Wed, 3 Mar 2004 15:36:53 +0000 (15:36 +0000)]
comments, capitalization, misc-clean-ups