Brian Paul [Thu, 13 May 2004 15:26:51 +0000 (15:26 +0000)]
Another pass at implementing byte-swapped texture formats.
More code re-use this time.
Most formats now tested/debugged with new packedpixels.c test.
Brian Paul [Wed, 12 May 2004 23:05:21 +0000 (23:05 +0000)]
Test program to check that packed pixel formats work as expected with
glTexImage2D. All samples should appear identical. Press f/F to change
the internal texture format.
Brian Paul [Wed, 12 May 2004 22:54:47 +0000 (22:54 +0000)]
GL_BGR can't be used with the packed types, according to the GL spec. Enforce such.
Brian Paul [Wed, 12 May 2004 21:53:34 +0000 (21:53 +0000)]
some component ordering bugs in extract_float_rgba()
Erdi Chen [Wed, 12 May 2004 18:37:11 +0000 (18:37 +0000)]
Fixed code that has computed incorrect number of modes.
Ian Romanick [Wed, 12 May 2004 16:36:30 +0000 (16:36 +0000)]
Added support for GL_EXT_blend_equation_separate and
GL_NV_blend_square. Fix a bug in the way the GL_MIN and GL_MAX
blending modes were handled.
Ian Romanick [Wed, 12 May 2004 16:29:55 +0000 (16:29 +0000)]
Fixed a bug that showed up in several multitexturing games (Quake3 and
ThinkTanks were tested) that was related to the recent 4 TMU changes.
Removed the un-needed TexBlendColorPipeNum field from the hardware
context.
Brian Paul [Wed, 12 May 2004 15:29:36 +0000 (15:29 +0000)]
fix compiler warnings (Jerome Glisse)
Brian Paul [Wed, 12 May 2004 15:05:53 +0000 (15:05 +0000)]
fix parameters to StoreImage calls
Brian Paul [Wed, 12 May 2004 15:02:49 +0000 (15:02 +0000)]
remove last remnants of NEWTEXSTORE stuff
Brian Paul [Wed, 12 May 2004 14:51:51 +0000 (14:51 +0000)]
remove the last line of the previous patch
Brian Paul [Wed, 12 May 2004 14:48:39 +0000 (14:48 +0000)]
fix red/green/blueBits typos
Brian Paul [Wed, 12 May 2004 14:04:29 +0000 (14:04 +0000)]
obsolete in favor of regular Makefiles
Brian Paul [Wed, 12 May 2004 14:00:36 +0000 (14:00 +0000)]
yank bgr233 texformat. minor comment updates.
Daniel Borca [Wed, 12 May 2004 05:36:24 +0000 (05:36 +0000)]
minor fixes
Brian Paul [Wed, 12 May 2004 01:50:30 +0000 (01:50 +0000)]
Added big-endian texture formats.
Moved CI->RGBA palette lookup into texel fetch function.
Ian Romanick [Tue, 11 May 2004 19:59:13 +0000 (19:59 +0000)]
Added a 4th square to the output. Expanded the message written to the
console.
Ian Romanick [Tue, 11 May 2004 19:57:58 +0000 (19:57 +0000)]
Added simple EXT_blend_minmax test.
Ian Romanick [Tue, 11 May 2004 17:48:33 +0000 (17:48 +0000)]
Added simple NV_blend_square test.
Ian Romanick [Tue, 11 May 2004 16:17:49 +0000 (16:17 +0000)]
Fix a possible segfault caused by the SGI_make_current_read changes.
Brian Paul [Mon, 10 May 2004 22:37:20 +0000 (22:37 +0000)]
Don't call calculate_derived_texenv() from in _mesa_TexEnv().
Minor code rearranging.
Brian Paul [Mon, 10 May 2004 22:07:57 +0000 (22:07 +0000)]
s/GLX_PIXMAP_BIT_SGIX/GLX_PBUFFER_BIT_SGIX/
Keith Whitwell [Mon, 10 May 2004 18:16:03 +0000 (18:16 +0000)]
Add EXT_vertex_cull support to mesa
Daniel Borca [Mon, 10 May 2004 07:42:26 +0000 (07:42 +0000)]
fixed bugs in fxddtex.c
cleaned up win32 definition files
Jon Smirl [Sun, 9 May 2004 04:38:42 +0000 (04:38 +0000)]
Fix solo build, add missing #ifdef NEW_INTERFACE
Felix Kuehling [Sat, 8 May 2004 10:08:21 +0000 (10:08 +0000)]
Added german translation to option texture_units.
Eric Anholt [Sat, 8 May 2004 07:48:13 +0000 (07:48 +0000)]
Don't mix variable definitions and other statements (fixed build on old
compiler).
Ian Romanick [Fri, 7 May 2004 22:46:37 +0000 (22:46 +0000)]
Add support for GLX_SGI_make_current_read.
Ian Romanick [Fri, 7 May 2004 22:43:52 +0000 (22:43 +0000)]
Warning clean-ups.
Ian Romanick [Fri, 7 May 2004 18:20:43 +0000 (18:20 +0000)]
Uses either the GLX_SGI_make_current_read or GLX 1.3 interface,
depending on which is available.
Ian Romanick [Fri, 7 May 2004 18:04:23 +0000 (18:04 +0000)]
Enable use of new DRI interface in i830 driver.
Ian Romanick [Fri, 7 May 2004 17:30:31 +0000 (17:30 +0000)]
Add support for the 3rd and 4th texture units. The actual number of
available units is configurable via the texture_units option.
Ian Romanick [Fri, 7 May 2004 17:29:48 +0000 (17:29 +0000)]
Added a config option to set the number of available texture units. A
German translation is still needed.
Daniel Borca [Fri, 7 May 2004 06:00:53 +0000 (06:00 +0000)]
documentation update
Ian Romanick [Fri, 7 May 2004 00:33:12 +0000 (00:33 +0000)]
Refactor "classic" texture environments to be implemented in terms of
ARB_texture_env_combine state. Add support for
ARB_texture_env_crossbar. Combiner state is only emitted for operands
that need to be emitted for the combine operation.
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