Brian Paul [Thu, 6 May 2004 20:28:26 +0000 (20:28 +0000)]
fix rectangle texture clamping and border-related code
Brian Paul [Thu, 6 May 2004 20:27:32 +0000 (20:27 +0000)]
Added menu options to test border modes and linear/nearest filtering.
Adjust texcoords so we always have to sample the border.
Other misc changes.
Ian Romanick [Wed, 5 May 2004 21:32:16 +0000 (21:32 +0000)]
Remove a debug printf that should not have been left in.
Ian Romanick [Wed, 5 May 2004 20:17:19 +0000 (20:17 +0000)]
Modified to use vertex arrays. Vertex arrays and immediate mode calls
are toggled with the 't' key.
Ian Romanick [Wed, 5 May 2004 20:16:17 +0000 (20:16 +0000)]
Added support for the 3rd texture coordinate for cubemaps and 3D
textures. progs/demos/cubemap and progs/demos/stex3d seem to work
correctly at all tcl_mode settings. x86 / SSE codegen is currently
disabled.
Brian Paul [Wed, 5 May 2004 00:28:17 +0000 (00:28 +0000)]
don't need auto mipmaps
Brian Paul [Wed, 5 May 2004 00:28:01 +0000 (00:28 +0000)]
fix a few bugs when using GL_REDUCE convolution mode
Brian Paul [Wed, 5 May 2004 00:02:23 +0000 (00:02 +0000)]
documentation for TexImage code changes
Brian Paul [Tue, 4 May 2004 23:57:12 +0000 (23:57 +0000)]
added -c option to exercise convolution of glTexImage2D
Brian Paul [Tue, 4 May 2004 23:56:24 +0000 (23:56 +0000)]
fix a bug on the convolution path
Brian Paul [Tue, 4 May 2004 15:17:44 +0000 (15:17 +0000)]
obsolete
Brian Paul [Tue, 4 May 2004 15:12:22 +0000 (15:12 +0000)]
remove unneeded line
Brian Paul [Tue, 4 May 2004 15:11:06 +0000 (15:11 +0000)]
Fix minor warnings found with g++.
Daniel Borca [Tue, 4 May 2004 06:27:06 +0000 (06:27 +0000)]
texture compression: getting warmer
Dave Airlie [Tue, 4 May 2004 00:12:22 +0000 (00:12 +0000)]
add r200 x86 sources
Dave Airlie [Tue, 4 May 2004 00:10:24 +0000 (00:10 +0000)]
use X86 sources in X86 build, use none in other
Dave Airlie [Tue, 4 May 2004 00:09:47 +0000 (00:09 +0000)]
switch to X86_SOURCES
Adam Jackson [Mon, 3 May 2004 23:33:21 +0000 (23:33 +0000)]
Skeletal fallback-only DRI driver. Initial checkin, not quite working yet.
Dave Airlie [Mon, 3 May 2004 11:31:29 +0000 (11:31 +0000)]
remove this use the one from the DRM
Dave Airlie [Mon, 3 May 2004 11:30:37 +0000 (11:30 +0000)]
add linux-dri-x86 target
Dave Airlie [Mon, 3 May 2004 11:29:19 +0000 (11:29 +0000)]
the config is included by the Makefiles that includes this file...
Dave Airlie [Mon, 3 May 2004 11:28:35 +0000 (11:28 +0000)]
add asm sources
Dave Airlie [Mon, 3 May 2004 11:01:38 +0000 (11:01 +0000)]
clean up the common objects..
Daniel Borca [Mon, 3 May 2004 07:35:57 +0000 (07:35 +0000)]
unbloat namespace
Dave Airlie [Mon, 3 May 2004 06:54:54 +0000 (06:54 +0000)]
get rid of last few XF86DRIClipRect
Dave Airlie [Mon, 3 May 2004 06:49:40 +0000 (06:49 +0000)]
fix up build for solo/dri
Dave Airlie [Mon, 3 May 2004 06:48:33 +0000 (06:48 +0000)]
DRM_SOURCE_PATH is in default
Brian Paul [Sun, 2 May 2004 14:32:44 +0000 (14:32 +0000)]
fix StoreImage calls, remove dead code (Adam Jackson)
Brian Paul [Sun, 2 May 2004 14:30:46 +0000 (14:30 +0000)]
restored _mesa_rescale_teximage2d()
Brian Paul [Sat, 1 May 2004 18:28:49 +0000 (18:28 +0000)]
minor vertex/fragment program tweaks
Daniel Borca [Fri, 30 Apr 2004 09:48:21 +0000 (09:48 +0000)]
FXT1: getting warmer
Alan Hourihane [Fri, 30 Apr 2004 09:44:22 +0000 (09:44 +0000)]
If we can't allocate the rowimage - bail
Keith Whitwell [Fri, 30 Apr 2004 09:15:58 +0000 (09:15 +0000)]
Define GLX_DIRECT_RENDERING in Makefile.template
Keith Whitwell [Fri, 30 Apr 2004 08:29:04 +0000 (08:29 +0000)]
AMD64 changes from Ronny V. Vindenes.
Ian Romanick [Thu, 29 Apr 2004 22:16:29 +0000 (22:16 +0000)]
Remove several files that are only used in the XFree86 / Xorg libGL.so.
They are *not* linked into the *_dri.so drivers.
Keith Whitwell [Thu, 29 Apr 2004 12:23:39 +0000 (12:23 +0000)]
Allow *_dri.so to build in Mesa tree with the 'linux-dri' target.
Daniel Borca [Thu, 29 Apr 2004 09:01:41 +0000 (09:01 +0000)]
FXT1 preparations
Daniel Borca [Wed, 28 Apr 2004 08:39:45 +0000 (08:39 +0000)]
updated makefiles
Ian Romanick [Tue, 27 Apr 2004 18:38:23 +0000 (18:38 +0000)]
Use the dispatch table directly instead of calling GL functions.
Ian Romanick [Tue, 27 Apr 2004 18:37:13 +0000 (18:37 +0000)]
Remove include of texutil.h to get build working.
Brian Paul [Tue, 27 Apr 2004 13:41:56 +0000 (13:41 +0000)]
updated other makefiles
Brian Paul [Tue, 27 Apr 2004 13:39:20 +0000 (13:39 +0000)]
Removed the old teximage code.
Moved all code related to specific texture compression modes into
new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).
Brian Paul [Tue, 27 Apr 2004 12:55:08 +0000 (12:55 +0000)]
added pointer to Vincent (OpenGL ES implementation)
Daniel Borca [Tue, 27 Apr 2004 05:59:52 +0000 (05:59 +0000)]
transfer routines for compressed formats (avoid SEGFAULT, also prepare for external packers)
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.