Brian Paul
5c0dccc896
minor clean-ups
2000-11-21 23:09:18 +00:00
Brian Paul
baf3e77ee2
added some RENDER_START/RENDER_FINISH macros. Minor GLchan changes
2000-11-21 23:01:22 +00:00
Jon Taylor
3c2e1022ed
More auto* build fixes
...
Removed spurious trace/Makefile from repository
2000-11-21 05:17:13 +00:00
Brian Paul
189476f265
minor multi-tex changes, changed MAX_TEXTURE_UNITS to 4
2000-11-20 18:06:11 +00:00
Brian Paul
ce2733b7cc
removed #include <tgmath.h>
2000-11-20 15:16:33 +00:00
Keith Whitwell
2ac294e67f
fix lvalue cast on ctx->swtnl_im
2000-11-20 13:39:36 +00:00
Jon Taylor
1487b3ea3e
* More work on the auto* build system
...
* Added missing #includes all over the place
* Added GGI-style debugging harness to GGIMesa
2000-11-19 23:42:32 +00:00
Brian Paul
a852378a62
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.
2000-11-19 23:10:25 +00:00
Jon Taylor
b12d8e3b0d
Added GGI-style debugging harness to GGIGLUT.
2000-11-19 07:41:26 +00:00
Gareth Hughes
54d7a74532
- Fix tnl/t_context.h inclusion.
...
- Some SSE asm updates, more to come.
2000-11-19 02:18:33 +00:00
Jon Taylor
912d3a04c1
* Auto* build fixes
...
* Added missing includes to math/*
2000-11-18 08:10:21 +00:00
Brian Paul
5a9026c65d
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.
2000-11-17 21:01:25 +00:00
Jouk Jansen
9e83e8c790
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
----------------------------------------------------------------------
2000-11-17 11:00:55 +00:00
Keith Whitwell
23caf20169
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.
2000-11-16 21:05:34 +00:00
Jon Taylor
1795166732
Small compile fix
2000-11-16 10:38:39 +00:00
Brian Paul
0a82c75eab
added includes to silence warnings
2000-11-15 16:38:59 +00:00
Brian Paul
24a32627d9
Replaced ctx->Point.Size with ctx->Point._Size
...
Replaced ctx->Point.UserSize with ctx->Point.Size
2000-11-15 16:38:40 +00:00
Brian Paul
30971cd098
rewrite of _mesa_win_fog_coords_from_z() so that both perspective and orthographic projection are handled correctly
2000-11-15 00:26:01 +00:00
Brian Paul
4fae0260a6
more Driver.Color, Driver.Index updates
2000-11-14 17:51:15 +00:00
Brian Paul
f930330d5f
removed unused set_color() and set_index() functions
2000-11-14 17:50:07 +00:00
Brian Paul
c19d783e07
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.
2000-11-14 17:40:13 +00:00
Keith Whitwell
1e1aac034c
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.
2000-11-13 20:02:56 +00:00
Brian Paul
6b8ae62d6b
removed unused var
2000-11-13 15:33:56 +00:00
Brian Paul
a2c4c98023
bumped version to 3.5
2000-11-13 15:33:17 +00:00
Brian Paul
d45fdeae35
fixed another texImage mistake in _mesa_GetTexImage()
2000-11-13 15:25:26 +00:00
Jon Taylor
dd11e7664d
* Updated the autoconf/automake/libtool build system
...
* GGIMesa's stubs targets now uses swrast
2000-11-13 04:15:44 +00:00
Brian Paul
7351049dba
init WrapR to GL_REPEAT mode
2000-11-11 20:23:47 +00:00
Brian Paul
e7f55e76db
removed tr_attrib.c
2000-11-11 19:09:29 +00:00
Brian Paul
bc58b7b409
latest sources from Loki
2000-11-11 01:43:03 +00:00
Brian Paul
b5012e1ee1
replaced _NEW_IMAGING with _NEW_PIXEL
2000-11-10 18:31:04 +00:00
Brian Paul
df37d5f2db
replaced s_imaging.h with s_histogram.h
2000-11-10 18:29:18 +00:00
Brian Paul
8a9507442a
renamed imaging files to histogram since that's what's inside
2000-11-10 18:06:14 +00:00
Brian Paul
78bb78d1c3
renamed to histogram
2000-11-10 18:05:13 +00:00
Brian Paul
ba41b8afb1
minor changes to silence compiler warnings
2000-11-10 17:45:15 +00:00
Brian Paul
6c4268204b
removed old TexImage() and TexSubImage() functions
2000-11-10 17:36:42 +00:00
Brian Paul
db6aa58267
patched to silence compiler warnings (Martin Lindhe)
2000-11-10 17:23:02 +00:00
Brian Paul
8e3366fda7
restored call to _mesa_select_tex_image() in _mesa_GetTexImage()
2000-11-10 15:32:07 +00:00
Brian Paul
3d960a0d84
GL_BGR case was misplaced in _mesa_is_legal_format_and_type() (Jeff Hartmann)
2000-11-09 23:25:06 +00:00
Brian Paul
71be653edc
updated with bug fix from 3.4 branch
2000-11-09 22:41:25 +00:00
Keith Whitwell
14425aeca1
fixed very obvious fog bug
2000-11-07 19:17:23 +00:00
Brian Paul
7298e71360
adjust x/y/zoffset parameters to fill_texture_image() by texture border width
2000-11-07 16:40:37 +00:00
Brian Paul
2d595d7020
test ctx->RenderMode in chooser functions
2000-11-06 17:28:51 +00:00
Brian Paul
8d915cb6fb
test ctx->RenderMode in chooser functions, removed dead code
2000-11-06 17:28:20 +00:00
Brian Paul
4f3e7cd3cf
added a setup function for selection/feedback
2000-11-06 17:08:02 +00:00
Brian Paul
8fa6b363db
added buffer test to xmesa_choose_point(), fixes X protocol error
2000-11-06 15:52:48 +00:00
Jouk Jansen
790ea3dc7f
Committing in .
...
Modified Files:
Mesa/src/descrip.mms Mesa/src/mms_depend
Updating VMS compile support
----------------------------------------------------------------------
2000-11-06 13:04:05 +00:00
Brian Paul
861ca519ab
removed obsolete VB vars
2000-11-05 23:21:12 +00:00
Brian Paul
b2ad0754b0
added swrast/s_aaline.c
2000-11-05 23:19:23 +00:00
Brian Paul
0070d398d1
hooked in new AA line code, minor clean-up
2000-11-05 23:18:36 +00:00
Brian Paul
7798374e47
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.
2000-11-05 23:15:16 +00:00