Daniel Borca
ad149e3e65
made some functions static.
2004-12-20 08:16:24 +00:00
Daniel Borca
9e821269fc
comment reorg.
...
made some functions static.
hide vp behind an envvar.
removed unnecessary multitex constraint for napalm hw.
2004-12-20 08:15:50 +00:00
Daniel Borca
6a7b4690e3
allow greater swappendingcount for older hw (v1/v2)
2004-12-20 08:12:09 +00:00
Daniel Borca
00b7aba567
misc cleanup
2004-12-20 08:09:25 +00:00
Daniel Borca
0d7da6c3e0
allow ARB vp/fp query program errors
2004-12-20 08:08:15 +00:00
Daniel Borca
2982dce27e
really protect against npot compressed textures (logbase2 never returns -1).
2004-12-20 08:03:01 +00:00
Ian Romanick
0d84c68313
Use GLX protocol code generated by glX_proto_send.py.
2004-12-20 04:53:00 +00:00
Ian Romanick
46be433c47
No GLX protocol for GL_ATI_fragment_shader.
2004-12-20 04:47:46 +00:00
Vladimir Dergachev
55fb41ade8
Fix cut and paste error (reported by Jerome Glisse)
2004-12-19 15:39:40 +00:00
Dave Airlie
7f752fed99
Implement software ATI_fragment_shader
...
no error detection, slow, may not be 100% correct but a good start
2004-12-19 03:06:59 +00:00
Brian Paul
a803b0c891
Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span().
2004-12-18 22:03:07 +00:00
Brian Paul
feac302567
added GL_ARB_pixel_buffer_object extension string
2004-12-18 16:19:08 +00:00
Brian Paul
2a5afe3ab8
Added PRINT instruction for GL_NV_fragment_program.
2004-12-18 16:18:00 +00:00
Thomas Hellström
6cec977773
Unichrome DRI driver:
...
Fix for proplem where polygons partly outside the drawing window would get
one vertex clamped to the opposite window side. This bug could also cause
a hardlock. (Bugzilla #2066 , Yann Vernier)
2004-12-18 12:16:12 +00:00
Felix Kuehling
3d04879801
Made debugging output controllable via environment variable
...
SAVAGE_DEBUG. Added fallback debugs. Added no_rast option to disable
hardware rasterization (everything as software fallback).
2004-12-17 15:55:17 +00:00
Brian Paul
538541e300
VMS update
2004-12-17 14:48:00 +00:00
Daniel Borca
cf95169542
fxRasterPrimitive wasn't always receiving the reduced primitive
2004-12-17 10:40:32 +00:00
Daniel Borca
02978f1092
fxRasterPrimitive wasn't always receiving the reduced primitive
2004-12-17 08:08:37 +00:00
Felix Kuehling
0d39c4ebc9
Added a TNL pipeline stage that normalizes texture coordinates as a
...
workaround for bad Savage hardware interpolation of big texture
coordinates.
2004-12-17 00:01:15 +00:00
Adam Jackson
c403bcb8a7
Import s3virge and trident drivers. Not functional yet; no Makefile, no DRI-aware DDX.
2004-12-16 19:26:23 +00:00
Brian Paul
8662c5d98f
fix typos in texcoord setup - fixes perspective correction bug
2004-12-16 17:33:36 +00:00
Vladimir Dergachev
7771c92d35
The types uint32_t and uint8_t are not used in Mesa tree.
...
Put a couple of defines to use GL counterparts.
2004-12-16 14:04:49 +00:00
Brian Paul
575700fbdc
Experimental PRINT instruction for NV_vertex_program.
...
Basically, this lets you put a "PRINT 'mesage', register;" statement in a
vertex program to aid in debugging.
2004-12-16 03:07:18 +00:00
Brian Paul
c75900e7a2
don't divide texcoords by q if using a fragment program
2004-12-16 02:14:19 +00:00
Adam Jackson
d16aa9859c
Also PUBLICize the config option table
2004-12-16 00:23:47 +00:00
Adam Jackson
3d7aec70c9
Mark __driCreateNewScreen PUBLIC
2004-12-15 23:26:49 +00:00
Adam Jackson
791ce02244
_glapi_* is effectively PUBLIC API for the DRI drivers.
2004-12-15 23:14:29 +00:00
Adam Jackson
4890f2605e
Mark the XF86DRI client-side extension API as PUBLIC.
2004-12-15 23:07:55 +00:00
Adam Jackson
2719b54f53
fxt1_decode_1() needs to be non-static for the tdfx and glide drivers.
2004-12-15 22:57:59 +00:00
Thomas Hellström
20456d6a3d
Unichrome DRI:
...
Updated the driver to the new VIA security mechanisms in DRM. All command
submissions now passes through DRM ioctls. If the DRM AGP ring-buffer is
not enabled, it will use a DRM mechanism for submitting commands to the
hardware via a PCI bus mechanism.
Removed all direct write accesses to the hardware. Among other things the
VQ was previously turned off for the PCI path, apparently for Tuxracer.
That seemed unneeded and was removed. No visible impact on Tuxracer.
Abstracted all buffer blit operations in via_ioctl.c. The blitter context
is now reprogrammed before each blitting operation.
Updated driver date and drm version requirement.
(Bugzilla Bug #1950 , Thomas Hellstrm)
2004-12-15 21:59:25 +00:00
Thomas Hellström
b4f58e99eb
Unichrome DRI:
...
Stop the driver from giving empty texture levels with erroneous HW addresses
to the hardware. These will get caught and rejected in the DRM command
verifier.
2004-12-15 21:27:49 +00:00
Thomas Hellström
de541439d3
Unichrome DRI:
...
Fixed an apparent race condition during locking and drawable info updating,
the result of which was the DRI client leaving traces on the screen rendering
where the drawable previously had been.
If the driver hangs X for a second or so and then restarts, this is probably
the place to look. (Thomas Hellstrm)
2004-12-15 21:17:51 +00:00
Thomas Hellström
a47c4c37ce
Unichrome DRI driver:
...
Check for texture allocation failure (Bugzilla #1633 , Bartlomiej Krol)
Reenabled AGP textures (Thomas Hellstrm)
2004-12-15 21:05:26 +00:00
Felix Kuehling
58f5b91b1b
Added configuration support to the Savage driver. Three options are
...
supported so far.
2004-12-15 17:45:23 +00:00
Adam Jackson
489ccef398
Fix up glx/x11 to work when built with -fvisibility=hidden.
2004-12-15 17:18:06 +00:00
Felix Kuehling
5566127701
Fixed GL_CLAM_TO_EDGE. It's not supported in hardware. Use GL_CLAMP
...
instead of GL_REPEAT.
2004-12-15 16:59:58 +00:00
Felix Kuehling
e9fbc23024
Fixed initialization of some stencil-related S4 registers, which was
...
misplaced in savageDDInitState_s3d, where was overwriting completely
unrelated S3D registers with garbage.
2004-12-15 16:54:19 +00:00
Felix Kuehling
91fd299b6b
Moved some code from savageCreateContext to savageInitDriver, where it
...
belongs. Removed some obviously useless code. Fixed computation of
MaxTextureLevels.
2004-12-15 16:50:57 +00:00
Felix Kuehling
9fb668c576
Fixed some missing uint8_t -> u_int8_t.
2004-12-15 15:44:28 +00:00
Keith Whitwell
cc488b03a3
Add _mesa_delete_texture_object() call to viaDeleteTexture
...
[Freedesktop BUG 2080]
2004-12-15 13:59:47 +00:00
Keith Whitwell
ae68c3212b
Add some catchall commands to realclean target to remove built files
...
which are forgotten about when the configs/current symlink changes.
2004-12-15 11:03:41 +00:00
Daniel Borca
3f1205819a
updated makefiles for gcc 3.4.3 and bnu 2.15
2004-12-15 08:00:43 +00:00
Daniel Borca
65dfab66e5
minor info update
2004-12-15 07:56:49 +00:00
Daniel Borca
8b563fd4c5
added DMesaProc type to prevent gcc 3.4.3 warnings
2004-12-15 07:55:38 +00:00
Daniel Borca
654dccfd85
added DMesaProc type to prevent gcc 3.4.3 warnings.
...
sw tc is disabled by default
2004-12-15 07:54:20 +00:00
Daniel Borca
ea38858127
protected elfish code against non-elf compilers
2004-12-15 07:52:35 +00:00
Brian Paul
3df033a93b
fixes for fragment programs
2004-12-15 01:13:39 +00:00
Brian Paul
69a5896238
init span.w, dwdx, dwdy in case we're running a fragment program
2004-12-15 01:11:36 +00:00
Brian Paul
55481b3a29
tweaks to the LIT instructions
2004-12-15 01:07:52 +00:00
Brian Paul
244adeb639
s/DP3/DP3_SAT/ to prevent negative values
2004-12-15 00:54:17 +00:00