Daniel Borca [Mon, 26 Apr 2004 14:23:33 +0000 (14:23 +0000)]
accomodate newtexstore
fixed wgl interface for fxMesa
Alan Hourihane [Mon, 26 Apr 2004 12:45:06 +0000 (12:45 +0000)]
remove DitherValues
Alan Hourihane [Mon, 26 Apr 2004 10:10:22 +0000 (10:10 +0000)]
bring over build fixes from stable branch
Brian Paul [Sun, 25 Apr 2004 15:18:36 +0000 (15:18 +0000)]
s/-mv8/-mcpu=ultrasparc/ (bug 941338)
Brian Paul [Sun, 25 Apr 2004 15:13:56 +0000 (15:13 +0000)]
fix HP-UX typo (bug 941576)
Brian Paul [Sat, 24 Apr 2004 14:55:02 +0000 (14:55 +0000)]
call drmUnmapBufs() in mgaDestroyScreen (Tilman Sauerbeck)
Brian Paul [Fri, 23 Apr 2004 20:33:07 +0000 (20:33 +0000)]
minor fixes for entrypoint name mangling
Ian Romanick [Fri, 23 Apr 2004 20:20:07 +0000 (20:20 +0000)]
Convert R200 driver to use the t_vertex interface.
Brian Paul [Fri, 23 Apr 2004 18:00:00 +0000 (18:00 +0000)]
move #define for GL_DOUBLE, to put enums in right order
Brian Paul [Fri, 23 Apr 2004 17:58:06 +0000 (17:58 +0000)]
GL_DOUBLE doesn't follow GL_FLOAT, fix indexing (Keith Harrison)
Brian Paul [Fri, 23 Apr 2004 17:53:28 +0000 (17:53 +0000)]
init mgaScreen->irq (Tilman Sauerbeck)
Brian Paul [Fri, 23 Apr 2004 14:16:46 +0000 (14:16 +0000)]
Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragment
program is enabled AND the currently bound program is valid.
Check _Enable instead of Enable to prevent things from blowing up
when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually
defining a program.
Brian Paul [Fri, 23 Apr 2004 14:14:04 +0000 (14:14 +0000)]
assorted fixes
Keith Whitwell [Fri, 23 Apr 2004 14:06:02 +0000 (14:06 +0000)]
Add fps output
Brian Paul [Fri, 23 Apr 2004 13:58:44 +0000 (13:58 +0000)]
remove some errant code from previous check-in
Brian Paul [Fri, 23 Apr 2004 13:13:30 +0000 (13:13 +0000)]
new CYGWIN docs from Eric Lassauge
Brian Paul [Thu, 22 Apr 2004 23:51:15 +0000 (23:51 +0000)]
s,CHAN_BITS/8,sizeof(GLchan),
Roland Scheidegger [Thu, 22 Apr 2004 20:04:08 +0000 (20:04 +0000)]
fix bracket at wrong place
Brian Paul [Thu, 22 Apr 2004 16:16:42 +0000 (16:16 +0000)]
added CYGWIN support
Keith Whitwell [Thu, 22 Apr 2004 08:14:48 +0000 (08:14 +0000)]
Fix order of EMIT_4UB_4F declarations
Brian Paul [Thu, 22 Apr 2004 01:10:09 +0000 (01:10 +0000)]
added floattex.c to test floating point textures
Brian Paul [Thu, 22 Apr 2004 01:08:36 +0000 (01:08 +0000)]
use FetchTexelf() in GetTexImage() to return float textures correctly
Brian Paul [Thu, 22 Apr 2004 00:54:53 +0000 (00:54 +0000)]
fix some include file glitches
Brian Paul [Thu, 22 Apr 2004 00:47:28 +0000 (00:47 +0000)]
minor clean-ups
Brian Paul [Thu, 22 Apr 2004 00:42:38 +0000 (00:42 +0000)]
obsolete
Brian Paul [Thu, 22 Apr 2004 00:27:31 +0000 (00:27 +0000)]
New glTexImage code.
The gl_texture_format struct now has a StoreTexImageFunc that's called
by glTex[Sub]Image[123]D to convert the user's texture data into the
specific texture format layout. Now it's much easier to add new texture
formats (like the 16/32-bit floating point formats).
The texutil.[ch] and texutil_tmp.h files are obsolete.
Brian Paul [Wed, 21 Apr 2004 18:09:14 +0000 (18:09 +0000)]
Fix up some assorted issues with initialization of vertex program registers.
Some need to be set per-vertex, other per-primitive. Cleared that up.
Only need to init temp/result registers if executing an NV vertex program.
Brian Paul [Wed, 21 Apr 2004 17:51:21 +0000 (17:51 +0000)]
only init temp regs to zero if executing NV fragment program
Brian Paul [Wed, 21 Apr 2004 16:11:27 +0000 (16:11 +0000)]
check return values of _swrast_CreateContext, etc
Brian Paul [Tue, 20 Apr 2004 23:25:47 +0000 (23:25 +0000)]
removed non-existant arbfpwpos.c, added UTIL_FILES target
Keith Whitwell [Tue, 20 Apr 2004 13:03:36 +0000 (13:03 +0000)]
Add printing for recently added opcodes.
Alan Hourihane [Tue, 20 Apr 2004 11:13:11 +0000 (11:13 +0000)]
add SciTech's GLDirect driver for Windows.
This code is donated to Mesa which allows the usage of
a Direct3D layer (DX7, DX8, DX9 or complete software fallback).
No build system exists for this code yet, that will come.....
Keith Whitwell [Tue, 20 Apr 2004 10:28:15 +0000 (10:28 +0000)]
Simplify last fix slightly, apply to vtx paths as well.
Keith Whitwell [Tue, 20 Apr 2004 10:18:33 +0000 (10:18 +0000)]
When upgrading copied vertices, distinguish between an attribute
entering a vertex for the first time and one which was already present
but increasing its size. Fixes Brian's normal.c bug.
Brian Paul [Mon, 19 Apr 2004 23:13:36 +0000 (23:13 +0000)]
apply texgen/texture matrix in glRasterPos
Brian Paul [Mon, 19 Apr 2004 22:23:10 +0000 (22:23 +0000)]
linux-solo-ia64 config (Stephane Marchesin)
Brian Paul [Mon, 19 Apr 2004 20:26:30 +0000 (20:26 +0000)]
glTexEnviv bug fix
Brian Paul [Mon, 19 Apr 2004 20:24:49 +0000 (20:24 +0000)]
in TexEnv functions, check if pname == GL_TEXTURE_ENV_COLOR and fetch appropriate number of param values
Brian Paul [Mon, 19 Apr 2004 15:03:16 +0000 (15:03 +0000)]
do texcoord projective division in _swrast_span_default_texcoords()
Brian Paul [Sun, 18 Apr 2004 20:23:24 +0000 (20:23 +0000)]
bug fixes for ARB/NV fragment program texture instructions
Brian Paul [Sun, 18 Apr 2004 20:21:16 +0000 (20:21 +0000)]
check for __ia64__ when setting USE_IEEE
Brian Paul [Sun, 18 Apr 2004 20:17:14 +0000 (20:17 +0000)]
updated instructions for new directory tree and makefile system
Brian Paul [Sun, 18 Apr 2004 20:14:11 +0000 (20:14 +0000)]
added missing SHADER_SOURCES to ALL_SOURCES
Brian Paul [Sun, 18 Apr 2004 20:13:21 +0000 (20:13 +0000)]
hack to use glTexCoord4f and Q variable to test projective texcoords
Brian Paul [Sun, 18 Apr 2004 20:11:52 +0000 (20:11 +0000)]
Audit/fixes for NV/ARB TEX, TXP, TXB, TXD instructions.
Some texture instructions were using wrong LOD.
Fixed interpolate_texcoords() so it doesn't do texcoord projective division
when using a fragment program. The TXP instruction does that.
Keith Whitwell [Fri, 16 Apr 2004 08:30:12 +0000 (08:30 +0000)]
Make sure ctx->Driver.NeedFlush is set for Eval-generated attributes.
Keith Whitwell [Thu, 15 Apr 2004 11:20:48 +0000 (11:20 +0000)]
Make _SAT instructions compile correctly.
Dave Airlie [Thu, 15 Apr 2004 05:55:26 +0000 (05:55 +0000)]
make sure matypes is built
Dave Airlie [Thu, 15 Apr 2004 04:50:20 +0000 (04:50 +0000)]
add drm source dir for solo includes
Dave Airlie [Thu, 15 Apr 2004 01:35:25 +0000 (01:35 +0000)]
get the libraries the right way round..
Ian Romanick [Thu, 15 Apr 2004 01:24:57 +0000 (01:24 +0000)]
Correct the comments about when the bindContext3 / unbindContext3
interface was added.
Dave Airlie [Thu, 15 Apr 2004 01:15:38 +0000 (01:15 +0000)]
set default page flipping to zero can be changed in header file
Brian Paul [Wed, 14 Apr 2004 23:23:19 +0000 (23:23 +0000)]
wrap file in #ifdef USE_TCC, otherwise compilation failes
Brian Paul [Wed, 14 Apr 2004 21:35:47 +0000 (21:35 +0000)]
set CONFIG_NAME = linux-tcc
Keith Whitwell [Wed, 14 Apr 2004 21:20:00 +0000 (21:20 +0000)]
new file
Keith Whitwell [Wed, 14 Apr 2004 21:19:34 +0000 (21:19 +0000)]
Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compile
and execute fragment programs. Very limited and experimental, but works
well enough to run arbfplight.c.
http://fabrice.bellard.free.fr/tcc/
Compile with 'make linux-tcc', being sure to make clean first.
Keith Whitwell [Wed, 14 Apr 2004 14:41:18 +0000 (14:41 +0000)]
Fail if any subdir fails.
Keith Whitwell [Wed, 14 Apr 2004 13:32:37 +0000 (13:32 +0000)]
Hack to get things compiling - include "drm.h" instead of "xf86drm.h".
Need to fix this, or get maybe rid of xf86drm.h which seems redundant
in a standalone build.
Keith Whitwell [Wed, 14 Apr 2004 13:31:09 +0000 (13:31 +0000)]
Link against GL_LIB_DEPS
Keith Whitwell [Wed, 14 Apr 2004 12:54:31 +0000 (12:54 +0000)]
Remove mesa.a when making clean
Keith Whitwell [Wed, 14 Apr 2004 12:44:07 +0000 (12:44 +0000)]
First attempt at building a dri module in this tree
-- make target is linux-dri
-- will attempt to build i830_dri.so
The object builds but hasn't been tested.
Keith Whitwell [Wed, 14 Apr 2004 12:39:58 +0000 (12:39 +0000)]
First pass at support for building DRI drivers in mesa tree.
Keith Whitwell [Wed, 14 Apr 2004 10:26:47 +0000 (10:26 +0000)]
Don't try to use .c=.o rule on .S files when building mesa.a
Alan Hourihane [Wed, 14 Apr 2004 08:25:57 +0000 (08:25 +0000)]
disable under _SOLO build
Daniel Borca [Wed, 14 Apr 2004 08:00:52 +0000 (08:00 +0000)]
documentation updates
Glide3 driver: POINTCAST palette fixes
Dave Airlie [Wed, 14 Apr 2004 02:14:15 +0000 (02:14 +0000)]
Add agpmode to the example config file
Dave Airlie [Wed, 14 Apr 2004 02:09:52 +0000 (02:09 +0000)]
get agpmode from config file
Dave Airlie [Wed, 14 Apr 2004 02:08:37 +0000 (02:08 +0000)]
Add shader sources for solo build
Dave Airlie [Wed, 14 Apr 2004 01:40:18 +0000 (01:40 +0000)]
make solo work like before new makefile merge
Dave Airlie [Wed, 14 Apr 2004 01:33:27 +0000 (01:33 +0000)]
add agpmode to miniglx config file
Brian Paul [Tue, 13 Apr 2004 17:35:17 +0000 (17:35 +0000)]
minor tweak for Darwin
Brian Paul [Tue, 13 Apr 2004 14:11:20 +0000 (14:11 +0000)]
check for __AMD64__ when setting USE_IEEE (Ronnny Vindenes)
Keith Whitwell [Tue, 13 Apr 2004 13:43:48 +0000 (13:43 +0000)]
Build a single string containing the generated 'C' code.
Alan Hourihane [Tue, 13 Apr 2004 09:43:51 +0000 (09:43 +0000)]
fix the usage of GLX_MESA_allocate_memory
Daniel Borca [Tue, 13 Apr 2004 07:08:34 +0000 (07:08 +0000)]
updated Glide driver documentation
fixed SAL/SAR in assyntax.h (NASM)
fixed a bug wrt NULL pointer assignment in t_vtx_api.c
cosmetics to t_vtx_x86.c & t_vtx_x86_gcc.S
enabled STDCALL with codegen (MinGW)
Dave Airlie [Tue, 13 Apr 2004 04:58:10 +0000 (04:58 +0000)]
make this exactly like XFree86 .. allows 4x to work
Jon Smirl [Tue, 13 Apr 2004 04:11:32 +0000 (04:11 +0000)]
Add DRM_SOURCE_PATH to make system.
Needed for linux-solo to build
Ian Romanick [Mon, 12 Apr 2004 22:41:47 +0000 (22:41 +0000)]
Missed one with the last commit.
Ian Romanick [Mon, 12 Apr 2004 22:40:54 +0000 (22:40 +0000)]
Conditionally compile code for x86 specific TNL codegen. This fixes problem
with x86-64 and PowerPC.
Reported by: sublett on #dri-devel.
Alan Hourihane [Sun, 11 Apr 2004 22:22:23 +0000 (22:22 +0000)]
build fix for VMS
Brian Paul [Sat, 10 Apr 2004 19:50:33 +0000 (19:50 +0000)]
fix minor glitch with GL_DEPTH_COMPONENT textures
Brian Paul [Fri, 9 Apr 2004 18:11:45 +0000 (18:11 +0000)]
fix max buffer size test (Kyle Bateman, bug 912828)
Brian Paul [Fri, 9 Apr 2004 17:18:22 +0000 (17:18 +0000)]
added extern "C" for C++ (bug 930933)
Brian Paul [Fri, 9 Apr 2004 14:13:58 +0000 (14:13 +0000)]
added SPECULAR flag for sprite point functions
Alan Hourihane [Thu, 8 Apr 2004 23:16:17 +0000 (23:16 +0000)]
make note about needing to fix the drm driver to enable SAVAGE_CMD_DMA
Brian Paul [Thu, 8 Apr 2004 22:45:02 +0000 (22:45 +0000)]
added zreaddraw.c
Brian Paul [Thu, 8 Apr 2004 22:40:57 +0000 (22:40 +0000)]
use MKDEP var
Brian Paul [Thu, 8 Apr 2004 22:26:22 +0000 (22:26 +0000)]
added -noprefix option for making DRI drivers
Brian Paul [Thu, 8 Apr 2004 22:25:53 +0000 (22:25 +0000)]
minor fix
Brian Paul [Thu, 8 Apr 2004 22:25:29 +0000 (22:25 +0000)]
lots of Makefile updates for new build system
Brian Paul [Thu, 8 Apr 2004 22:25:03 +0000 (22:25 +0000)]
move pSAREAPriv declaration to be C-compliant
Brian Paul [Thu, 8 Apr 2004 21:11:12 +0000 (21:11 +0000)]
no depend file
Brian Paul [Thu, 8 Apr 2004 21:10:31 +0000 (21:10 +0000)]
don't include GL/gl.h, rely on glheader.h
Brian Paul [Thu, 8 Apr 2004 21:10:07 +0000 (21:10 +0000)]
move 'id' declaration so it's C compliant
Alan Hourihane [Thu, 8 Apr 2004 08:54:23 +0000 (08:54 +0000)]
build fixes
Alan Hourihane [Thu, 8 Apr 2004 08:10:37 +0000 (08:10 +0000)]
remove non-portable whitespace
Brian Paul [Wed, 7 Apr 2004 23:15:26 +0000 (23:15 +0000)]
use new MKDEP, MKDEP_OPTIONS variables
Brian Paul [Wed, 7 Apr 2004 22:46:40 +0000 (22:46 +0000)]
use # comments instead of //, etc (ajax@nwnk.net)
Daniel Borca [Wed, 7 Apr 2004 11:39:33 +0000 (11:39 +0000)]
removed wfx makefiles
Daniel Borca [Wed, 7 Apr 2004 06:37:50 +0000 (06:37 +0000)]
revived linux-glide build process
some small Makefile changes for MinGW & DJGPP