mesa.git
23 years agoMajor rework of tnl module
Keith Whitwell [Tue, 26 Dec 2000 05:09:27 +0000 (05:09 +0000)]
Major rework of tnl module
New array_cache module
Support 8 texture units in core mesa (now support 8 everywhere)
Rework core mesa statechange operations to avoid flushing on many
noop statechanges.

23 years ago* demos/Makefile.am (INCLUDES): Added -I$(top_srcdir)/util.
pesco [Sun, 24 Dec 2000 22:53:54 +0000 (22:53 +0000)]
* demos/Makefile.am (INCLUDES): Added -I$(top_srcdir)/util.
* demos/Makefile.X11, demos/Makefile.BeOS-R4, demos/Makefile.cygnus:
Essentially the same.
Program files updated to include "readtex.c", not "../util/readtex.c".
* demos/reflect.c: Likewise for "showbuffer.c".

* Makefile.am (EXTRA_DIST): Added top-level regular files.

* include/GL/Makefile.am (INC_X11): Added glxext.h.

* src/GGI/include/ggi/mesa/Makefile.am (EXTRA_HEADERS): Include
Mesa GGI headers in dist even if HAVE_GGI is not given.

* configure.in: Look for GLUT and demo source dirs in $srcdir.

* src/swrast/Makefile.am (libMesaSwrast_la_SOURCES): Set to *.[ch].
More source list updates in various Makefile.am's.

* Makefile.am (dist-hook): Remove CVS directory from distribution.
(DIST_SUBDIRS): List all possible subdirs here.
(SUBDIRS): Only list subdirs selected for build again.
The above two applied to all subdir Makefile.am's also.

23 years ago* include/GL/Makefile.am: ENABLE_GLUT_BUILD -> NEED_GLUT
pesco [Thu, 21 Dec 2000 20:04:14 +0000 (20:04 +0000)]
* include/GL/Makefile.am: ENABLE_GLUT_BUILD -> NEED_GLUT
* bootstrap: Fixed stupid mistakes.
* configure.in (LIBGL_VERSION): Include Mesa version as tiny number.
(LIBGLU_VERSION): Likewise.

23 years agoset visual->MRD to 2.0
Brian Paul [Sat, 16 Dec 2000 00:21:28 +0000 (00:21 +0000)]
set visual->MRD to 2.0

23 years agoPolygon._OffsetAny wasn't being computed
Brian Paul [Sat, 16 Dec 2000 00:19:12 +0000 (00:19 +0000)]
Polygon._OffsetAny wasn't being computed

23 years agominor fog clean-ups (Klaus Niederkrueger)
Brian Paul [Fri, 15 Dec 2000 16:42:30 +0000 (16:42 +0000)]
minor fog clean-ups (Klaus Niederkrueger)

23 years agoadded more GLX extension function stubs
Brian Paul [Fri, 15 Dec 2000 04:02:50 +0000 (04:02 +0000)]
added more GLX extension function stubs

23 years agoRenamed texture object _P to _MaxLevel and _M to _MaxLambda.
Brian Paul [Thu, 14 Dec 2000 20:25:56 +0000 (20:25 +0000)]
Renamed texture object _P to _MaxLevel and _M to _MaxLambda.
Now add BaseLevel in _MaxLevel computation.

23 years agoupdated glXSet3DfxModeMESA() prototype types
Brian Paul [Thu, 14 Dec 2000 17:44:42 +0000 (17:44 +0000)]
updated glXSet3DfxModeMESA() prototype types

23 years agoadded some more GLX extension entrypoints (fix GLUT link problems when using glxext.h)
Brian Paul [Thu, 14 Dec 2000 17:44:08 +0000 (17:44 +0000)]
added some more GLX extension entrypoints (fix GLUT link problems when using glxext.h)

23 years agofixed conformance problems in min/max and histogram result packing
Brian Paul [Wed, 13 Dec 2000 23:13:45 +0000 (23:13 +0000)]
fixed conformance problems in min/max and histogram result packing

23 years agoreplaced GLfixed with GLfloat in _mesa_fog_ci_pixels() (Klaus Niederkrueger)
Brian Paul [Wed, 13 Dec 2000 17:35:43 +0000 (17:35 +0000)]
replaced GLfixed with GLfloat in _mesa_fog_ci_pixels() (Klaus Niederkrueger)

23 years agouse inverted Y coordinate for choosing dither value (conformance fixes)
Brian Paul [Wed, 13 Dec 2000 16:24:39 +0000 (16:24 +0000)]
use inverted Y coordinate for choosing dither value (conformance fixes)

23 years agoadded glReadPixels item
Brian Paul [Wed, 13 Dec 2000 00:48:02 +0000 (00:48 +0000)]
added glReadPixels item

23 years agotweaked truecolor dither kernel setup code
Brian Paul [Wed, 13 Dec 2000 00:47:10 +0000 (00:47 +0000)]
tweaked truecolor dither kernel setup code

23 years agoimproved precision of glReadPixels for colorbuffers < 24bpp
Brian Paul [Wed, 13 Dec 2000 00:46:21 +0000 (00:46 +0000)]
improved precision of glReadPixels for colorbuffers < 24bpp

23 years agodisabled two optimized textured triangle functions because of texcoord interpolation...
Brian Paul [Tue, 12 Dec 2000 00:31:45 +0000 (00:31 +0000)]
disabled two optimized textured triangle functions because of texcoord interpolation errors

23 years agoclipping, fog, texture optimizations (Klaus Niederkrueger)
Brian Paul [Tue, 12 Dec 2000 00:27:51 +0000 (00:27 +0000)]
clipping, fog, texture optimizations (Klaus Niederkrueger)

23 years agodisabled GLX_SGIS_multisample (temporarily) since its tokens aren't defined
Brian Paul [Mon, 11 Dec 2000 15:42:53 +0000 (15:42 +0000)]
disabled GLX_SGIS_multisample (temporarily) since its tokens aren't defined

23 years agominor changes to fix compile problems/warnings
Brian Paul [Mon, 11 Dec 2000 15:41:47 +0000 (15:41 +0000)]
minor changes to fix compile problems/warnings

23 years agoAdded a new configure.in flag, --enable-glut-build.
Jon Taylor [Mon, 11 Dec 2000 05:22:11 +0000 (05:22 +0000)]
Added a new configure.in flag, --enable-glut-build.
This defaults to "off", so GLUT is not built by default.

23 years agogenerate GL_INVALID_OPERATION error for bad image format/type combinations
Brian Paul [Sun, 10 Dec 2000 19:23:19 +0000 (19:23 +0000)]
generate GL_INVALID_OPERATION error for bad image format/type combinations

23 years ago_MultiTextureEnabled was being computed incorrectly
Brian Paul [Sat, 9 Dec 2000 22:09:50 +0000 (22:09 +0000)]
_MultiTextureEnabled was being computed incorrectly

23 years agoadjust texture size for convolution in glCopyTex[Sub]Image[123]D()
Brian Paul [Sat, 9 Dec 2000 21:30:43 +0000 (21:30 +0000)]
adjust texture size for convolution in glCopyTex[Sub]Image[123]D()

23 years agoset default table size to 0, minor error check fix
Brian Paul [Sat, 9 Dec 2000 20:51:12 +0000 (20:51 +0000)]
set default table size to 0, minor error check fix

23 years agodefine GL_ARB_imaging
Brian Paul [Sat, 9 Dec 2000 20:36:18 +0000 (20:36 +0000)]
define GL_ARB_imaging

23 years agoinitialize convolution filters to zero
Brian Paul [Sat, 9 Dec 2000 20:35:54 +0000 (20:35 +0000)]
initialize convolution filters to zero

23 years agoadded queries for convolution enables
Brian Paul [Sat, 9 Dec 2000 20:35:32 +0000 (20:35 +0000)]
added queries for convolution enables

23 years agoadded GL_RESCALE_NORMAL cases
Brian Paul [Sat, 9 Dec 2000 19:55:18 +0000 (19:55 +0000)]
added GL_RESCALE_NORMAL cases

23 years agomore detailed texture error messages
Brian Paul [Fri, 8 Dec 2000 18:09:33 +0000 (18:09 +0000)]
more detailed texture error messages

23 years agoinclude glxext.h unless GLX_GLXEXT_LEGACY is defined
Brian Paul [Fri, 8 Dec 2000 18:08:15 +0000 (18:08 +0000)]
include glxext.h unless GLX_GLXEXT_LEGACY is defined

23 years agostandardized GLX extensions header
Brian Paul [Fri, 8 Dec 2000 18:06:35 +0000 (18:06 +0000)]
standardized GLX extensions header

23 years agofixed bug 123918: glXCopySubBuffer() y position off by one
Brian Paul [Fri, 8 Dec 2000 17:37:00 +0000 (17:37 +0000)]
fixed bug 123918: glXCopySubBuffer() y position off by one

23 years agoadded LL_MESA_sprite_point extension
Brian Paul [Fri, 8 Dec 2000 00:28:59 +0000 (00:28 +0000)]
added LL_MESA_sprite_point extension

23 years agoinitial draft
Brian Paul [Fri, 8 Dec 2000 00:21:02 +0000 (00:21 +0000)]
initial draft

23 years agoInitial work on GL_MESA_sprite_point extension.
Brian Paul [Fri, 8 Dec 2000 00:20:15 +0000 (00:20 +0000)]
Initial work on GL_MESA_sprite_point extension.
Still need to resolve clipping issues, finalize the spec.

23 years agoCompute attenuated point size in a new pipeline stage.
Brian Paul [Fri, 8 Dec 2000 00:18:39 +0000 (00:18 +0000)]
Compute attenuated point size in a new pipeline stage.
Store computed point size in the SWvertex struct.

23 years agominor comments, clean-up
Brian Paul [Fri, 8 Dec 2000 00:09:24 +0000 (00:09 +0000)]
minor comments, clean-up

23 years agocall glFinish() before getting t1 time
Brian Paul [Thu, 7 Dec 2000 21:50:39 +0000 (21:50 +0000)]
call glFinish() before getting t1 time

23 years agoAllow operating system SSE support test to be overridden with an
Gareth Hughes [Thu, 7 Dec 2000 02:36:38 +0000 (02:36 +0000)]
Allow operating system SSE support test to be overridden with an
environment variable.

23 years agoMerge Mesa 3.4 test for operating system support for SSE.
Gareth Hughes [Wed, 6 Dec 2000 14:41:47 +0000 (14:41 +0000)]
Merge Mesa 3.4 test for operating system support for SSE.

23 years agoadded -s option to control when glXSwapBuffers() is called
Brian Paul [Sat, 2 Dec 2000 20:33:05 +0000 (20:33 +0000)]
added -s option to control when glXSwapBuffers() is called

23 years agoEnable double-buffering, count not even multiple of three.
Gareth Hughes [Thu, 30 Nov 2000 03:06:56 +0000 (03:06 +0000)]
Enable double-buffering, count not even multiple of three.

23 years agoAdd basic timing information.
Gareth Hughes [Thu, 30 Nov 2000 01:44:24 +0000 (01:44 +0000)]
Add basic timing information.

23 years agochanged error tests for depth and stencil buffers
Brian Paul [Tue, 28 Nov 2000 22:34:46 +0000 (22:34 +0000)]
changed error tests for depth and stencil buffers

23 years agofixed parameter mis-ordering bug in Driver.StencilSpan calls
Brian Paul [Tue, 28 Nov 2000 21:34:04 +0000 (21:34 +0000)]
fixed parameter mis-ordering bug in Driver.StencilSpan calls

23 years ago Committing in .
Jouk Jansen [Tue, 28 Nov 2000 08:03:22 +0000 (08:03 +0000)]
 Committing in .

 Modified Files:
  Mesa/src/swrast/s_copypix.c

 changed one occurence of rgba to rgbaFloat
----------------------------------------------------------------------

23 years agoPass scale and bias values to _mesa_scale_and_bias_rgba().
Brian Paul [Tue, 28 Nov 2000 00:07:51 +0000 (00:07 +0000)]
Pass scale and bias values to _mesa_scale_and_bias_rgba().
Implemented post-convolution scale and bias operation.

23 years agofixed a convolution pixel store bug
Brian Paul [Tue, 28 Nov 2000 00:04:39 +0000 (00:04 +0000)]
fixed a convolution pixel store bug

23 years agoadded new source directories to LIB_FILES
Brian Paul [Mon, 27 Nov 2000 19:13:16 +0000 (19:13 +0000)]
added new source directories to LIB_FILES

23 years agoSet ENABLE_LIGHT according to ctx->Light.Enabled whether or not
Brian Paul [Mon, 27 Nov 2000 18:59:09 +0000 (18:59 +0000)]
Set ENABLE_LIGHT according to ctx->Light.Enabled whether or not
individual light sources are enabled.

23 years agominor changes to fix compiler warnings
Brian Paul [Mon, 27 Nov 2000 18:53:59 +0000 (18:53 +0000)]
minor changes to fix compiler warnings

23 years agoAdded MaxClipPlanes and MaxLights to gl_constants struct so T&L
Brian Paul [Mon, 27 Nov 2000 18:22:13 +0000 (18:22 +0000)]
Added MaxClipPlanes and MaxLights to gl_constants struct so T&L
drivers can report non-default numbers of lights and clip planes.

23 years agomap glIndex* functions to glIndexi() (glIndexub was looping back to glIndexub)
Brian Paul [Mon, 27 Nov 2000 18:17:09 +0000 (18:17 +0000)]
map glIndex* functions to glIndexi() (glIndexub was looping back to glIndexub)

23 years ago Modified Files:
Jouk Jansen [Mon, 27 Nov 2000 09:05:52 +0000 (09:05 +0000)]
 Modified Files:
  Mesa/src/tnl/t_context.c Mesa/src/tnl/t_debug.c
  Mesa/src/tnl/t_pipeline.c

 Some updates to silence warnings on my VMS-machine

----------------------------------------------------------------------

23 years agofixed GLX_PBUFFER value
Brian Paul [Sat, 25 Nov 2000 18:52:58 +0000 (18:52 +0000)]
fixed GLX_PBUFFER value

23 years agoFixed a couple of bugs that crept into last commit
Keith Whitwell [Fri, 24 Nov 2000 15:21:59 +0000 (15:21 +0000)]
Fixed a couple of bugs that crept into last commit
- Eval not compiled correctly
- Material colors computed incorrectly

Reworked the VERT_TEX flags, now support upto 12 texture units in tnl.

23 years ago Committing in .
Jouk Jansen [Fri, 24 Nov 2000 13:55:59 +0000 (13:55 +0000)]
 Committing in .

 Modified Files:
  Mesa/src/descrip.mms

 Updated VMS-compile support
----------------------------------------------------------------------

23 years agoNew files...
Keith Whitwell [Fri, 24 Nov 2000 10:30:04 +0000 (10:30 +0000)]
New files...

23 years agoSupport for swappable t&l modules, including an example one in the FX
Keith Whitwell [Fri, 24 Nov 2000 10:25:05 +0000 (10:25 +0000)]
Support for swappable t&l modules, including an example one in the FX
driver (enable with FX_ALLOW_VTXFMT=t).

23 years agominor updates for widgets-mesa/
Brian Paul [Thu, 23 Nov 2000 16:36:36 +0000 (16:36 +0000)]
minor updates for widgets-mesa/

23 years agoMore auto* build system updates
Jon Taylor [Thu, 23 Nov 2000 02:50:56 +0000 (02:50 +0000)]
More auto* build system updates

23 years ago Modified Files:
Jouk Jansen [Wed, 22 Nov 2000 09:01:04 +0000 (09:01 +0000)]
 Modified Files:
  Mesa/macos/src-gli/MDD.h Mesa/macos/src-gli/mgliContext.c
  Mesa/macos/src-gli/mgliContext.h
  Mesa/macos/src-gli/mgliError.c Mesa/src/D3D/D3DMESA.H
  Mesa/src/D3D/D3Dvbrender.c Mesa/src/D3D/NullProcs.c
  Mesa/src/S3/S3mesa.c

Some more files with capitals.

----------------------------------------------------------------------

23 years ago Modified Files:
Jouk Jansen [Wed, 22 Nov 2000 08:55:51 +0000 (08:55 +0000)]
 Modified Files:
  Mesa/src/Allegro/amesa.c Mesa/src/DOS/dosmesa.c
  Mesa/src/FX/fxdd.c Mesa/src/FX/fxdrv.h
  Mesa/src/FX/fxfastpath.c
  Mesa/src/GGI/include/ggi/mesa/ggimesa.h
  Mesa/src/OSmesa/osmesa.c Mesa/src/SVGA/svgamesa.c
  Mesa/src/Trace/tr_control.c Mesa/src/Windows/wgl.c
  Mesa/src/X/xmesaP.h Mesa/src/X86/3dnow.c Mesa/src/X86/katmai.c
  Mesa/src/X86/x86.c
 Removed Files:
  Mesa/src/mms_depend

 Oops,... all files containing Caps in directory name or file name were
 missing in my types->mtypes commit.

----------------------------------------------------------------------

23 years ago Modified Files:
Jouk Jansen [Wed, 22 Nov 2000 08:42:14 +0000 (08:42 +0000)]
 Modified Files:
  Mesa/src/descrip.mms Mesa/src/swrast/s_lines.c

 VMS compile support
 Added some Type casts to avoid warnings
----------------------------------------------------------------------

23 years ago Committing in .
Jouk Jansen [Wed, 22 Nov 2000 07:32:16 +0000 (07:32 +0000)]
 Committing in .

 Modified Files:
  Mesa/macos/gli_api/gliapi1.h Mesa/macos/gli_api/gliapi2.h
  Mesa/macos/gli_api/gliapiext.h Mesa/macos/src-gli/fxgli.c
  Mesa/macos/src-gli/fxgli.h Mesa/macos/src-gli/fxgli2.c
  Mesa/macos/src-gli/fxgli_tridebug.c Mesa/src/accum.c
  Mesa/src/accum.h Mesa/src/all.h Mesa/src/alpha.c
  Mesa/src/alpha.h Mesa/src/attrib.c Mesa/src/attrib.h
  Mesa/src/bitmap.c Mesa/src/bitmap.h Mesa/src/blend.c
  Mesa/src/blend.h Mesa/src/buffers.c Mesa/src/buffers.h
  Mesa/src/clip.c Mesa/src/clip.h Mesa/src/colortab.h
  Mesa/src/config.c Mesa/src/context.c Mesa/src/context.h
  Mesa/src/convolve.c Mesa/src/convolve.h Mesa/src/copypix.c
  Mesa/src/copypix.h Mesa/src/debug.c Mesa/src/depth.c
  Mesa/src/depth.h Mesa/src/dlist.c Mesa/src/dlist.h
  Mesa/src/drawpix.c Mesa/src/drawpix.h Mesa/src/enable.c
  Mesa/src/enable.h Mesa/src/eval.c Mesa/src/eval.h
  Mesa/src/extensions.c Mesa/src/extensions.h
  Mesa/src/feedback.c Mesa/src/feedback.h Mesa/src/fog.c
  Mesa/src/fog.h Mesa/src/get.c Mesa/src/get.h Mesa/src/glapi.c
  Mesa/src/glthread.h Mesa/src/highpc.c Mesa/src/hint.h
  Mesa/src/histogram.h Mesa/src/image.c Mesa/src/image.h
  Mesa/src/imports.c Mesa/src/light.c Mesa/src/light.h
  Mesa/src/lines.c Mesa/src/lines.h Mesa/src/logic.c
  Mesa/src/logic.h Mesa/src/masking.c Mesa/src/masking.h
  Mesa/src/matrix.c Mesa/src/matrix.h Mesa/src/pixel.c
  Mesa/src/pixel.h Mesa/src/points.c Mesa/src/points.h
  Mesa/src/polygon.c Mesa/src/polygon.h Mesa/src/rastpos.c
  Mesa/src/readpix.c Mesa/src/scissor.c Mesa/src/scissor.h
  Mesa/src/state.c Mesa/src/state.h Mesa/src/stencil.c
  Mesa/src/stencil.h Mesa/src/teximage.c Mesa/src/teximage.h
  Mesa/src/texobj.c Mesa/src/texobj.h Mesa/src/texstate.c
  Mesa/src/texstate.h Mesa/src/texture.c Mesa/src/texture.h
  Mesa/src/texutil.c Mesa/src/texutil.h Mesa/src/varray.c
  Mesa/src/varray.h Mesa/src/X/fakeglx.c Mesa/src/X/xm_api.c
  Mesa/src/X/xm_dd.c Mesa/src/X/xm_line.c Mesa/src/X/xm_span.c
  Mesa/src/X/xm_tri.c Mesa/src/swrast/s_aaline.c
  Mesa/src/swrast/s_aaline.h Mesa/src/swrast/s_aatriangle.h
  Mesa/src/swrast/s_accum.h Mesa/src/swrast/s_alpha.h
  Mesa/src/swrast/s_alphabuf.h Mesa/src/swrast/s_blend.h
  Mesa/src/swrast/s_context.c Mesa/src/swrast/s_context.h
  Mesa/src/swrast/s_depth.h Mesa/src/swrast/s_drawpix.h
  Mesa/src/swrast/s_feedback.h Mesa/src/swrast/s_fog.h
  Mesa/src/swrast/s_histogram.h Mesa/src/swrast/s_lines.h
  Mesa/src/swrast/s_logic.h Mesa/src/swrast/s_masking.h
  Mesa/src/swrast/s_pb.h Mesa/src/swrast/s_pixeltex.h
  Mesa/src/swrast/s_points.h Mesa/src/swrast/s_quads.c
  Mesa/src/swrast/s_quads.h Mesa/src/swrast/s_scissor.h
  Mesa/src/swrast/s_span.h Mesa/src/swrast/s_stencil.h
  Mesa/src/swrast/s_texture.h Mesa/src/swrast/s_triangle.h
  Mesa/src/swrast/s_zoom.h Mesa/src/swrast/swrast.h
  Mesa/src/swrast_setup/ss_context.h
  Mesa/src/swrast_setup/ss_triangle.c
  Mesa/src/swrast_setup/ss_triangle.h
  Mesa/src/swrast_setup/ss_vb.h Mesa/src/tnl/t_clip.c
  Mesa/src/tnl/t_clip.h Mesa/src/tnl/t_context.c
  Mesa/src/tnl/t_context.h Mesa/src/tnl/t_cva.c
  Mesa/src/tnl/t_cva.h Mesa/src/tnl/t_debug.c
  Mesa/src/tnl/t_debug.h Mesa/src/tnl/t_dlist.h
  Mesa/src/tnl/t_eval.c Mesa/src/tnl/t_eval.h
  Mesa/src/tnl/t_fog.c Mesa/src/tnl/t_fog.h
  Mesa/src/tnl/t_light.c Mesa/src/tnl/t_light.h
  Mesa/src/tnl/t_pipeline.c Mesa/src/tnl/t_pipeline.h
  Mesa/src/tnl/t_shade.c Mesa/src/tnl/t_shade.h
  Mesa/src/tnl/t_stages.c Mesa/src/tnl/t_stages.h
  Mesa/src/tnl/t_texture.c Mesa/src/tnl/t_texture.h
  Mesa/src/tnl/t_trans_elt.c Mesa/src/tnl/t_trans_elt.h
  Mesa/src/tnl/t_varray.c Mesa/src/tnl/t_varray.h
  Mesa/src/tnl/t_vb.c Mesa/src/tnl/t_vb.h
  Mesa/src/tnl/t_vbcull.c Mesa/src/tnl/t_vbcull.h
  Mesa/src/tnl/t_vbfill.c Mesa/src/tnl/t_vbfill.h
  Mesa/src/tnl/t_vbindirect.c Mesa/src/tnl/t_vbindirect.h
  Mesa/src/tnl/t_vbrender.c Mesa/src/tnl/t_vbrender.h
  Mesa/src/tnl/t_vbxform.c Mesa/src/tnl/t_vbxform.h
  Mesa/src/tnl/tnl.h
 Added Files:
  Mesa/src/mtypes.h
 Removed Files:
  Mesa/src/types.h

 Changed Mesa/src/types to Mesa/src/mtypes.h to avoid conflicts while
compiling on a VMS system.

----------------------------------------------------------------------

23 years agoMore auto* build system fixes
Jon Taylor [Wed, 22 Nov 2000 06:49:43 +0000 (06:49 +0000)]
More auto* build system fixes

23 years agoswrast setup fixes
Jon Taylor [Wed, 22 Nov 2000 06:45:38 +0000 (06:45 +0000)]
swrast setup fixes

23 years agocall gl_update_state() if needed in glGetColorTable, glGetConvolutionFilter
Brian Paul [Tue, 21 Nov 2000 23:26:13 +0000 (23:26 +0000)]
call gl_update_state() if needed in glGetColorTable, glGetConvolutionFilter

23 years agocall RENDER_START/FINISH in read_color_image()
Brian Paul [Tue, 21 Nov 2000 23:25:40 +0000 (23:25 +0000)]
call RENDER_START/FINISH in read_color_image()

23 years agominor clean-ups (Klaus Niederkrueger)
Brian Paul [Tue, 21 Nov 2000 23:17:36 +0000 (23:17 +0000)]
minor clean-ups (Klaus Niederkrueger)

23 years agominor clean-ups
Brian Paul [Tue, 21 Nov 2000 23:09:18 +0000 (23:09 +0000)]
minor clean-ups

23 years agoadded some RENDER_START/RENDER_FINISH macros. Minor GLchan changes
Brian Paul [Tue, 21 Nov 2000 23:01:22 +0000 (23:01 +0000)]
added some RENDER_START/RENDER_FINISH macros.  Minor GLchan changes

23 years agoMore auto* build fixes
Jon Taylor [Tue, 21 Nov 2000 05:17:13 +0000 (05:17 +0000)]
More auto* build fixes
Removed spurious trace/Makefile from repository

23 years agominor multi-tex changes, changed MAX_TEXTURE_UNITS to 4
Brian Paul [Mon, 20 Nov 2000 18:06:11 +0000 (18:06 +0000)]
minor multi-tex changes, changed MAX_TEXTURE_UNITS to 4

23 years agoremoved #include <tgmath.h>
Brian Paul [Mon, 20 Nov 2000 15:16:33 +0000 (15:16 +0000)]
removed #include <tgmath.h>

23 years agofix lvalue cast on ctx->swtnl_im
Keith Whitwell [Mon, 20 Nov 2000 13:39:36 +0000 (13:39 +0000)]
fix lvalue cast on ctx->swtnl_im

23 years ago* More work on the auto* build system
Jon Taylor [Sun, 19 Nov 2000 23:42:32 +0000 (23:42 +0000)]
* More work on the auto* build system
* Added missing #includes all over the place
* Added GGI-style debugging harness to GGIMesa

23 years agoReplaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.
Brian Paul [Sun, 19 Nov 2000 23:10:25 +0000 (23:10 +0000)]
Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.
Completely removed the dirty texture object list.  Set texObj->Complete
to GL_FALSE to indicate dirty.
Made point/line/triangle/quad SWvertex parameters const.
Minor code clean-ups.

23 years agoAdded GGI-style debugging harness to GGIGLUT.
Jon Taylor [Sun, 19 Nov 2000 07:41:26 +0000 (07:41 +0000)]
Added GGI-style debugging harness to GGIGLUT.

23 years ago- Fix tnl/t_context.h inclusion.
Gareth Hughes [Sun, 19 Nov 2000 02:18:33 +0000 (02:18 +0000)]
- Fix tnl/t_context.h inclusion.
- Some SSE asm updates, more to come.

23 years agoadded more programs
Brian Paul [Sat, 18 Nov 2000 17:13:04 +0000 (17:13 +0000)]
added more programs

23 years agotest texture palettes with multitexture
Brian Paul [Sat, 18 Nov 2000 17:12:33 +0000 (17:12 +0000)]
test texture palettes with multitexture

23 years agoMark Kilgard's reflection/shadow dino demo
Brian Paul [Sat, 18 Nov 2000 17:10:07 +0000 (17:10 +0000)]
Mark Kilgard's reflection/shadow dino demo

23 years agohacked demo to test multi-texture projective textures
Brian Paul [Sat, 18 Nov 2000 17:07:39 +0000 (17:07 +0000)]
hacked demo to test multi-texture projective textures

23 years ago* Auto* build fixes
Jon Taylor [Sat, 18 Nov 2000 08:10:21 +0000 (08:10 +0000)]
* Auto* build fixes
* Added missing includes to math/*

23 years agoMinor header file changes to silence warnings.
Brian Paul [Fri, 17 Nov 2000 21:01:25 +0000 (21:01 +0000)]
Minor header file changes to silence warnings.
Added _mesa_enable_sw_extensions(), called by software-only drivers
to enable all s/w-supported GL extensions.

23 years ago Committing in .
Jouk Jansen [Fri, 17 Nov 2000 11:00:55 +0000 (11:00 +0000)]
 Committing in .

 Patches to compile Mesa on VMS.
   -Updated for new directory tree
   -Now compile with PTHREADS on

 The patch in glthread.h is temporarily. The include file src/types.h
 conflicts with the system defined types.h. In future the mesa supplied one
 should be renamed.

 Modified Files:
  Mesa/include/GL/vms_x_fix.h Mesa/src/descrip.mms
  Mesa/src/glthread.h Mesa/src/mms_depend
 ----------------------------------------------------------------------

23 years agoMove the transform and lighting code to two new directories
Keith Whitwell [Thu, 16 Nov 2000 21:05:34 +0000 (21:05 +0000)]
Move the transform and lighting code to two new directories
math:  Provides basic matrix and vector functionality that
               might be useful to multiple software t&l
       implementations, and is used by core mesa to
       manage the Model, Project, etc matrices.

tnl:   The real transform & lighting code from core mesa,
       including everything from glVertex3f through vertex
       buffer handling, transformation, clipping, lighting
       and handoff to a driver for rasterization.

The interfaces of these can be further tightened up, but the basic
splitting up of state and code move is done.

23 years agoSmall compile fix
Jon Taylor [Thu, 16 Nov 2000 10:38:39 +0000 (10:38 +0000)]
Small compile fix

23 years agoadded includes to silence warnings
Brian Paul [Wed, 15 Nov 2000 16:38:59 +0000 (16:38 +0000)]
added includes to silence warnings

23 years agoReplaced ctx->Point.Size with ctx->Point._Size
Brian Paul [Wed, 15 Nov 2000 16:38:40 +0000 (16:38 +0000)]
Replaced ctx->Point.Size with ctx->Point._Size
Replaced ctx->Point.UserSize with ctx->Point.Size

23 years agorewrite of _mesa_win_fog_coords_from_z() so that both perspective and orthographic...
Brian Paul [Wed, 15 Nov 2000 00:26:01 +0000 (00:26 +0000)]
rewrite of _mesa_win_fog_coords_from_z() so that both perspective and orthographic projection are handled correctly

23 years agomore Driver.Color, Driver.Index updates
Brian Paul [Tue, 14 Nov 2000 17:51:15 +0000 (17:51 +0000)]
more Driver.Color, Driver.Index updates

23 years agoremoved unused set_color() and set_index() functions
Brian Paul [Tue, 14 Nov 2000 17:50:07 +0000 (17:50 +0000)]
removed unused set_color() and set_index() functions

23 years agoRemoved Driver.Color() and Driver.Index() functions.
Brian Paul [Tue, 14 Nov 2000 17:40:13 +0000 (17:40 +0000)]
Removed Driver.Color() and Driver.Index() functions.
Pass color or color index directly to WriteMono*() span functions.
Updated current s/w drivers accordingly.
Clean-up of X gc handling in XMesa driver.

23 years agoCleanup of derived state calculation prior to seperating software T&L
Keith Whitwell [Mon, 13 Nov 2000 20:02:56 +0000 (20:02 +0000)]
Cleanup of derived state calculation prior to seperating software T&L
into a new directory.  Specifically the handling of changes to lighting
lighting space (light in model vs. light in eye) have been revamped.

Moved several derived values used only by swrast into that directory.

Removed direct calls to swrast_flush() from vbrender.c -- pushed into
ctx->Driver.RenderFinish.

Optimized flat-shading case in swrast_setup.

23 years agoremoved unused var
Brian Paul [Mon, 13 Nov 2000 15:33:56 +0000 (15:33 +0000)]
removed unused var

23 years agobumped version to 3.5
Brian Paul [Mon, 13 Nov 2000 15:33:17 +0000 (15:33 +0000)]
bumped version to 3.5

23 years agofixed another texImage mistake in _mesa_GetTexImage()
Brian Paul [Mon, 13 Nov 2000 15:25:26 +0000 (15:25 +0000)]
fixed another texImage mistake in _mesa_GetTexImage()