mesa.git
20 years agoadded initial support for -exports option, Linux/OpenBSD only for now
Brian Paul [Sat, 16 Oct 2004 15:10:45 +0000 (15:10 +0000)]
added initial support for -exports option, Linux/OpenBSD only for now

20 years agoGL_OES_read_format info
Brian Paul [Sat, 16 Oct 2004 15:04:43 +0000 (15:04 +0000)]
GL_OES_read_format info

20 years agoif CXX or CC env vars aren't set, use g++, gcc by default (Linux)
Brian Paul [Sat, 16 Oct 2004 15:02:16 +0000 (15:02 +0000)]
if CXX or CC env vars aren't set, use g++, gcc by default (Linux)

20 years agoRemoved two unnecessary variables.
Ville Syrjala [Sat, 16 Oct 2004 11:26:06 +0000 (11:26 +0000)]
Removed two unnecessary variables.

20 years agoFixed off by one errors in clipping.
Ville Syrjala [Sat, 16 Oct 2004 11:09:26 +0000 (11:09 +0000)]
Fixed off by one errors in clipping.

20 years agoAdd code to support projective texturing and fix mixed enabling of texture
Eric Anholt [Sat, 16 Oct 2004 03:36:14 +0000 (03:36 +0000)]
Add code to support projective texturing and fix mixed enabling of texture
coordinate generation.  Original code by Roland Schiedegger, with changes by
myself.  While here, ensure that the swtcl path does tnl_install_attrs enough
when fog/specular are being (en/dis)abled.

Notable effects:
- projtex test works with TCL and is closer with swtcl (Bugzilla #1461)
- 8/9 squares work in texgenmix instead of 3.
- texcyl "reflect" mode works (GL_SPHERE_MAP is now a fallback -- unclear if the
  hardware can actually support it).
- flickering in doom3 replaced by just plain darkness.
- blocktube fixed (Bugzilla #984)
- fixes stex3d

20 years agoAlways turn on the TAM_DEBUG3=0x6 workaround on real r200s. It appears that
Eric Anholt [Sat, 16 Oct 2004 01:58:02 +0000 (01:58 +0000)]
Always turn on the TAM_DEBUG3=0x6 workaround on real r200s.  It appears that
the current cases for turning it on were insufficient (Bugzilla #1519, 729, 814)
and it has no significant performance impact.  Performance tested with quake3
in GL_LINEAR mode both with and without anisotropy, with the workaround always
on or always off.

20 years agoAdd support for OES_read_format. As soon as glext.h is updated with the
Ian Romanick [Sat, 16 Oct 2004 01:16:54 +0000 (01:16 +0000)]
Add support for OES_read_format.  As soon as glext.h is updated with the
enums for this extension, the changes to gl.h can be removed.

20 years agofix if/else bug in _mesa_ProgramEnvParameter4fARB (fdo bug 1645)
Brian Paul [Sat, 16 Oct 2004 00:29:03 +0000 (00:29 +0000)]
fix if/else bug in _mesa_ProgramEnvParameter4fARB (fdo bug 1645)

20 years agoOnly build the MMX/SSE/SSE2 versions for ReadRGBASpan when the pixel format
Ian Romanick [Sat, 16 Oct 2004 00:03:27 +0000 (00:03 +0000)]
Only build the MMX/SSE/SSE2 versions for ReadRGBASpan when the pixel format
matches what they optimized versions actually expect.

20 years agoFixed a few places that should have been using GET_SRC_PTR.
Ian Romanick [Fri, 15 Oct 2004 23:46:53 +0000 (23:46 +0000)]
Fixed a few places that should have been using GET_SRC_PTR.

20 years agoConvert MGA driver to use new spantmp2.h interface.
Ian Romanick [Fri, 15 Oct 2004 23:00:52 +0000 (23:00 +0000)]
Convert MGA driver to use new spantmp2.h interface.

20 years agoHuge dumb drop. State:
Nicolai Haehnle [Fri, 15 Oct 2004 20:52:47 +0000 (20:52 +0000)]
Huge dumb drop. State:
- Color buffer clear is accelerated, but flickers (possibly caused by a
  recent DDX or Mesa change or bad merge)
- Everything else uses software fallback rendering
- There should be no clipping-related artifacts with the
  sw-clipspan-fixes.patch against Mesa (posted on dri-devel)
- Multiple clients should be rock solid with a DDX patch that is soon to
  come (soon = within the next hour or so)

20 years agoAdd support for optimized versions of the code underlying ReadPixels
Ian Romanick [Thu, 14 Oct 2004 00:59:12 +0000 (00:59 +0000)]
Add support for optimized versions of the code underlying ReadPixels
(and DrawPixels).  The R200, R128, and Unichrome drivers get support
in this commit.  Other drivers would be easy enough to add for people
that have the cards.

The DRI (CVS) build will need to be updated to account for the new
source files.

20 years agoAdd a license to this file. It was written on VA's watch, so they get
Keith Whitwell [Wed, 13 Oct 2004 23:16:02 +0000 (23:16 +0000)]
Add a license to this file.  It was written on VA's watch, so they get
the honours.

20 years agoAdded some documentation that I managed to figure out through
Ian Romanick [Wed, 13 Oct 2004 22:38:31 +0000 (22:38 +0000)]
Added some documentation that I managed to figure out through
experimentation.

20 years agoMake the GL_RENDERER string include the actual chipset information
Ian Romanick [Wed, 13 Oct 2004 22:36:26 +0000 (22:36 +0000)]
Make the GL_RENDERER string include the actual chipset information
instead of always saying "CLE266".

20 years agoInitial support for PowerPC specific code in Mesa and DRI drivers. DRI
Ian Romanick [Wed, 13 Oct 2004 19:56:15 +0000 (19:56 +0000)]
Initial support for PowerPC specific code in Mesa and DRI drivers.  DRI
drivers built on PowerPC systems should now show things like "PowerPC" or
"PowerPC/Altivec" in the GL_RENDERER string.

The VMX moniker is used for Altivec/Velocity Engine/VMX SIMD additions.  I
chose this not because I work for IBM but because it's a LOT shorter to
type. :)

20 years agoRefactor the code in driGetRendererString a bit to make it easier to
Ian Romanick [Wed, 13 Oct 2004 19:23:26 +0000 (19:23 +0000)]
Refactor the code in driGetRendererString a bit to make it easier to
add support for features of non-x86 CPU types.

20 years agoupdated fsv URL
Brian Paul [Wed, 13 Oct 2004 17:29:46 +0000 (17:29 +0000)]
updated fsv URL

20 years agoEliminate the funky SSE exception test from DRI builds. It's not need
Ian Romanick [Wed, 13 Oct 2004 17:29:33 +0000 (17:29 +0000)]
Eliminate the funky SSE exception test from DRI builds.  It's not need
(see the comment in the code), and it's just annoying.

20 years agoinitial 6.3 changes
Brian Paul [Wed, 13 Oct 2004 15:57:55 +0000 (15:57 +0000)]
initial 6.3 changes

20 years agoFix minor fog / fragment program state bug.
Brian Paul [Wed, 13 Oct 2004 15:54:48 +0000 (15:54 +0000)]
Fix minor fog / fragment program state bug.
Don't add diffuse and specular colors when using fragment program.

20 years agoBug #1588: abort if no palette format matches. (Egbert Eich, Stefan Dirsch)
Adam Jackson [Wed, 13 Oct 2004 14:33:49 +0000 (14:33 +0000)]
Bug #1588: abort if no palette format matches. (Egbert Eich, Stefan Dirsch)

20 years agoLet's build again after the support for GL_ARB_draw_buffers was added.
Philippe Houdoin [Wed, 13 Oct 2004 01:23:32 +0000 (01:23 +0000)]
Let's build again after the support for GL_ARB_draw_buffers was added.

20 years agoFix a potential memory leak.
Philippe Houdoin [Wed, 13 Oct 2004 01:17:52 +0000 (01:17 +0000)]
Fix a potential memory leak.

20 years agoForgot a contributor.
Philippe Houdoin [Wed, 13 Oct 2004 00:35:55 +0000 (00:35 +0000)]
Forgot a contributor.
Update build requirements since we can build with BeOS vanilla gcc *and*
more recent gcc 2.95.3 versions (recommended for best performance).

20 years agoImplement BGLView::CopyPixelsIn/Out().
Philippe Houdoin [Wed, 13 Oct 2004 00:29:21 +0000 (00:29 +0000)]
Implement BGLView::CopyPixelsIn/Out().
BGLView::ErrorCallback() is now actually called on error!
Plus usual minor changes.

20 years agosupport for external libraries
Daniel Borca [Tue, 12 Oct 2004 07:33:03 +0000 (07:33 +0000)]
support for external libraries

20 years agoSWTC trick (disabled for now)
Daniel Borca [Tue, 12 Oct 2004 07:32:11 +0000 (07:32 +0000)]
SWTC trick (disabled for now)

20 years agoSWTC trick, enabled new extensions
Daniel Borca [Tue, 12 Oct 2004 07:31:26 +0000 (07:31 +0000)]
SWTC trick, enabled new extensions

20 years agoSWTC trick
Daniel Borca [Tue, 12 Oct 2004 06:44:34 +0000 (06:44 +0000)]
SWTC trick

20 years agobump version numbers to their real values
Daniel Borca [Tue, 12 Oct 2004 06:43:57 +0000 (06:43 +0000)]
bump version numbers to their real values

20 years agodoc update
Daniel Borca [Tue, 12 Oct 2004 06:43:00 +0000 (06:43 +0000)]
doc update

20 years agoavoid the patch if Mesa_DXTn flag is set
Daniel Borca [Tue, 12 Oct 2004 06:42:02 +0000 (06:42 +0000)]
avoid the patch if Mesa_DXTn flag is set

20 years agoadd more mess to the dynamic linking system
Daniel Borca [Tue, 12 Oct 2004 06:41:20 +0000 (06:41 +0000)]
add more mess to the dynamic linking system

20 years agoadd newline to end of file
Daniel Borca [Tue, 12 Oct 2004 06:37:18 +0000 (06:37 +0000)]
add newline to end of file

20 years agoFix strange white space that gcc didn't like.
Felix Kuehling [Mon, 11 Oct 2004 22:26:40 +0000 (22:26 +0000)]
Fix strange white space that gcc didn't like.

20 years agoPrefix operator and constructor keywords with two consequtive underscores
Michal Krol [Mon, 11 Oct 2004 15:06:02 +0000 (15:06 +0000)]
Prefix operator and constructor keywords with two consequtive underscores
( __ ). This will be more compatible with glslang spec.

20 years agoEnable draw_buffers only if GL_ARB_draw_buffers string is
Michal Krol [Mon, 11 Oct 2004 08:13:25 +0000 (08:13 +0000)]
Enable draw_buffers only if GL_ARB_draw_buffers string is
present in GL_EXTENSIONS string.
Parse OPTION ARB_draw_buffers.

20 years agoThis statechange is vtx state, not tcl.
Eric Anholt [Sat, 9 Oct 2004 23:29:07 +0000 (23:29 +0000)]
This statechange is vtx state, not tcl.

20 years agoUse the right FALLBACK macro for projtex so that projective textures actually
Eric Anholt [Fri, 8 Oct 2004 23:24:04 +0000 (23:24 +0000)]
Use the right FALLBACK macro for projtex so that projective textures actually
cause a fallback, and simplify the tmu handling a little.

20 years agoAdd fallback debugging (R128_DEBUG=fall) output, and set DO_DEBUG=1 by default
Eric Anholt [Fri, 8 Oct 2004 23:03:38 +0000 (23:03 +0000)]
Add fallback debugging (R128_DEBUG=fall) output, and set DO_DEBUG=1 by default
so that we can use the env var to get output.  Add a no_rast driconf option to
force software fallbacks.

20 years agoDon't compile WriteMonoDepthSpan if HAVE_HW_DEPTH_SPANS is defined -- it won't
Eric Anholt [Fri, 8 Oct 2004 22:21:09 +0000 (22:21 +0000)]
Don't compile WriteMonoDepthSpan if HAVE_HW_DEPTH_SPANS is defined -- it won't
be used in that case, and it wanting WRITE_DEPTH was making r128 die on
the undefined symbol.

20 years agoAdd support for NV_blend_square, and print errors if an unsupported blend
Eric Anholt [Fri, 8 Oct 2004 21:37:08 +0000 (21:37 +0000)]
Add support for NV_blend_square, and print errors if an unsupported blend
function is used.

20 years agoMassively cleaned up the code that calculates front/back/depth buffer
Ian Romanick [Fri, 8 Oct 2004 01:15:52 +0000 (01:15 +0000)]
Massively cleaned up the code that calculates front/back/depth buffer
pitch and size.  Cut out a bunch of dead code.

This fixes bugzilla #1555.

20 years agoReject unsupported texture formats passed to glCompressedTexImage?D. This
Ian Romanick [Fri, 8 Oct 2004 01:03:10 +0000 (01:03 +0000)]
Reject unsupported texture formats passed to glCompressedTexImage?D.  This
fixes Mesa bug #1028405.

20 years agoAdd simple test program for Mesa bug #1028405.
Ian Romanick [Fri, 8 Oct 2004 00:56:08 +0000 (00:56 +0000)]
Add simple test program for Mesa bug #1028405.

20 years agoApply Eric's stencil wrap patch (Eric Anholt)
Alex Deucher [Fri, 8 Oct 2004 00:31:51 +0000 (00:31 +0000)]
Apply Eric's stencil wrap patch (Eric Anholt)

20 years agoAdd Roland Scheidegger's S3TC patch. This patch does not implement the
Eric Anholt [Thu, 7 Oct 2004 23:30:29 +0000 (23:30 +0000)]
Add Roland Scheidegger's S3TC patch.  This patch does not implement the
(patented) S3TC/DXTC algorithms, but adds an option to dlopen a library module
providing functions to do so.  Because it uses dlopen, it is only enabled if
USE_EXTERNAL_DXTN_LIB=1 is defined (which is only in linux-dri config, so far).
It adds support for S3TC to several DRI drivers, and adds a DRI config option to
force enabling S3TC even if the software compression/decompression is
unavailable.  This may allow people to use apps that require S3TC even though
they don't have a license to implement the patented material themselves, if
those apps use precompressed textures.

Ideally we would get permission from the current holder of the patents to
implement the algorithm in Mesa, at which point the dlopen mess could go away.
Until then, this allows some to run applications they couldn't otherwise, and
hopefully will provide us with more push to get the final step of getting that
permission done.

20 years agoPrevent Y-offset from exceeding valid range in texture upload code. This
Ian Romanick [Thu, 7 Oct 2004 16:39:20 +0000 (16:39 +0000)]
Prevent Y-offset from exceeding valid range in texture upload code.  This
fixes bugzilla #960.

20 years agoFix emitting fog without secondary color and vice-versa.
Felix Kuehling [Thu, 7 Oct 2004 10:07:35 +0000 (10:07 +0000)]
Fix emitting fog without secondary color and vice-versa.

20 years ago*** empty log message ***
Karl Schultz [Wed, 6 Oct 2004 21:45:48 +0000 (21:45 +0000)]
*** empty log message ***

20 years agomore GL_ARB_draw_buffers updates from Michale Krol
Brian Paul [Wed, 6 Oct 2004 15:56:38 +0000 (15:56 +0000)]
more GL_ARB_draw_buffers updates from Michale Krol

20 years agofix GetVertexAttrib problem
Brian Paul [Wed, 6 Oct 2004 15:52:43 +0000 (15:52 +0000)]
fix GetVertexAttrib problem

20 years agoConvert tdfxDDInitExtensions to use driInitExtensions.
Ian Romanick [Wed, 6 Oct 2004 02:02:53 +0000 (02:02 +0000)]
Convert tdfxDDInitExtensions to use driInitExtensions.

20 years agoput Rush in the list of supported HW
Daniel Borca [Tue, 5 Oct 2004 08:43:22 +0000 (08:43 +0000)]
put Rush in the list of supported HW

20 years agostencil wrap works, either HW or SW (Ian Romanick)
Daniel Borca [Tue, 5 Oct 2004 08:42:10 +0000 (08:42 +0000)]
stencil wrap works, either HW or SW (Ian Romanick)

20 years agoenable 2_0 extensions
Daniel Borca [Tue, 5 Oct 2004 08:39:32 +0000 (08:39 +0000)]
enable 2_0 extensions

20 years agoUse the driFillInModes utility function.
Ian Romanick [Mon, 4 Oct 2004 22:58:39 +0000 (22:58 +0000)]
Use the driFillInModes utility function.

20 years agoAlso export fbconfigs with 0/0 depth/stencil modes. This fixes "driver
Ian Romanick [Mon, 4 Oct 2004 22:23:29 +0000 (22:23 +0000)]
Also export fbconfigs with 0/0 depth/stencil modes.  This fixes "driver
claims not to support visual 0xXX" warnings in X.org 6.8.1.

20 years agoAdd some Savage3D stencil documentation based on discussions during the
Ian Romanick [Mon, 4 Oct 2004 17:17:49 +0000 (17:17 +0000)]
Add some Savage3D stencil documentation based on discussions during the
20-Sep-2004 #dri-devel meeting.

20 years agomake clean should remove depend.bak too (Sérgio Moneiro Basto)
Brian Paul [Mon, 4 Oct 2004 14:47:48 +0000 (14:47 +0000)]
make clean should remove depend.bak too (Sérgio Moneiro Basto)

20 years agoARB_fp support for GL_ARB_draw_buffers (Karl Rasche)
Brian Paul [Mon, 4 Oct 2004 14:40:05 +0000 (14:40 +0000)]
ARB_fp support for GL_ARB_draw_buffers (Karl Rasche)

20 years agoSet MaxTextureImageUnits and MaxTextureCoordUnits to match MaxTextureUnits.
Ian Romanick [Mon, 4 Oct 2004 03:19:01 +0000 (03:19 +0000)]
Set MaxTextureImageUnits and MaxTextureCoordUnits to match MaxTextureUnits.
This fixes bugzilla #1511.

20 years agoThe alpha post-scale and the RGB post-scale were mistakenly reversed.
Ian Romanick [Mon, 4 Oct 2004 02:54:49 +0000 (02:54 +0000)]
The alpha post-scale and the RGB post-scale were mistakenly reversed.

20 years agoRemove empty r128_vb.h.
Eric Anholt [Sun, 3 Oct 2004 18:09:57 +0000 (18:09 +0000)]
Remove empty r128_vb.h.

20 years agoput glapi_x86.S into the x86/ directory
Brian Paul [Sat, 2 Oct 2004 22:48:59 +0000 (22:48 +0000)]
put glapi_x86.S into the x86/ directory

20 years agoremove unused413 stuff, glDrawBuffersARB uses that slot now
Brian Paul [Sat, 2 Oct 2004 22:47:48 +0000 (22:47 +0000)]
remove unused413 stuff, glDrawBuffersARB uses that slot now

20 years agoGL_ARB_draw_buffers
Brian Paul [Sat, 2 Oct 2004 22:43:44 +0000 (22:43 +0000)]
GL_ARB_draw_buffers

20 years agofix _DrawDestMask[0][0] typos
Brian Paul [Sat, 2 Oct 2004 22:38:43 +0000 (22:38 +0000)]
fix _DrawDestMask[0][0] typos

20 years agoadded support for GL_ARB_draw_buffers
Brian Paul [Sat, 2 Oct 2004 16:39:09 +0000 (16:39 +0000)]
added support for GL_ARB_draw_buffers

20 years agofix indentation
Brian Paul [Sat, 2 Oct 2004 15:56:50 +0000 (15:56 +0000)]
fix indentation

20 years agofix a comment
Brian Paul [Sat, 2 Oct 2004 15:56:33 +0000 (15:56 +0000)]
fix a comment

20 years agobump version to 6.3
Brian Paul [Sat, 2 Oct 2004 15:43:26 +0000 (15:43 +0000)]
bump version to 6.3

20 years agoinitial stuff for 6.3
Brian Paul [Sat, 2 Oct 2004 15:43:14 +0000 (15:43 +0000)]
initial stuff for 6.3

20 years agoa few more updates for the 6.2 release
Brian Paul [Sat, 2 Oct 2004 15:26:25 +0000 (15:26 +0000)]
a few more updates for the 6.2 release

20 years agofix LoadProgramNV regression when I had fixed the RefCount bug
Brian Paul [Sat, 2 Oct 2004 15:16:59 +0000 (15:16 +0000)]
fix LoadProgramNV regression when I had fixed the RefCount bug

20 years agoadded PBO known issues
Brian Paul [Sat, 2 Oct 2004 14:59:29 +0000 (14:59 +0000)]
added PBO known issues

20 years agoset 6.2 release date
Brian Paul [Sat, 2 Oct 2004 14:56:17 +0000 (14:56 +0000)]
set 6.2 release date

20 years agoIf an application cleared before any state had been emitted, that clear would
Eric Anholt [Sat, 2 Oct 2004 05:22:19 +0000 (05:22 +0000)]
If an application cleared before any state had been emitted, that clear would
happen before any state had been set, causing a hang later on.  Fix this by
calling r200Flush instead of FIREVERTICES (which checks if any state has been
emitted but not flushed, before calling Flush) in r200Clear.  While here, add
some more debugging info which was useful, and remove an unnecessary
save/restore in BackUpAndEmit.

20 years agoConvert Rage 128 over to t_vertex.c. While it's slightly slower (10% in ipers)
Eric Anholt [Sat, 2 Oct 2004 01:33:46 +0000 (01:33 +0000)]
Convert Rage 128 over to t_vertex.c.  While it's slightly slower (10% in ipers)
it's not that big of a deal in more normal apps, and axes a good bit of code.
And I assume that t_vertex will only get faster.  Removes ~43k from compiled
binary.

Tested with: quake3, ut, ipers, texcyl, chromium, tuxracer, neverball (kinda)

20 years agoAdd an option for vertices emitted to be swapped CPU_TO_LE32, to be used by the
Eric Anholt [Sat, 2 Oct 2004 01:28:38 +0000 (01:28 +0000)]
Add an option for vertices emitted to be swapped CPU_TO_LE32, to be used by the
r128 code.

20 years agoCut out all of the old texture environment code and rewrote it from
Ian Romanick [Sat, 2 Oct 2004 01:23:46 +0000 (01:23 +0000)]
Cut out all of the old texture environment code and rewrote it from
scratch.  There were just too many cut-and-paste errors in the code,
and it was too hard to follow.

This fixes Mesa bugzilla #1508.  #1509 is probably also fixed, but
I'd like to do some more testing before I close that particular bug.
Additionally, this cuts almost 4,600 lines of code from the driver.

20 years agominor updates and improvements
Karl Schultz [Fri, 1 Oct 2004 21:22:10 +0000 (21:22 +0000)]
minor updates and improvements

20 years agoAdd the glut project to the demos workspace.
Karl Schultz [Fri, 1 Oct 2004 20:55:23 +0000 (20:55 +0000)]
Add the glut project to the demos workspace.

20 years agoRemove glut project from the Mesa workspace. This allows users to build
Karl Schultz [Fri, 1 Oct 2004 20:53:28 +0000 (20:53 +0000)]
Remove glut project from the Mesa workspace.  This allows users to build
this entire workspace by only unzipping MesaLib.zip.  The project will
be moved to the demos workspace, which is contained in the MesaDemos zip
file.

20 years agoAdd HP shared lib configs.
Karl Schultz [Fri, 1 Oct 2004 20:19:16 +0000 (20:19 +0000)]
Add HP shared lib configs.

20 years agoHP shared lib config
Karl Schultz [Fri, 1 Oct 2004 20:18:42 +0000 (20:18 +0000)]
HP shared lib config

20 years agoReplace the numerous switch-statements to derive GL_COMBINE post-scale
Ian Romanick [Fri, 1 Oct 2004 18:32:25 +0000 (18:32 +0000)]
Replace the numerous switch-statements to derive GL_COMBINE post-scale
state with a function.  This function sets the bits correctly.  Did some
trivial refactoring on some of the GL_COMBINE code.

First pass at replacing classic texture environments with GL_COMBINE.
This is controlled by the EXPERIMENTAL_COMBINE_MODE define.

20 years agofix problems in previous version
Karl Schultz [Fri, 1 Oct 2004 16:29:39 +0000 (16:29 +0000)]
fix problems in previous version

20 years agoEnable builds on AIX 64-bit
Karl Schultz [Fri, 1 Oct 2004 13:33:26 +0000 (13:33 +0000)]
Enable builds on AIX 64-bit

20 years agoFix mesa solo with doublebuffered apps, the drawable index/stamp weren't
Dave Airlie [Fri, 1 Oct 2004 04:34:01 +0000 (04:34 +0000)]
Fix mesa solo with doublebuffered apps, the drawable index/stamp weren't
being updated properly..

20 years agoFactored out code for setting texture coordinate wrap bits. Added support
Ian Romanick [Thu, 30 Sep 2004 21:18:23 +0000 (21:18 +0000)]
Factored out code for setting texture coordinate wrap bits.  Added support
for GL_ARB_texture_mirrored_repeat.  Enabled GL_NV_blend_square.  It has
always actually been supported.  Removed redundant EXT versions of ARB
extension strings.

20 years agoset span.y prior to each span write in draw_depth_pixels, like Karl's other fix
Brian Paul [Thu, 30 Sep 2004 15:39:43 +0000 (15:39 +0000)]
set span.y prior to each span write in draw_depth_pixels, like Karl's other fix

20 years agoBugzilla #1058: Fix some potential 64bit pointer issues by storing differences
Eric Anholt [Thu, 30 Sep 2004 00:40:21 +0000 (00:40 +0000)]
Bugzilla #1058:  Fix some potential 64bit pointer issues by storing differences
between pointers in appropriate types.

Submitted by:   Ronny V. Vindenes <s864@ii.uib.no>

20 years agoOK, one more time. Simplify the state-backup system by just storing the full
Eric Anholt [Thu, 30 Sep 2004 00:08:05 +0000 (00:08 +0000)]
OK, one more time.  Simplify the state-backup system by just storing the full
state in a ready-to-emit cmdbuf, which avoids the issue Nicolai Haehnle reported
where the check() could return differently during backup-and-emit than it should
have if it were called at the right time.  Move the lit emission before most of
the TCL state emission on r200, which fixes neverball issues.

Tested with: r100/r200 with neverball, tuxracer, chromium, quake3, ipers

20 years agoFix bug in glDrawPixels when writing color indexed images on color indexed
Karl Schultz [Tue, 28 Sep 2004 18:53:44 +0000 (18:53 +0000)]
Fix bug in glDrawPixels when writing color indexed images on color indexed
devices.  In draw_index_pixels(), use the correct variables for the span Y
and span end values.

20 years agoInitial revision
Nicolai Haehnle [Tue, 28 Sep 2004 10:59:23 +0000 (10:59 +0000)]
Initial revision

20 years agouse GLuint instead of uint
Daniel Borca [Tue, 28 Sep 2004 06:44:46 +0000 (06:44 +0000)]
use GLuint instead of uint