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

23 years ago* Updated the autoconf/automake/libtool build system
Jon Taylor [Mon, 13 Nov 2000 04:15:44 +0000 (04:15 +0000)]
* Updated the autoconf/automake/libtool build system
* GGIMesa's stubs targets now uses swrast

23 years agoinit WrapR to GL_REPEAT mode
Brian Paul [Sat, 11 Nov 2000 20:23:47 +0000 (20:23 +0000)]
init WrapR to GL_REPEAT mode

23 years agoremoved tr_attrib.c
Brian Paul [Sat, 11 Nov 2000 19:09:29 +0000 (19:09 +0000)]
removed tr_attrib.c

23 years agolatest sources from Loki
Brian Paul [Sat, 11 Nov 2000 01:43:03 +0000 (01:43 +0000)]
latest sources from Loki

23 years agoreplaced _NEW_IMAGING with _NEW_PIXEL
Brian Paul [Fri, 10 Nov 2000 18:31:04 +0000 (18:31 +0000)]
replaced _NEW_IMAGING with _NEW_PIXEL

23 years agoreplaced s_imaging.h with s_histogram.h
Brian Paul [Fri, 10 Nov 2000 18:29:18 +0000 (18:29 +0000)]
replaced s_imaging.h with s_histogram.h

23 years agorenamed imaging files to histogram since that's what's inside
Brian Paul [Fri, 10 Nov 2000 18:06:14 +0000 (18:06 +0000)]
renamed imaging files to histogram since that's what's inside

23 years agorenamed to histogram
Brian Paul [Fri, 10 Nov 2000 18:05:13 +0000 (18:05 +0000)]
renamed to histogram

23 years agominor changes to silence compiler warnings
Brian Paul [Fri, 10 Nov 2000 17:45:15 +0000 (17:45 +0000)]
minor changes to silence compiler warnings

23 years agoremoved old TexImage() and TexSubImage() functions
Brian Paul [Fri, 10 Nov 2000 17:36:42 +0000 (17:36 +0000)]
removed old TexImage() and TexSubImage() functions

23 years agopatched to silence compiler warnings (Martin Lindhe)
Brian Paul [Fri, 10 Nov 2000 17:23:02 +0000 (17:23 +0000)]
patched to silence compiler warnings (Martin Lindhe)

23 years agorestored call to _mesa_select_tex_image() in _mesa_GetTexImage()
Brian Paul [Fri, 10 Nov 2000 15:32:07 +0000 (15:32 +0000)]
restored call to _mesa_select_tex_image() in _mesa_GetTexImage()

23 years agoGL_BGR case was misplaced in _mesa_is_legal_format_and_type() (Jeff Hartmann)
Brian Paul [Thu, 9 Nov 2000 23:25:06 +0000 (23:25 +0000)]
GL_BGR case was misplaced in _mesa_is_legal_format_and_type() (Jeff Hartmann)

23 years agoupdated with bug fix from 3.4 branch
Brian Paul [Thu, 9 Nov 2000 22:41:25 +0000 (22:41 +0000)]
updated with bug fix from 3.4 branch

23 years agofixed mipmap setup bug
Brian Paul [Thu, 9 Nov 2000 16:53:26 +0000 (16:53 +0000)]
fixed mipmap setup bug

23 years agofixed very obvious fog bug
Keith Whitwell [Tue, 7 Nov 2000 19:17:23 +0000 (19:17 +0000)]
fixed very obvious fog bug

23 years agoadjust x/y/zoffset parameters to fill_texture_image() by texture border width
Brian Paul [Tue, 7 Nov 2000 16:40:37 +0000 (16:40 +0000)]
adjust x/y/zoffset parameters to fill_texture_image() by texture border width

23 years agotest ctx->RenderMode in chooser functions
Brian Paul [Mon, 6 Nov 2000 17:28:51 +0000 (17:28 +0000)]
test ctx->RenderMode in chooser functions

23 years agotest ctx->RenderMode in chooser functions, removed dead code
Brian Paul [Mon, 6 Nov 2000 17:28:20 +0000 (17:28 +0000)]
test ctx->RenderMode in chooser functions, removed dead code

23 years agoadded a setup function for selection/feedback
Brian Paul [Mon, 6 Nov 2000 17:08:02 +0000 (17:08 +0000)]
added a setup function for selection/feedback

23 years agoadded buffer test to xmesa_choose_point(), fixes X protocol error
Brian Paul [Mon, 6 Nov 2000 15:52:48 +0000 (15:52 +0000)]
added buffer test to xmesa_choose_point(), fixes X protocol error

23 years ago Committing in .
Jouk Jansen [Mon, 6 Nov 2000 13:04:05 +0000 (13:04 +0000)]
 Committing in .

 Modified Files:
  Mesa/src/descrip.mms Mesa/src/mms_depend

 Updating VMS compile support

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

23 years agoremoved obsolete VB vars
Brian Paul [Sun, 5 Nov 2000 23:21:12 +0000 (23:21 +0000)]
removed obsolete VB vars

23 years agoadded swrast/s_aaline.c
Brian Paul [Sun, 5 Nov 2000 23:19:23 +0000 (23:19 +0000)]
added swrast/s_aaline.c

23 years agohooked in new AA line code, minor clean-up
Brian Paul [Sun, 5 Nov 2000 23:18:36 +0000 (23:18 +0000)]
hooked in new AA line code, minor clean-up

23 years agoNew implementation of antialiased lines. Mesa should now pass the remaining
Brian Paul [Sun, 5 Nov 2000 23:15:16 +0000 (23:15 +0000)]
New implementation of antialiased lines.  Mesa should now pass the remaining
GL conformance tests for AA lines (but not tried yet).
TODO: improve code sharing with the AA triangle code.

23 years ago- Changes for new software rasterizer modules
Keith Whitwell [Sun, 5 Nov 2000 18:40:57 +0000 (18:40 +0000)]
- Changes for new software rasterizer modules
- Remove support for choosing software fallbacks from core code
- Remove partial fallback code from vbrender.c -- drivers are now
  expected to be able to find a triangle/quad function for every state,
  even if they have to use _swsetup_Triangle or _swsetup_Quad.
- Marked derived variables in the GLcontext struct with a leading
  underscore '_'.

23 years agoReworked to use the new software rasterizer. Optimized line/tri functions
Keith Whitwell [Sun, 5 Nov 2000 18:28:01 +0000 (18:28 +0000)]
Reworked to use the new software rasterizer.  Optimized line/tri functions
are hooked into the software rasterizer.

23 years agoUse the new software rasterizer. Reworked optimized line,tri,point
Keith Whitwell [Sun, 5 Nov 2000 18:26:12 +0000 (18:26 +0000)]
Use the new software rasterizer.  Reworked optimized line,tri,point
functions to fit into the framework provided for extending the
software rasterizer.

23 years agoReorganized software rasterizer as a module which manages its own state,
Keith Whitwell [Sun, 5 Nov 2000 18:24:40 +0000 (18:24 +0000)]
Reorganized software rasterizer as a module which manages its own state,
with tighter interfaces with the rest of the world.

Proper documentation to come.

23 years agoA new module to provide RasterSetup and advanced triangle/line/point
Keith Whitwell [Sun, 5 Nov 2000 18:20:18 +0000 (18:20 +0000)]
A new module to provide RasterSetup and advanced triangle/line/point
functionality layered on top of the software rasterizer.

An example entrypoint:
void _swsetup_Triangle( GLcontext, GLuint, GLuint, GLuint, GLuint )

will coerce the software rasterizer to draw flat, twoside-lit,
unfilled and offset triangles (including decomposition to points or lines).

23 years agoLots of changes:
Keith Whitwell [Sun, 5 Nov 2000 18:16:51 +0000 (18:16 +0000)]
Lots of changes:
- use the new interface to the software rasterizer.
- manage all fallbacks internally, hooking in swrast or
  swrast_setup if necessary.
- removed lots of marginal code no longer appropriate in a
  maturing driver.
- reworked the vertex-setup and triangle routines, including
  drawing unfilled triangles from within the driver.

23 years agoupdate to GL_MESA_trace extension enums
Brian Paul [Fri, 3 Nov 2000 15:14:18 +0000 (15:14 +0000)]
update to GL_MESA_trace extension enums

23 years agoMESA_trace extension (Loki)
Brian Paul [Fri, 3 Nov 2000 15:10:04 +0000 (15:10 +0000)]
MESA_trace extension (Loki)

23 years agoadded GL_MESA_packed_depth_stencil extension
Brian Paul [Fri, 3 Nov 2000 15:01:38 +0000 (15:01 +0000)]
added GL_MESA_packed_depth_stencil extension

23 years agoGL_MESA_packed_depth_stencil extension spec
Brian Paul [Fri, 3 Nov 2000 14:58:45 +0000 (14:58 +0000)]
GL_MESA_packed_depth_stencil extension spec

23 years agoadded some missing backslashes
Brian Paul [Fri, 3 Nov 2000 01:37:10 +0000 (01:37 +0000)]
added some missing backslashes

23 years agoChange transformation from ortho to perspective so we get the MGA elt
Gareth Hughes [Fri, 3 Nov 2000 00:09:31 +0000 (00:09 +0000)]
Change transformation from ortho to perspective so we get the MGA elt
path by default.

23 years agoupdate for separate libOSMesa.so lib
Brian Paul [Wed, 1 Nov 2000 16:02:52 +0000 (16:02 +0000)]
update for separate libOSMesa.so lib

23 years agoprint number of texture units
Brian Paul [Wed, 1 Nov 2000 16:02:01 +0000 (16:02 +0000)]
print number of texture units

23 years ago Committing in .
Jouk Jansen [Wed, 1 Nov 2000 15:53:02 +0000 (15:53 +0000)]
 Committing in .

 Modified Files:
  Mesa/src/descrip.mms

 Updated Makefiles for VMS
----------------------------------------------------------------------

23 years agoAdded trivial CVA test for testing HW driver fastpaths, good for testing
Gareth Hughes [Wed, 1 Nov 2000 03:14:12 +0000 (03:14 +0000)]
Added trivial CVA test for testing HW driver fastpaths, good for testing
indexed vertex buffer implementations for instance.

Cleaned up Makefile to make building and adding more tests easier.

23 years agoAlways call Driver.SetReadBuffer() in copy pixels functions, just to be safe
Brian Paul [Tue, 31 Oct 2000 23:11:06 +0000 (23:11 +0000)]
Always call Driver.SetReadBuffer() in copy pixels functions, just to be safe

23 years agoadded comment explaining why the demo is flawed
Brian Paul [Tue, 31 Oct 2000 20:41:06 +0000 (20:41 +0000)]
added comment explaining why the demo is flawed

23 years agoMoved the software rasterizer to a new directory.
Keith Whitwell [Tue, 31 Oct 2000 18:09:44 +0000 (18:09 +0000)]
Moved the software rasterizer to a new directory.

23 years agoMoved software rasterizer functionality to new directory.
Keith Whitwell [Tue, 31 Oct 2000 18:00:04 +0000 (18:00 +0000)]
Moved software rasterizer functionality to new directory.

23 years agoRemove dead code in FX driver.
Keith Whitwell [Tue, 31 Oct 2000 12:40:57 +0000 (12:40 +0000)]
Remove dead code in FX driver.