Commit graph

92185 commits

Author SHA1 Message Date
Daniel Borca
e01d671668 small bug wrt culling 2003-12-12 08:19:20 +00:00
Brian Paul
379641956d fix visinfo typo 2003-12-12 00:08:01 +00:00
Brian Paul
a9a1c3f20f check for null dpy in Fake_glXGetConfig() 2003-12-12 00:01:17 +00:00
Brian Paul
c3fb2558f0 replace gl/mesa_wgl.h with GL/mesa_wgl.h (Simon Goodall) 2003-12-11 23:55:55 +00:00
Keith Whitwell
d8be4a54fa Don't evaluate GET_CURRENT_VB_MAX_VERTS() until after calling INIT() 2003-12-11 20:49:59 +00:00
Keith Whitwell
7ed58285ab add driClipRectToFramebuffer helper function 2003-12-11 19:06:32 +00:00
Keith Whitwell
844cdaf461 Updates to tnl_dd_dmatmp.h
- Allocate vertices explicitly, rather than trying to talk
	  about dma buffers.
	- Clean up the various Flush() operations.
	- Don't allow fallbacks any longer.  Provide a support function
	  to detect them ahead o ftime
Updates to tnl_dd_vbtmp.h
	- Get rid of power-of-two vertex strides.  Pack all vertices tightly.
	- Get texunit 2,3 emit working coorrectly.
Other stuff:
	- Get rid of lingering Ubyte color support.
	- Fix a few compiler warnings.
2003-12-11 16:49:55 +00:00
Keith Whitwell
2dc621f3fd Updates to tnl_dd_dmatmp.h
- Allocate vertices explicitly, rather than trying to talk
	  about dma buffers.
	- Clean up the various Flush() operations.
	- Don't allow fallbacks any longer.  Provide a support function
	  to detect them ahead o ftime
Updates to tnl_dd_vbtmp.h
	- Get rid of power-of-two vertex strides.  Pack all vertices tightly.
	- Get texunit 2,3 emit working coorrectly.
Other stuff:
	- Get rid of lingering Ubyte color support.
	- Fix a few compiler warnings.
2003-12-11 16:25:36 +00:00
Daniel Borca
5bcf52b4d6 fixed prototypes for wglGammaRamp3DFX 2003-12-11 16:16:33 +00:00
Keith Whitwell
e0ee87422b Quash annoying compiler warning 2003-12-11 15:47:43 +00:00
Keith Whitwell
a9fc4b1b1c Remove dead file glcore-new.h 2003-12-11 13:10:20 +00:00
Alan Hourihane
2ed4797848 fix from DRI trunk 2003-12-10 19:12:49 +00:00
Daniel Borca
2844285297 got rid of __FUNCTION__ :(
Texus2 functions are dynamically linked now
made getRegistryOrEnvironmentString more portable
bugfix: unnecessary total SW fallback -- glColorMask
bugfix: when shared palette was not loaded correctly
point_attenuation_stage back in business (point size/atten)
fxTexGetInfo is not required for fxIsTexSupported
fxDDChooseTextureFormat optimized for RGB/RGBA textures
accelerated Quads with Triangle_Fans
more WGL extensions/functions (also updated export file)
DXTC/S3TC -> FXT1 wrapping hack
quick & dirty fix for Quake2
2003-12-10 15:24:49 +00:00
Alan Hourihane
43be8ee414 fix typo 2003-12-10 14:10:45 +00:00
Brian Paul
13861dbff9 added fbdev/glfbdev.c to tarball list 2003-12-10 02:44:38 +00:00
Eric Anholt
527078afca Fix definitions for Intel compiler.
Submitted by:	Mikhail Teterin <mi@FreeBSD.org>
2003-12-09 23:59:16 +00:00
Keith Whitwell
b44fb35770 In fact, bring all the changes from mesa/tnl_dd to mesa/drivers/common. 2003-12-09 19:35:45 +00:00
Keith Whitwell
10637fed22 Remove old ubyte-color support code. Update interp, copy_pv for float
colors in VB arrays.
2003-12-09 19:30:22 +00:00
Karl Rasche
2e5ec27845 Arg. I can't code.. Test that we don't recongnize '0' as having a leading zero.. 2003-12-09 19:14:41 +00:00
Karl Rasche
a8a4ad452e added parsing exercises for ARL and relative offsets in ARB_vp 2003-12-09 18:17:04 +00:00
Karl Rasche
ff10a796fe - New grammar (0.5) from Michal Krol, merges many opcodes and adds range testing
- Proper header on arbparse_syn.h
 - Handling of relative offsets for ARB_vp
 - s/MaxFragment/MaxVertex
 - Check for leading 0's in the fraction portions of floats in parse_float()
2003-12-09 18:13:12 +00:00
Karl Rasche
057dfcb06c - handle IsPositionInvariant
- tweak assertion to allow for relative offets from ARB_vp
2003-12-09 18:04:52 +00:00
Keith Whitwell
82efdff66f Fix typo. 2003-12-09 16:22:33 +00:00
Keith Whitwell
8069ada29b MGA only has one vertex format. 2003-12-09 16:21:31 +00:00
Keith Whitwell
9556a52867 Fix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating
point colors throughout mesa.
2003-12-09 16:14:24 +00:00
Keith Whitwell
425deefdd0 Fix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating
point colors throughout mesa.
2003-12-09 16:09:24 +00:00
Keith Whitwell
8592ba94b8 Fix use of uninited value 'flags', removed unused vars. 2003-12-09 16:02:43 +00:00
Keith Whitwell
c4f7de5d78 Fix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating
point colors throughout mesa.
2003-12-09 16:00:38 +00:00
Keith Whitwell
4790914198 Fix incorrect removal of PRIM_PARITY code (ie remove the parity code, not the
non-parity code).
2003-12-09 15:33:45 +00:00
Keith Whitwell
6881938007 Call UpdateMaterials when they have changed 2003-12-09 14:19:41 +00:00
Keith Whitwell
a70fa7129c clean up some compiler warnings 2003-12-09 14:18:41 +00:00
Keith Whitwell
8a340279f4 No need to call UpdateMaterial() from RunPipeline(). 2003-12-09 14:18:18 +00:00
Keith Whitwell
e6abd5c415 No need to call radeonUpdateMaterial() from RunPipeline(). 2003-12-09 14:17:40 +00:00
Keith Whitwell
48383f10c9 Remove $Id tag 2003-12-09 11:54:50 +00:00
Jouk Jansen
7ac9133627 Committing in .
Small VMS issue : sys/param.h is not available on all systems and not
                   needed anyway.

 Modified Files:
 	Mesa-newtree/src/mesa/main/vsnprintf.c
 ----------------------------------------------------------------------
2003-12-09 10:11:27 +00:00
Brian Paul
853bda3e7c Update NEED_SECONDARY_COLOR macro to test if either vertex/fragment
programs are enabled and if they need secondary color input register.
Patch by Karl Rasche, with tweaks by Brian.
2003-12-09 01:53:03 +00:00
Eric Anholt
e8bec8832b Remove usleeps from sis driver. We probably aren't doing anyone a service
sleeping with the lock held.  Also, rename cEngineState to engineState since
it isn't a char any more.
2003-12-09 00:00:40 +00:00
Alan Hourihane
73c3c397e4 fix bogus assertion that checked for an empty texture heap list before
deleting the textures. Essentially move the assertion after the destruction
of the heap.
2003-12-08 22:43:10 +00:00
Karl Rasche
93c2dacca6 A quick little test to show disapeearing specular color between vertex and fragment program execution 2003-12-08 21:43:55 +00:00
Keith Whitwell
6b9e8279dd Provide dummy definitions of __driConfig externs 2003-12-08 17:32:58 +00:00
Alan Hourihane
f7c17fef74 turn on tdfx in SOLO build 2003-12-08 17:27:33 +00:00
Alan Hourihane
1cb5d2e01a some changes for SOLO build 2003-12-08 17:26:59 +00:00
Alan Hourihane
8ed3231669 build in SOLO environment 2003-12-08 17:14:47 +00:00
Alan Hourihane
243093f544 kill a warning 2003-12-08 17:07:41 +00:00
Alan Hourihane
18343db1d8 reverse Keith's 'XFree86Server' glue. 2003-12-08 16:57:21 +00:00
Keith Whitwell
3abad78e26 Can't include <stddef.h> when building XFree86 server - define
ptrdiff_t to int instead
2003-12-08 15:00:24 +00:00
Keith Whitwell
07851ca039 get ffb compiling 2003-12-08 13:33:07 +00:00
Keith Whitwell
c11039979c get tdfx compiling 2003-12-08 13:21:22 +00:00
Daniel Borca
8fee8dfcaa fixed a bug in texgen (T coord for GL_REFLECTION_MAP_NV) 2003-12-08 13:00:50 +00:00
Keith Whitwell
034da5d817 Remove PRIM_PARITY reference 2003-12-08 12:32:50 +00:00