Commit graph

35332 commits

Author SHA1 Message Date
Ian Romanick
d81d2aeca8 Add support for the 3rd and 4th texture units. The actual number of
available units is configurable via the texture_units option.
2004-05-07 17:30:31 +00:00
Ian Romanick
f539860f79 Added a config option to set the number of available texture units. A
German translation is still needed.
2004-05-07 17:29:48 +00:00
Ian Romanick
54f1027362 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.
2004-05-07 00:33:12 +00:00
Brian Paul
4ab8b77520 fix rectangle texture clamping and border-related code 2004-05-06 20:28:26 +00:00
Ian Romanick
eec8dbd512 Remove a debug printf that should not have been left in. 2004-05-05 21:32:16 +00:00
Ian Romanick
95a0bd6762 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.
2004-05-05 20:16:17 +00:00
Brian Paul
9c1b13ff6a fix a few bugs when using GL_REDUCE convolution mode 2004-05-05 00:28:01 +00:00
Brian Paul
2b012578ee fix a bug on the convolution path 2004-05-04 23:56:24 +00:00
Brian Paul
71f88aeb10 obsolete 2004-05-04 15:17:44 +00:00
Brian Paul
07281d37a7 remove unneeded line 2004-05-04 15:12:22 +00:00
Brian Paul
bdd15b5749 Fix minor warnings found with g++. 2004-05-04 15:11:06 +00:00
Daniel Borca
33ffbd1c58 texture compression: getting warmer 2004-05-04 06:27:06 +00:00
Dave Airlie
abe4a72cfc add r200 x86 sources 2004-05-04 00:12:22 +00:00
Dave Airlie
0a8b528bf5 switch to X86_SOURCES 2004-05-04 00:09:47 +00:00
Adam Jackson
4d6f05c971 Skeletal fallback-only DRI driver. Initial checkin, not quite working yet. 2004-05-03 23:33:21 +00:00
Dave Airlie
e25dd06b4a remove this use the one from the DRM 2004-05-03 11:31:29 +00:00
Dave Airlie
e8e5b41862 the config is included by the Makefiles that includes this file... 2004-05-03 11:29:19 +00:00
Dave Airlie
47244a8181 add asm sources 2004-05-03 11:28:35 +00:00
Dave Airlie
d388f64c0e clean up the common objects.. 2004-05-03 11:01:38 +00:00
Daniel Borca
5f0b6c9f8f unbloat namespace 2004-05-03 07:35:57 +00:00
Dave Airlie
aa9767c683 get rid of last few XF86DRIClipRect 2004-05-03 06:54:54 +00:00
Dave Airlie
f7423f4628 fix up build for solo/dri 2004-05-03 06:49:40 +00:00
Brian Paul
edc09004fd fix StoreImage calls, remove dead code (Adam Jackson) 2004-05-02 14:32:44 +00:00
Brian Paul
80fc5ea53e restored _mesa_rescale_teximage2d() 2004-05-02 14:30:46 +00:00
Brian Paul
883e7a5906 minor vertex/fragment program tweaks 2004-05-01 18:28:49 +00:00
Daniel Borca
c5cb215e3e FXT1: getting warmer 2004-04-30 09:48:21 +00:00
Alan Hourihane
ef5c82bd02 If we can't allocate the rowimage - bail 2004-04-30 09:44:22 +00:00
Keith Whitwell
739f50f542 Define GLX_DIRECT_RENDERING in Makefile.template 2004-04-30 09:15:58 +00:00
Keith Whitwell
69ab4fec12 AMD64 changes from Ronny V. Vindenes. 2004-04-30 08:29:04 +00:00
Ian Romanick
4d46e4b26a Remove several files that are only used in the XFree86 / Xorg libGL.so.
They are *not* linked into the *_dri.so drivers.
2004-04-29 22:16:29 +00:00
Keith Whitwell
74d563cdfb Allow *_dri.so to build in Mesa tree with the 'linux-dri' target. 2004-04-29 12:23:39 +00:00
Daniel Borca
c35dcfcf0a FXT1 preparations 2004-04-29 09:01:41 +00:00
Daniel Borca
af503f3438 updated makefiles 2004-04-28 08:39:45 +00:00
Ian Romanick
eb2281f8c4 Use the dispatch table directly instead of calling GL functions. 2004-04-27 18:38:23 +00:00
Ian Romanick
d100dfbf27 Remove include of texutil.h to get build working. 2004-04-27 18:37:13 +00:00
Brian Paul
65fdeaca6c updated other makefiles 2004-04-27 13:41:56 +00:00
Brian Paul
8f04c12e0a 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).
2004-04-27 13:39:20 +00:00
Daniel Borca
bc04d041eb transfer routines for compressed formats (avoid SEGFAULT, also prepare for external packers) 2004-04-27 05:59:52 +00:00
Daniel Borca
5be4c27b28 accomodate newtexstore
fixed wgl interface for fxMesa
2004-04-26 14:23:33 +00:00
Alan Hourihane
18514500c4 remove DitherValues 2004-04-26 12:45:06 +00:00
Alan Hourihane
462183fe4c bring over build fixes from stable branch 2004-04-26 10:10:22 +00:00
Brian Paul
41318937ef call drmUnmapBufs() in mgaDestroyScreen (Tilman Sauerbeck) 2004-04-24 14:55:02 +00:00
Brian Paul
f7b4e0d376 minor fixes for entrypoint name mangling 2004-04-23 20:33:07 +00:00
Ian Romanick
e946688eda Convert R200 driver to use the t_vertex interface. 2004-04-23 20:20:07 +00:00
Brian Paul
f2f3350774 GL_DOUBLE doesn't follow GL_FLOAT, fix indexing (Keith Harrison) 2004-04-23 17:58:06 +00:00
Brian Paul
948dff8932 init mgaScreen->irq (Tilman Sauerbeck) 2004-04-23 17:53:28 +00:00
Brian Paul
6d460af6af 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.
2004-04-23 14:16:46 +00:00
Brian Paul
031e86b597 remove some errant code from previous check-in 2004-04-23 13:58:44 +00:00
Brian Paul
6e167151f9 s,CHAN_BITS/8,sizeof(GLchan), 2004-04-22 23:51:15 +00:00
Roland Scheidegger
6d3dc3b8d6 fix bracket at wrong place 2004-04-22 20:04:08 +00:00