mesa.git
23 years agoStill need 'DD_TRI_CULL_FRONT_BACK'
Keith Whitwell [Mon, 8 Jan 2001 17:42:13 +0000 (17:42 +0000)]
Still need 'DD_TRI_CULL_FRONT_BACK'

23 years agoAdd call to Driver.RenderPrimitive()
Keith Whitwell [Mon, 8 Jan 2001 17:41:15 +0000 (17:41 +0000)]
Add call to Driver.RenderPrimitive()

23 years agorevert XMesaCreateContext changes
Keith Whitwell [Mon, 8 Jan 2001 04:55:22 +0000 (04:55 +0000)]
revert XMesaCreateContext changes

23 years agoAdd a 'RenderPrimitive' callback to t_vb_render.c. Helps out drivers
Keith Whitwell [Mon, 8 Jan 2001 04:09:41 +0000 (04:09 +0000)]
Add a 'RenderPrimitive' callback to t_vb_render.c.  Helps out drivers
that used to require a 'ReducedPrimitiveChange' callback.

Various compilation fixes for XFree86.

Reverted to the older version of glcore.h used internally in XFree86, and
moved it to 'Mesa/include/GL/internal/glcore.h', for compatibility with
XFree86.

23 years agoBring the FX driver into line with core mesa changes.
Keith Whitwell [Mon, 8 Jan 2001 04:06:56 +0000 (04:06 +0000)]
Bring the FX driver into line with core mesa changes.

23 years agoModify X11 driver and fake glx to store a GLcontext
Keith Whitwell [Mon, 8 Jan 2001 04:06:20 +0000 (04:06 +0000)]
Modify X11 driver and fake glx to store a GLcontext
(ie a 'struct __GLcontextRec *') instead of an 'XMesaContext'.

This is to fix conflicts in XFree86 where both the indirect XMesaContext
and the GLcontext were calling themselves __GLcontextRec's.

23 years agoMoved glcore.h to a location prefixed by 'GL/internal', for compatibility
Keith Whitwell [Mon, 8 Jan 2001 03:56:53 +0000 (03:56 +0000)]
Moved glcore.h to a location prefixed by 'GL/internal', for compatibility
with XFree86 and the SI code there.

23 years agoImplementation of GL_EXT_texture_env_dot3.
Gareth Hughes [Sat, 6 Jan 2001 22:46:13 +0000 (22:46 +0000)]
Implementation of GL_EXT_texture_env_dot3.

23 years agoAdd GL_POINTS as a primitive, including with CVA DrawElements. Useful
Gareth Hughes [Sat, 6 Jan 2001 20:38:03 +0000 (20:38 +0000)]
Add GL_POINTS as a primitive, including with CVA DrawElements.  Useful
for testing non-triangle primitives on hardware driver fastpaths.

23 years agoFixed bug in MinMagThresh computation.
Brian Paul [Fri, 5 Jan 2001 21:28:31 +0000 (21:28 +0000)]
Fixed bug in MinMagThresh computation.
Renamed gl_texture_pixels() to _swrast_texture_fragments()

23 years ago Committing in .
Jouk Jansen [Fri, 5 Jan 2001 08:09:46 +0000 (08:09 +0000)]
 Committing in .

 Modified Files:
  Mesa/src/descrip.mms

 VMS makefile update
----------------------------------------------------------------------

23 years agovarious compilation/warning fixes
Keith Whitwell [Fri, 5 Jan 2001 05:31:42 +0000 (05:31 +0000)]
various compilation/warning fixes

23 years agoRemove 'pv' parameter from Line/Tri/Point funcs. The provoking vertex
Keith Whitwell [Fri, 5 Jan 2001 02:26:48 +0000 (02:26 +0000)]
Remove 'pv' parameter from Line/Tri/Point funcs.  The provoking vertex
is always the last vertex parameter.
Modify clipping to preserve pv colors.
Modify swrast and X11 driver to expect the pv in the last vertex
(was looking in the first vertex previously).
Remove all handling of flatshading from swrast_setup.

Allow drivers to override the unclipped render tabs in tnl_render_stage
directly.  (Like in 3.4).  Removed fxsimplerender stage.

Modified t_vb_rendertmp.h to remove the need for 'parity' arguments
in RENDER_TRI macros.

23 years agoadded underflow check in validate_shine_table()
Brian Paul [Thu, 4 Jan 2001 16:22:18 +0000 (16:22 +0000)]
added underflow check in validate_shine_table()

23 years agoadded divide by zero check
Brian Paul [Thu, 4 Jan 2001 15:32:32 +0000 (15:32 +0000)]
added divide by zero check

23 years agochanged some point functions, new picking code
Brian Paul [Thu, 4 Jan 2001 15:32:10 +0000 (15:32 +0000)]
changed some point functions, new picking code

23 years agominor bug fixes
Brian Paul [Thu, 4 Jan 2001 15:31:38 +0000 (15:31 +0000)]
minor bug fixes

23 years agoadded divide by zero check
Brian Paul [Wed, 3 Jan 2001 22:56:23 +0000 (22:56 +0000)]
added divide by zero check

23 years agoadded divide by zero checks
Brian Paul [Wed, 3 Jan 2001 22:55:26 +0000 (22:55 +0000)]
added divide by zero checks

23 years agoNew point rasterization functions based on template code that
Brian Paul [Wed, 3 Jan 2001 22:17:16 +0000 (22:17 +0000)]
New point rasterization functions based on template code that
handles CI/RGB, texture, antialiasing, attenuation, etc.

23 years agoMore color macro clean-ups.
Brian Paul [Wed, 3 Jan 2001 15:59:30 +0000 (15:59 +0000)]
More color macro clean-ups.
FLOAT_TO_CHAN() macro removed.

23 years agominor clean-up
Brian Paul [Wed, 3 Jan 2001 15:56:41 +0000 (15:56 +0000)]
minor clean-up

23 years agoAdded missing #include "mmath.h"
Jon Taylor [Wed, 3 Jan 2001 02:43:46 +0000 (02:43 +0000)]
Added missing #include "mmath.h"

23 years agomissed a few color macro changes
Brian Paul [Tue, 2 Jan 2001 22:05:55 +0000 (22:05 +0000)]
missed a few color macro changes

23 years agoRemoved fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h)
Brian Paul [Tue, 2 Jan 2001 22:02:51 +0000 (22:02 +0000)]
Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h)
Clean-up of color conversion macros.
New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places.

23 years agoinclude state.h
Brian Paul [Tue, 2 Jan 2001 21:40:57 +0000 (21:40 +0000)]
include state.h

23 years agominor GLchan-related changes
Brian Paul [Tue, 2 Jan 2001 21:09:50 +0000 (21:09 +0000)]
minor GLchan-related changes

23 years ago Committing in .
Jouk Jansen [Tue, 2 Jan 2001 10:07:33 +0000 (10:07 +0000)]
 Committing in .

 Modified Files:
  Mesa/demos/descrip.mms Mesa/src/descrip.mms
  Mesa/src/dispatch.c

 -Updated VMS compile suppport
 -Included glthread.h in dispatch.c to make sure that THREADS is defined if
   i.e. PTHREADS is defined in the makefile.

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

23 years agoAdd render stage for unclipped vb's to fx driver.
Keith Whitwell [Thu, 28 Dec 2000 22:11:04 +0000 (22:11 +0000)]
Add render stage for unclipped vb's to fx driver.
Bump MAX_TEXTURE_UNITS to 8
Fix mem. leak in destroy_lists
Fix crash in q3 (cva generally)

23 years agotry and force a log message
Keith Whitwell [Thu, 28 Dec 2000 16:42:37 +0000 (16:42 +0000)]
try and force a log message

23 years agotry and force a log message
Keith Whitwell [Thu, 28 Dec 2000 16:35:42 +0000 (16:35 +0000)]
try and force a log message

23 years agotry and force a log message
Keith Whitwell [Thu, 28 Dec 2000 16:32:22 +0000 (16:32 +0000)]
try and force a log message

23 years agoFixed GGIMesa build problems.
Jon Taylor [Thu, 28 Dec 2000 02:00:27 +0000 (02:00 +0000)]
Fixed GGIMesa build problems.
Swrast triangle drawing fixes.

23 years agotry and force a log message
Keith Whitwell [Wed, 27 Dec 2000 23:01:25 +0000 (23:01 +0000)]
try and force a log message

23 years agotry and force a log message
Keith Whitwell [Wed, 27 Dec 2000 22:59:46 +0000 (22:59 +0000)]
try and force a log message

23 years agotry and force a log message
Keith Whitwell [Wed, 27 Dec 2000 22:57:13 +0000 (22:57 +0000)]
try and force a log message

23 years agotry and force a log message
Keith Whitwell [Wed, 27 Dec 2000 22:55:09 +0000 (22:55 +0000)]
try and force a log message

23 years agofix demos/fire, enable lazy vertex flushing
Keith Whitwell [Wed, 27 Dec 2000 22:52:45 +0000 (22:52 +0000)]
fix demos/fire, enable lazy vertex flushing

23 years agoFix evalpoints bug (samples/nurb)
Keith Whitwell [Wed, 27 Dec 2000 22:30:29 +0000 (22:30 +0000)]
Fix evalpoints bug (samples/nurb)

23 years agofix sproingies bug
Keith Whitwell [Wed, 27 Dec 2000 21:49:40 +0000 (21:49 +0000)]
fix sproingies bug

23 years agoFixes for compiling assembly (disable unused 'masked' versions)
Keith Whitwell [Wed, 27 Dec 2000 19:57:37 +0000 (19:57 +0000)]
Fixes for compiling assembly (disable unused 'masked' versions)
Fixes for compiling without debug.
Fix line clipping
Fix unfilled polygon clipping (should be correct now).

23 years agoThe array cache.
Keith Whitwell [Tue, 26 Dec 2000 15:14:04 +0000 (15:14 +0000)]
The array cache.

23 years agofix xscreensaver cores
Keith Whitwell [Tue, 26 Dec 2000 07:41:32 +0000 (07:41 +0000)]
fix xscreensaver cores

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.

24 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

24 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.

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

24 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

24 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

24 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
----------------------------------------------------------------------

24 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.

24 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

24 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

24 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.

24 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

24 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.

24 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)

24 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

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

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

24 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.