Brian Paul [Sat, 2 Oct 2004 22:48:59 +0000 (22:48 +0000)]
put glapi_x86.S into the x86/ directory
Brian Paul [Sat, 2 Oct 2004 22:47:48 +0000 (22:47 +0000)]
remove unused413 stuff, glDrawBuffersARB uses that slot now
Brian Paul [Sat, 2 Oct 2004 22:43:44 +0000 (22:43 +0000)]
GL_ARB_draw_buffers
Brian Paul [Sat, 2 Oct 2004 22:38:43 +0000 (22:38 +0000)]
fix _DrawDestMask[0][0] typos
Brian Paul [Sat, 2 Oct 2004 16:39:09 +0000 (16:39 +0000)]
added support for GL_ARB_draw_buffers
Brian Paul [Sat, 2 Oct 2004 15:56:50 +0000 (15:56 +0000)]
fix indentation
Brian Paul [Sat, 2 Oct 2004 15:56:33 +0000 (15:56 +0000)]
fix a comment
Brian Paul [Sat, 2 Oct 2004 15:43:26 +0000 (15:43 +0000)]
bump version to 6.3
Brian Paul [Sat, 2 Oct 2004 15:43:14 +0000 (15:43 +0000)]
initial stuff for 6.3
Brian Paul [Sat, 2 Oct 2004 15:26:25 +0000 (15:26 +0000)]
a few more updates for the 6.2 release
Brian Paul [Sat, 2 Oct 2004 15:16:59 +0000 (15:16 +0000)]
fix LoadProgramNV regression when I had fixed the RefCount bug
Brian Paul [Sat, 2 Oct 2004 14:59:29 +0000 (14:59 +0000)]
added PBO known issues
Brian Paul [Sat, 2 Oct 2004 14:56:17 +0000 (14:56 +0000)]
set 6.2 release date
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.
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)
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.
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.
Karl Schultz [Fri, 1 Oct 2004 21:22:10 +0000 (21:22 +0000)]
minor updates and improvements
Karl Schultz [Fri, 1 Oct 2004 20:55:23 +0000 (20:55 +0000)]
Add the glut project to the demos workspace.
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.
Karl Schultz [Fri, 1 Oct 2004 20:19:16 +0000 (20:19 +0000)]
Add HP shared lib configs.
Karl Schultz [Fri, 1 Oct 2004 20:18:42 +0000 (20:18 +0000)]
HP shared lib config
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.
Karl Schultz [Fri, 1 Oct 2004 16:29:39 +0000 (16:29 +0000)]
fix problems in previous version
Karl Schultz [Fri, 1 Oct 2004 13:33:26 +0000 (13:33 +0000)]
Enable builds on AIX 64-bit
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..
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.
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
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>
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
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.
Nicolai Haehnle [Tue, 28 Sep 2004 10:59:23 +0000 (10:59 +0000)]
Initial revision
Daniel Borca [Tue, 28 Sep 2004 06:44:46 +0000 (06:44 +0000)]
use GLuint instead of uint
Brian Paul [Mon, 27 Sep 2004 22:40:31 +0000 (22:40 +0000)]
version bump
Brian Paul [Mon, 27 Sep 2004 22:40:22 +0000 (22:40 +0000)]
change include of glx_mangle.h to match other headers
Brian Paul [Mon, 27 Sep 2004 22:38:47 +0000 (22:38 +0000)]
remove beos/*.h files from tarball list
Brian Paul [Mon, 27 Sep 2004 22:38:25 +0000 (22:38 +0000)]
bump minor version to 2
Brian Paul [Mon, 27 Sep 2004 16:19:17 +0000 (16:19 +0000)]
VBO RefCount fix (David Reveman)
Daniel Borca [Mon, 27 Sep 2004 07:23:20 +0000 (07:23 +0000)]
stencil wrap works, either HW or SW (Ian Romanick)
Eric Anholt [Sat, 25 Sep 2004 21:08:56 +0000 (21:08 +0000)]
Bump driver_date for today's fixes.
Eric Anholt [Sat, 25 Sep 2004 21:08:30 +0000 (21:08 +0000)]
Can't bail in sisDDLogicOpCode when logicop is off, because it's called with
GL_COPY to turn off logicop. Fixes glean's logicop test.
Eric Anholt [Sat, 25 Sep 2004 21:06:58 +0000 (21:06 +0000)]
Triangle stipple is a fallback, since we don't have code for the stippling.
Doesn't seem to help with glean's paths test, but I'm pretty sure it's correct.
Eric Anholt [Sat, 25 Sep 2004 19:43:30 +0000 (19:43 +0000)]
Correct a couple of comments.
Eric Anholt [Sat, 25 Sep 2004 19:01:18 +0000 (19:01 +0000)]
Fix SiS AGP vertex dispatch by not trying to emit 0 vertices, which would hang
the hardware. Re-enable AGP by default.
Eric Anholt [Sat, 25 Sep 2004 16:56:58 +0000 (16:56 +0000)]
Add sis to the list of DRI drivers, since it had already been converted to the
new interface.
Eric Anholt [Sat, 25 Sep 2004 07:11:12 +0000 (07:11 +0000)]
Refactor the linux-dri config files so that linux-dri-x86 inherits from
linux-dri. Turn on -O by default (-O2 provides a slight improvement in
performance, at a large cost to debuggability). Turn off -fPIC on x86 by
default. Turn on -Wall, to catch more stupid mistakes. This could be both done
cleaner, and done for more config files, but it works for me for now.
Eric Anholt [Sat, 25 Sep 2004 07:00:15 +0000 (07:00 +0000)]
The previous code would emit a full set of state during the first EmitState on
a new cmdbuf, to ensure that state wasn't lost across UNLOCK/LOCK pairs (in the
case of context switching). This was rather inefficient. Instead, after
flushing a cmdbuf, mark the state as needing to be saved on unlock. Then, at
the beginning of flushing a cmdbuf, if we actually have lost the context, go
back and emit a new cmdbuf with the full set of state, before continuing with
the cmdbuf flush. Provides a 10-15% improvement in ipers performance in my
tests, along with other apps.
Tested with: ipers, glxgears, quake3
Eric Anholt [Sat, 25 Sep 2004 06:12:40 +0000 (06:12 +0000)]
Fix texturing in quake3. Some code was left over from the dirty/clean list
setup that now removed atoms from the atomlist on texture deletion.
Eric Anholt [Sat, 25 Sep 2004 03:00:27 +0000 (03:00 +0000)]
Bump DRIVER_DATE for yesterday's changes.
Brian Paul [Fri, 24 Sep 2004 23:01:21 +0000 (23:01 +0000)]
moved to demos/ directory
Brian Paul [Fri, 24 Sep 2004 23:00:52 +0000 (23:00 +0000)]
moved in from the tests/ directory to include in distro
Brian Paul [Fri, 24 Sep 2004 20:31:02 +0000 (20:31 +0000)]
updated osmesa info
Brian Paul [Fri, 24 Sep 2004 14:30:13 +0000 (14:30 +0000)]
patches for clearing hw depth buffers from software fallback (Nicolai Haehnle)
Daniel Borca [Fri, 24 Sep 2004 07:03:53 +0000 (07:03 +0000)]
added (back!) option to use non-packedcolor
Eric Anholt [Fri, 24 Sep 2004 04:20:58 +0000 (04:20 +0000)]
-O -Wall warnings cleanups in r200.
Eric Anholt [Fri, 24 Sep 2004 03:09:49 +0000 (03:09 +0000)]
Clean up some warnings in the R100 driver with -O -Wall.
Eric Anholt [Fri, 24 Sep 2004 01:33:15 +0000 (01:33 +0000)]
Remove an unnecessary calculation of the dest pointer.
Brian Paul [Thu, 23 Sep 2004 17:34:52 +0000 (17:34 +0000)]
don't test for NULL pixels pointer here, do that in the 'store' routines after validating PBO address
Brian Paul [Thu, 23 Sep 2004 17:32:12 +0000 (17:32 +0000)]
removed hacked GL tokens, fixed a printf
Brian Paul [Thu, 23 Sep 2004 17:31:21 +0000 (17:31 +0000)]
added a comment in BindTexture
Brian Paul [Thu, 23 Sep 2004 17:30:54 +0000 (17:30 +0000)]
just some comments and formatting changes
Dave Airlie [Thu, 23 Sep 2004 08:24:03 +0000 (08:24 +0000)]
fix for Erics new emit state code, rework out the dest pointer
after we check the buffer
Eric Anholt [Wed, 22 Sep 2004 06:27:02 +0000 (06:27 +0000)]
The previous code would emit a full set of state during the first EmitState on
a new cmdbuf, to ensure that state wasn't lost across UNLOCK/LOCK pairs (in the
case of context switching). This was rather inefficient. Instead, after
flushing a cmdbuf, mark the state as needing to be saved on UNLOCK. Then, at
the beginning of flushing a cmdbuf, if we actually have lost the context, go
back and emit a new cmdbuf with the full set of state, before continuing with
the cmdbuf flush. Also, remove the dirty/clean atom lists, since atoms are
emitted in a fixed order these days, and go with a simpler single list.
Provides a 14% improvement in ipers performance in my tests, along with other
apps.
Dave Airlie [Tue, 21 Sep 2004 00:39:59 +0000 (00:39 +0000)]
Add xmlconfig to the i810 makefile
Daniel Borca [Mon, 20 Sep 2004 08:33:38 +0000 (08:33 +0000)]
clamp size of wide points
Ian Romanick [Sun, 19 Sep 2004 08:03:46 +0000 (08:03 +0000)]
Add GL_ARB_texture_cube_map support for i830. Most of the code was
lifted from the i915 side. i830 will now report version 1.3! Hurrah!
With the exception of GL_EXT_texture_compression_s3tc, the i830 driver
now supports all the extensions that its Windows counterpart supports.
Ian Romanick [Sun, 19 Sep 2004 07:15:38 +0000 (07:15 +0000)]
Added GL_ARB_point_parameters support for i830.
Ian Romanick [Sun, 19 Sep 2004 07:01:26 +0000 (07:01 +0000)]
Merge in all the i830 functional differences from the old i830 driver.
Karl Schultz [Fri, 17 Sep 2004 22:02:05 +0000 (22:02 +0000)]
rearrange a couple of lines of code to avoid compilation error in VC 6,
probably due to a compiler bug.
Eric Anholt [Fri, 17 Sep 2004 05:10:33 +0000 (05:10 +0000)]
Symbol names are prepended with an underscore on CYGWIN as well.
X.Org Bugzilla: 1079
Submitted by: Alexander Gottwald <ago@freedesktop.org>
Brian Paul [Thu, 16 Sep 2004 19:40:22 +0000 (19:40 +0000)]
silence warnings
Brian Paul [Thu, 16 Sep 2004 19:39:04 +0000 (19:39 +0000)]
silence warnings, re-indent code
Brian Paul [Thu, 16 Sep 2004 19:33:44 +0000 (19:33 +0000)]
VBO refcount and spriteblast fixes
Brian Paul [Thu, 16 Sep 2004 19:32:49 +0000 (19:32 +0000)]
clean-up the hokey transformation code so that window resizes actually work
Brian Paul [Wed, 15 Sep 2004 14:49:33 +0000 (14:49 +0000)]
replace glNormal3f(v) with GL_CALL(Normal3f)(v), etc (Andreas Stenglein
Brian Paul [Wed, 15 Sep 2004 14:40:14 +0000 (14:40 +0000)]
in _mesa_problem() include version number in error message
Brian Paul [Tue, 14 Sep 2004 22:28:27 +0000 (22:28 +0000)]
also fix possible delete bugs with buffer objects and vertex/fragment programs
Brian Paul [Tue, 14 Sep 2004 20:43:22 +0000 (20:43 +0000)]
fixed glDeleteTextures bug
Brian Paul [Tue, 14 Sep 2004 20:42:53 +0000 (20:42 +0000)]
Have the rendering contexts share textures.
Put simple checker pattern on the objects.
Press 'd' to delete texture, 'u' to unbind it.
Brian Paul [Tue, 14 Sep 2004 20:40:55 +0000 (20:40 +0000)]
Repeatedly deleting a texture ID with glDeleteTextures() could lead to a crash.
Added a DeletePending flag to texture object struct to fix that.
Other misc clean-ups.
Brian Paul [Mon, 13 Sep 2004 21:04:48 +0000 (21:04 +0000)]
Replace -lGL with -l$(GL_LIB), etc.
Remove GLU_LIB_DEPS, OSMESA_LIB_DEPS lines if identical to 'default' file.
Brian Paul [Mon, 13 Sep 2004 19:59:06 +0000 (19:59 +0000)]
added GL_MAX_VERTEX_ATTRIBS_ARB bug fix
Brian Paul [Mon, 13 Sep 2004 19:58:27 +0000 (19:58 +0000)]
Handle GL_MAX_VERTEX_ATTRIBS_ARB in glGet*().
Define 2.0 point-sprite related tokens in glheader.h (temporary).
Ian Romanick [Mon, 13 Sep 2004 16:36:44 +0000 (16:36 +0000)]
Minor extension string tweaks. Added support for vertex program extensions.
Tested with arbvptorus, arbvpwarpmesh, vptorus, and vpwarpmesh.
Brian Paul [Mon, 13 Sep 2004 14:55:07 +0000 (14:55 +0000)]
remove ARB_texture_non_power_of_two from _mesa_enable_1_5_extensions()
Brian Paul [Mon, 13 Sep 2004 14:54:19 +0000 (14:54 +0000)]
adjust texcoords for texture rectangle sampling
Brian Paul [Mon, 13 Sep 2004 14:53:02 +0000 (14:53 +0000)]
tweak texcoord for sampling texture rectangles (Dave Reveman)
Daniel Borca [Mon, 13 Sep 2004 09:31:28 +0000 (09:31 +0000)]
cleanup and bugfixes for fxDDClear()
Daniel Borca [Mon, 13 Sep 2004 09:29:30 +0000 (09:29 +0000)]
cleanup and some changes towards GL_ARB_point_sprite (two-zero)
Daniel Borca [Mon, 13 Sep 2004 09:27:03 +0000 (09:27 +0000)]
cleanup
Daniel Borca [Mon, 13 Sep 2004 08:47:01 +0000 (08:47 +0000)]
changes towards GL_ARB_point_sprite (two-zero)
Brian Paul [Fri, 10 Sep 2004 22:13:18 +0000 (22:13 +0000)]
updated ggi files in tarball list
Brian Paul [Fri, 10 Sep 2004 22:12:36 +0000 (22:12 +0000)]
Brian Paul [Fri, 10 Sep 2004 22:12:14 +0000 (22:12 +0000)]
updated from patch
1026109
Brian Paul [Fri, 10 Sep 2004 22:11:33 +0000 (22:11 +0000)]
Brian Paul [Fri, 10 Sep 2004 22:08:33 +0000 (22:08 +0000)]
Brian Paul [Fri, 10 Sep 2004 19:20:56 +0000 (19:20 +0000)]
ggi updates
Brian Paul [Fri, 10 Sep 2004 19:19:24 +0000 (19:19 +0000)]
assorted updates (bug #
1025977)
Brian Paul [Fri, 10 Sep 2004 16:42:40 +0000 (16:42 +0000)]
misc updates for 6.2 release
Brian Paul [Fri, 10 Sep 2004 14:41:55 +0000 (14:41 +0000)]
updated error msg