Eric Anholt [Tue, 9 Dec 2003 23:59:16 +0000 (23:59 +0000)]
Fix definitions for Intel compiler.
Submitted by: Mikhail Teterin <mi@FreeBSD.org>
Keith Whitwell [Tue, 9 Dec 2003 19:35:45 +0000 (19:35 +0000)]
In fact, bring all the changes from mesa/tnl_dd to mesa/drivers/common.
Keith Whitwell [Tue, 9 Dec 2003 19:30:22 +0000 (19:30 +0000)]
Remove old ubyte-color support code. Update interp, copy_pv for float
colors in VB arrays.
Karl Rasche [Tue, 9 Dec 2003 19:14:41 +0000 (19:14 +0000)]
Arg. I can't code.. Test that we don't recongnize '0' as having a leading zero..
Karl Rasche [Tue, 9 Dec 2003 18:17:04 +0000 (18:17 +0000)]
added parsing exercises for ARL and relative offsets in ARB_vp
Karl Rasche [Tue, 9 Dec 2003 18:13:12 +0000 (18:13 +0000)]
- 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()
Karl Rasche [Tue, 9 Dec 2003 18:04:52 +0000 (18:04 +0000)]
- handle IsPositionInvariant
- tweak assertion to allow for relative offets from ARB_vp
Keith Whitwell [Tue, 9 Dec 2003 16:22:33 +0000 (16:22 +0000)]
Fix typo.
Keith Whitwell [Tue, 9 Dec 2003 16:21:31 +0000 (16:21 +0000)]
MGA only has one vertex format.
Keith Whitwell [Tue, 9 Dec 2003 16:14:24 +0000 (16:14 +0000)]
Fix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating
point colors throughout mesa.
Keith Whitwell [Tue, 9 Dec 2003 16:09:24 +0000 (16:09 +0000)]
Fix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating
point colors throughout mesa.
Keith Whitwell [Tue, 9 Dec 2003 16:02:43 +0000 (16:02 +0000)]
Fix use of uninited value 'flags', removed unused vars.
Keith Whitwell [Tue, 9 Dec 2003 16:00:38 +0000 (16:00 +0000)]
Fix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating
point colors throughout mesa.
Keith Whitwell [Tue, 9 Dec 2003 15:33:45 +0000 (15:33 +0000)]
Fix incorrect removal of PRIM_PARITY code (ie remove the parity code, not the
non-parity code).
Keith Whitwell [Tue, 9 Dec 2003 14:19:41 +0000 (14:19 +0000)]
Call UpdateMaterials when they have changed
Keith Whitwell [Tue, 9 Dec 2003 14:18:41 +0000 (14:18 +0000)]
clean up some compiler warnings
Keith Whitwell [Tue, 9 Dec 2003 14:18:18 +0000 (14:18 +0000)]
No need to call UpdateMaterial() from RunPipeline().
Keith Whitwell [Tue, 9 Dec 2003 14:17:40 +0000 (14:17 +0000)]
No need to call radeonUpdateMaterial() from RunPipeline().
Keith Whitwell [Tue, 9 Dec 2003 11:54:50 +0000 (11:54 +0000)]
Remove $Id tag
Jouk Jansen [Tue, 9 Dec 2003 10:11:27 +0000 (10:11 +0000)]
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
----------------------------------------------------------------------
Brian Paul [Tue, 9 Dec 2003 01:53:03 +0000 (01:53 +0000)]
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.
Eric Anholt [Tue, 9 Dec 2003 00:00:40 +0000 (00:00 +0000)]
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.
Alan Hourihane [Mon, 8 Dec 2003 22:43:10 +0000 (22:43 +0000)]
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.
Karl Rasche [Mon, 8 Dec 2003 21:43:55 +0000 (21:43 +0000)]
A quick little test to show disapeearing specular color between vertex and fragment program execution
Keith Whitwell [Mon, 8 Dec 2003 17:32:58 +0000 (17:32 +0000)]
Provide dummy definitions of __driConfig externs
Alan Hourihane [Mon, 8 Dec 2003 17:27:33 +0000 (17:27 +0000)]
turn on tdfx in SOLO build
Alan Hourihane [Mon, 8 Dec 2003 17:26:59 +0000 (17:26 +0000)]
some changes for SOLO build
Alan Hourihane [Mon, 8 Dec 2003 17:14:47 +0000 (17:14 +0000)]
build in SOLO environment
Alan Hourihane [Mon, 8 Dec 2003 17:07:41 +0000 (17:07 +0000)]
kill a warning
Alan Hourihane [Mon, 8 Dec 2003 16:57:21 +0000 (16:57 +0000)]
reverse Keith's 'XFree86Server' glue.
Keith Whitwell [Mon, 8 Dec 2003 15:00:24 +0000 (15:00 +0000)]
Can't include <stddef.h> when building XFree86 server - define
ptrdiff_t to int instead
Keith Whitwell [Mon, 8 Dec 2003 13:33:07 +0000 (13:33 +0000)]
get ffb compiling
Keith Whitwell [Mon, 8 Dec 2003 13:21:22 +0000 (13:21 +0000)]
get tdfx compiling
Daniel Borca [Mon, 8 Dec 2003 13:00:50 +0000 (13:00 +0000)]
fixed a bug in texgen (T coord for GL_REFLECTION_MAP_NV)
Keith Whitwell [Mon, 8 Dec 2003 12:32:50 +0000 (12:32 +0000)]
Remove PRIM_PARITY reference
Jouk Jansen [Mon, 8 Dec 2003 09:03:35 +0000 (09:03 +0000)]
Committing in .
OpenVMS compile issues
Modified Files:
Mesa-newtree/progs/tests/cva.c
Mesa-newtree/progs/tests/dinoshade.c
Mesa-newtree/progs/tests/multipal.c
Mesa-newtree/src/mesa/main/descrip.mms
Mesa-newtree/src/mesa/tnl/descrip.mms
Mesa-newtree/src/mesa/tnl/t_vtx_api.c
----------------------------------------------------------------------
Jouk Jansen [Mon, 8 Dec 2003 08:58:52 +0000 (08:58 +0000)]
Committing in .
Solves array boundary out of bound which causes problems on OpenVMS (and
maybe other systems)
Modified Files:
Mesa-newtree/src/mesa/tnl/t_vb_lighttmp.h
Mesa-newtree/src/mesa/tnl/t_vtx_eval.c
----------------------------------------------------------------------
Alan Hourihane [Mon, 8 Dec 2003 00:43:34 +0000 (00:43 +0000)]
add SETPARAM ioctl
Alan Hourihane [Sun, 7 Dec 2003 23:53:32 +0000 (23:53 +0000)]
merge some more of the radeon DRI driver from the DRI trunk
Alan Hourihane [Sun, 7 Dec 2003 23:47:56 +0000 (23:47 +0000)]
sync some more of the r200 driver from the DRI trunk
Alan Hourihane [Sun, 7 Dec 2003 23:40:13 +0000 (23:40 +0000)]
merge i830 DRI driver from DRI trunk
Brian Paul [Sat, 6 Dec 2003 17:59:08 +0000 (17:59 +0000)]
added drivers/fbdev/glfbdev.c
Brian Paul [Sat, 6 Dec 2003 17:58:30 +0000 (17:58 +0000)]
conditionally define GLAPIENTRYP to prevent some warnings in linux-solo
Brian Paul [Sat, 6 Dec 2003 17:57:12 +0000 (17:57 +0000)]
tweaks for SunOS
Brian Paul [Sat, 6 Dec 2003 17:26:50 +0000 (17:26 +0000)]
Basic info about the glFBDev interface/driver.
Brian Paul [Sat, 6 Dec 2003 17:20:10 +0000 (17:20 +0000)]
glFBDev driver from embedded-2 branch.
Probably won't be actively used/maintained, but bring it to the trunk so
it doesn't get lost.
Brian Paul [Sat, 6 Dec 2003 17:17:42 +0000 (17:17 +0000)]
basic API work for FBConfigs & Pbuffers
Keith Whitwell [Sat, 6 Dec 2003 12:58:47 +0000 (12:58 +0000)]
Relax assertion to account for empty primitives.
Brian Paul [Sat, 6 Dec 2003 01:49:54 +0000 (01:49 +0000)]
s/APIENTRY/GLAPIENTRY/ for 1.5 functions
Alan Hourihane [Fri, 5 Dec 2003 22:35:57 +0000 (22:35 +0000)]
fix _SOLO build problem
Alan Hourihane [Fri, 5 Dec 2003 22:34:11 +0000 (22:34 +0000)]
fix a _SOLO build problem
Alan Hourihane [Fri, 5 Dec 2003 22:26:35 +0000 (22:26 +0000)]
fix _SOLO build problem
Alan Hourihane [Fri, 5 Dec 2003 22:24:31 +0000 (22:24 +0000)]
fix some _SOLO build problems
Alan Hourihane [Fri, 5 Dec 2003 22:12:07 +0000 (22:12 +0000)]
xmlconfig fixes
Alan Hourihane [Fri, 5 Dec 2003 22:11:15 +0000 (22:11 +0000)]
xmlconfig fixes for the new options
Alan Hourihane [Fri, 5 Dec 2003 11:51:39 +0000 (11:51 +0000)]
merge r128 DRI driver from DRI trunk
Alan Hourihane [Fri, 5 Dec 2003 11:47:35 +0000 (11:47 +0000)]
merge i810 DRI driver from DRI trunk
Alan Hourihane [Fri, 5 Dec 2003 11:25:15 +0000 (11:25 +0000)]
fix compiler warning
Alan Hourihane [Fri, 5 Dec 2003 11:22:07 +0000 (11:22 +0000)]
remove duplicate declarations
Keith Whitwell [Fri, 5 Dec 2003 08:57:25 +0000 (08:57 +0000)]
Backout last change on the displaylist path to fix gears (and probably
everything else).
Brian Paul [Fri, 5 Dec 2003 00:48:37 +0000 (00:48 +0000)]
include glheader.h first, to prevent warnings about GLAPIENTRYP being redefined
Brian Paul [Fri, 5 Dec 2003 00:46:06 +0000 (00:46 +0000)]
don't include GL/gl.h, define GLAPIENTRYP if not defined
Brian Paul [Fri, 5 Dec 2003 00:44:01 +0000 (00:44 +0000)]
Fix a front/back CopyPixels glitch.
Brian Paul [Fri, 5 Dec 2003 00:39:48 +0000 (00:39 +0000)]
press f key to toggle front/back drawing/copying
Alan Hourihane [Fri, 5 Dec 2003 00:32:15 +0000 (00:32 +0000)]
bring over latest mga DRI driver from DRI trunk
Alan Hourihane [Fri, 5 Dec 2003 00:19:32 +0000 (00:19 +0000)]
bring in common from DRI trunk
Alan Hourihane [Thu, 4 Dec 2003 23:24:12 +0000 (23:24 +0000)]
disable some DEBUG
Karl Schultz [Thu, 4 Dec 2003 21:03:08 +0000 (21:03 +0000)]
Windows needs to #define GL_GLEXT_PROTOTYPES
Karl Schultz [Thu, 4 Dec 2003 20:55:58 +0000 (20:55 +0000)]
Change
#define GLAPIENTRYP __stdcall *
to
#define GLAPIENTRYP GLAPIENTRY *
These two defs end up doing the same thing, but the compiler can squawk
because they look different. Also matches the way it is declared in gl.h.
Do same for GLCALLBACKP.
Karl Schultz [Thu, 4 Dec 2003 20:44:49 +0000 (20:44 +0000)]
update files
Karl Schultz [Thu, 4 Dec 2003 20:43:24 +0000 (20:43 +0000)]
Add missing GLAPIENTRY
Karl Schultz [Thu, 4 Dec 2003 20:23:44 +0000 (20:23 +0000)]
Add missing GLAPIENTRY
Alan Hourihane [Thu, 4 Dec 2003 20:10:54 +0000 (20:10 +0000)]
use _swrast_CopyPixels for XFree86
Alan Hourihane [Thu, 4 Dec 2003 18:17:32 +0000 (18:17 +0000)]
merge latest DRI sis driver changes from the DRI trunk
Alan Hourihane [Thu, 4 Dec 2003 16:58:29 +0000 (16:58 +0000)]
build fix
Alan Hourihane [Thu, 4 Dec 2003 16:57:43 +0000 (16:57 +0000)]
build fixes
Alan Hourihane [Thu, 4 Dec 2003 16:38:05 +0000 (16:38 +0000)]
build fixes
Alan Hourihane [Thu, 4 Dec 2003 16:07:17 +0000 (16:07 +0000)]
build fixes
Alan Hourihane [Thu, 4 Dec 2003 15:59:41 +0000 (15:59 +0000)]
check if GLAPIENTRYP is already set
Alan Hourihane [Thu, 4 Dec 2003 15:59:03 +0000 (15:59 +0000)]
#define GLAPIENTRYP GLAPIENTRY *
Brian Paul [Thu, 4 Dec 2003 15:29:10 +0000 (15:29 +0000)]
don't use new glDrawPixel routines in Xserver
Alan Hourihane [Thu, 4 Dec 2003 14:30:53 +0000 (14:30 +0000)]
remove duplicate declaration
Alan Hourihane [Thu, 4 Dec 2003 14:04:35 +0000 (14:04 +0000)]
build fixes
Alan Hourihane [Thu, 4 Dec 2003 14:00:56 +0000 (14:00 +0000)]
build fix
Alan Hourihane [Thu, 4 Dec 2003 13:40:28 +0000 (13:40 +0000)]
build fixes
Alan Hourihane [Thu, 4 Dec 2003 13:38:06 +0000 (13:38 +0000)]
add SPARC ffb DRI driver
Alan Hourihane [Thu, 4 Dec 2003 13:28:10 +0000 (13:28 +0000)]
build fixes
Alan Hourihane [Thu, 4 Dec 2003 13:27:05 +0000 (13:27 +0000)]
add tdfx DRI driver
Alan Hourihane [Thu, 4 Dec 2003 12:33:15 +0000 (12:33 +0000)]
bring over glcore.h changes from DRI trunk
Brian Paul [Thu, 4 Dec 2003 03:19:46 +0000 (03:19 +0000)]
Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings.
Brian Paul [Thu, 4 Dec 2003 03:16:27 +0000 (03:16 +0000)]
Fix some problems with glDrawElements and vertex buffer objects.
Keith Whitwell [Wed, 3 Dec 2003 10:15:17 +0000 (10:15 +0000)]
Ensure PRIM_BEGIN marker isn't lost when incomplete primitives are wrapped.
Karl Rasche [Tue, 2 Dec 2003 22:46:30 +0000 (22:46 +0000)]
s/inverse/invtrans.. whoopsie
Karl Rasche [Tue, 2 Dec 2003 22:41:45 +0000 (22:41 +0000)]
Remove things having to do with ARB_matrix_palette/ARB_vertex_blend
Brian Paul [Mon, 1 Dec 2003 22:43:31 +0000 (22:43 +0000)]
added description of faster glDraw/CopyPixels code
Brian Paul [Mon, 1 Dec 2003 22:40:26 +0000 (22:40 +0000)]
fix __sparc_v9__ test to exclude linux (bug 852204)
Brian Paul [Mon, 1 Dec 2003 22:33:07 +0000 (22:33 +0000)]
updated list of files since merging vtx branch
Brian Paul [Sun, 30 Nov 2003 19:55:13 +0000 (19:55 +0000)]
s/texUnit->Enabled/enableBits/ (Karl Rasche)
Karl Rasche [Sun, 30 Nov 2003 15:59:28 +0000 (15:59 +0000)]
Fixed compiler warnings
Assign the correct thing to TexturesUsed[]
Brian Paul [Sat, 29 Nov 2003 19:36:08 +0000 (19:36 +0000)]
Use XPutImage() for glDrawPixels() and XCopyArea() for glCopyPixels() when
possible (when pixel formats match and drawing to front buffer with no
raster operations).
Results in 10-100x speed-up when applicable.