Brian Paul [Fri, 2 Sep 2005 13:55:50 +0000 (13:55 +0000)]
comments
Brian Paul [Fri, 2 Sep 2005 13:43:26 +0000 (13:43 +0000)]
added GL_EXT_timer_query token
Brian Paul [Fri, 2 Sep 2005 13:42:49 +0000 (13:42 +0000)]
Prototype implementation of new GL_EXT_timer_query extension (not finalized yet).
Extends the query mechanism to query elapsed time while rendering.
Brian Paul [Fri, 2 Sep 2005 13:40:09 +0000 (13:40 +0000)]
replace -1 with PROGRAM_UNDEFINED when initializing instructions
Brian Paul [Fri, 2 Sep 2005 13:20:20 +0000 (13:20 +0000)]
set depthHasSurface for stencil renderbuffer
Roland Scheidegger [Fri, 2 Sep 2005 12:05:38 +0000 (12:05 +0000)]
ATI_fragment_shader fixes: fix bug in passTexCoord (caused by recent changes). Fix sampling from wrong texture unit. Apply swizzling before texture sampling, and hopefully get non-projected coordinates from swrast. (still does not work at all with sw doom3, way too dark just the same as with the doom3 arb2 path)
Brian Paul [Fri, 2 Sep 2005 03:39:31 +0000 (03:39 +0000)]
change scratch pointer from _int32_t to u_int32_t to silence warning. Is this field actually used for anything?
Brian Paul [Fri, 2 Sep 2005 03:36:41 +0000 (03:36 +0000)]
remove unneeded assertion in stencil/depth LOCAL_DEPTH_VARS code
Brian Paul [Fri, 2 Sep 2005 03:28:08 +0000 (03:28 +0000)]
set depthHasSurface field for stencil renderbuffer
Roland Scheidegger [Fri, 2 Sep 2005 01:11:53 +0000 (01:11 +0000)]
add error checking to the GL_ATI_FRAGMENT_SHADER entrypoints. Fix bug with scope of ati fragment shader constants. Fix issues with specifying color/alpha instructions not pair-wise. Change internal representation of the shader (to better fit how the extension works, should make driver implementations simpler, and saves some memory). (still doesn't work correctly with doom3 and swrast, but not worse than before)
Brian Paul [Thu, 1 Sep 2005 20:14:50 +0000 (20:14 +0000)]
added an assertion to help debug broken stencil readback
Brian Paul [Thu, 1 Sep 2005 20:11:32 +0000 (20:11 +0000)]
added driFlipRenderbuffers()
Brian Paul [Thu, 1 Sep 2005 20:10:17 +0000 (20:10 +0000)]
fix page flipping breakage
Brian Paul [Thu, 1 Sep 2005 14:04:45 +0000 (14:04 +0000)]
fix typo
Brian Paul [Thu, 1 Sep 2005 14:04:32 +0000 (14:04 +0000)]
some missing renderbuffer changes (Roland)
Brian Paul [Thu, 1 Sep 2005 04:03:44 +0000 (04:03 +0000)]
Finish up some of the gl_renderbuffer work.
Use driRenderbuffer's offset, pitch fields in the span routines.
Remove the SetBuffer driver function.
Consolidate the code for setting CTX_RB3D_COLOROFFSET and CTX_RB3D_COLORPITCH
state in new radeonUpdateDrawBuffer() function.
Old code is surrounded by #if 000 / #endif, temporarily.
Brian Paul [Thu, 1 Sep 2005 03:54:34 +0000 (03:54 +0000)]
Finish up some of the gl_renderbuffer work.
Use driRenderbuffer's offset, pitch fields in the span routines.
Remove the SetBuffer driver function.
Consolidate the code for setting CTX_RB3D_COLOROFFSET and CTX_RB3D_COLORPITCH
state in new radeonUpdateDrawBuffer() function.
Brian Paul [Thu, 1 Sep 2005 03:50:54 +0000 (03:50 +0000)]
s/__inline/INLINE/
Brian Paul [Thu, 1 Sep 2005 03:32:48 +0000 (03:32 +0000)]
use char* instead of GLubyte* in i915_program_error() to silence warnings
Brian Paul [Thu, 1 Sep 2005 03:19:45 +0000 (03:19 +0000)]
use proper datatypes to silence a bunch of warnings
Brian Paul [Thu, 1 Sep 2005 03:07:29 +0000 (03:07 +0000)]
added a few more fields to help with DRI drivers
Brian Paul [Thu, 1 Sep 2005 03:06:28 +0000 (03:06 +0000)]
remove fxDDSetBuffer()
Brian Paul [Thu, 1 Sep 2005 03:05:39 +0000 (03:05 +0000)]
remove set_buffer()
Brian Paul [Thu, 1 Sep 2005 03:04:41 +0000 (03:04 +0000)]
remove old set_buffer routine and misc code
Brian Paul [Thu, 1 Sep 2005 02:56:47 +0000 (02:56 +0000)]
remove the old set_buffer() routine
Brian Paul [Wed, 31 Aug 2005 21:38:53 +0000 (21:38 +0000)]
Just additional comments.
Roland Scheidegger [Wed, 31 Aug 2005 19:11:09 +0000 (19:11 +0000)]
enable GL_ARB_texture_env_crossbar on r200, separate the enable bits for texture sampling and texture environment, optimize away texture sampling for units if the result is not used, always emit the env instructions in-order and try to eliminate GL_REPLACE env instructions.
Brian Paul [Wed, 31 Aug 2005 16:42:59 +0000 (16:42 +0000)]
use 'f' key to toggle front/back buffer rendering
Brian Paul [Wed, 31 Aug 2005 16:04:17 +0000 (16:04 +0000)]
remove dead code, update comments
Alan Hourihane [Wed, 31 Aug 2005 15:11:21 +0000 (15:11 +0000)]
reverse a bogus patch
Dave Airlie [Wed, 31 Aug 2005 01:24:01 +0000 (01:24 +0000)]
complete fix for miniglx startup issue since driver version checks
Brian Paul [Wed, 31 Aug 2005 00:39:32 +0000 (00:39 +0000)]
remove redundant ctx->Driver fallback assignments that were already done in _mesa_init_driver_functions()
Brian Paul [Wed, 31 Aug 2005 00:00:17 +0000 (00:00 +0000)]
fix a cast/assignment warning
Brian Paul [Tue, 30 Aug 2005 23:57:04 +0000 (23:57 +0000)]
silence fprintf and casting warnings
Brian Paul [Tue, 30 Aug 2005 23:50:23 +0000 (23:50 +0000)]
added some parenthesis to silence warnings
Alan Hourihane [Tue, 30 Aug 2005 20:37:30 +0000 (20:37 +0000)]
drmUnmap correct size
Alan Hourihane [Tue, 30 Aug 2005 19:46:08 +0000 (19:46 +0000)]
move via_dri.h to server
Alan Hourihane [Tue, 30 Aug 2005 19:22:46 +0000 (19:22 +0000)]
define Bool for solo builds
Alan Hourihane [Tue, 30 Aug 2005 19:14:23 +0000 (19:14 +0000)]
Fixes from https://bugs.freedesktop.org/attachment.cgi?id=3077
Brian Paul [Mon, 29 Aug 2005 22:45:52 +0000 (22:45 +0000)]
fix APP_LIB_DEPS
Ian Romanick [Mon, 29 Aug 2005 15:43:02 +0000 (15:43 +0000)]
Implement GL_ARB_texture_env_combine, GL_EXT_texture_env_combine, and
GL_ARB_texture_env_crossbar for i810. This passes both demos/texenv and all
of glean's texCombine tests.
Alan Hourihane [Mon, 29 Aug 2005 15:23:55 +0000 (15:23 +0000)]
remove drmAddress
Brian Paul [Mon, 29 Aug 2005 14:45:30 +0000 (14:45 +0000)]
added note about IEEE vs VAX floating point (bug 4270)
Brian Paul [Sun, 28 Aug 2005 17:12:07 +0000 (17:12 +0000)]
fix a few proxy color table bugs (bug 4270)
Brian Paul [Sat, 27 Aug 2005 14:04:37 +0000 (14:04 +0000)]
check the Ready flag when getting GL_QUERY_RESULT_ARB
Brian Paul [Sat, 27 Aug 2005 13:56:08 +0000 (13:56 +0000)]
Rearrange the code related to GL_ARB_occlusion_object to generalize query
objects for future types of queries.
Adam Jackson [Fri, 26 Aug 2005 17:50:39 +0000 (17:50 +0000)]
/dri/msg
Alan Hourihane [Fri, 26 Aug 2005 09:37:41 +0000 (09:37 +0000)]
Fix the scripts for the cygwin & mingw changes
Brian Paul [Thu, 25 Aug 2005 23:26:51 +0000 (23:26 +0000)]
added singlebuffer demo
Brian Paul [Thu, 25 Aug 2005 23:25:25 +0000 (23:25 +0000)]
Demo of how to do (nearly) flicker-free rendering with a single color buffer.
Brian Paul [Thu, 25 Aug 2005 22:09:43 +0000 (22:09 +0000)]
fix comment and #if test
Brian Paul [Thu, 25 Aug 2005 19:43:38 +0000 (19:43 +0000)]
don't compile debug code (bug 4242: rand undefined)
Brian Paul [Thu, 25 Aug 2005 19:38:42 +0000 (19:38 +0000)]
remove stray references to ctx->Depth.OcclusionTest
Ian Romanick [Thu, 25 Aug 2005 19:15:01 +0000 (19:15 +0000)]
Fix texture format selection. ChooseTextureFormat is supposed to select the
hardware format of the texture, and SetTexImages is supposed to use the
format selected by ChooseTextureFormat. However, both routines were making
their choices based on the texture's BaseFormat. This is wrong.
ChooseTextureFormat uses BaseFormat and SetTexImages uses
TexFormat->MesaFormat.
Once SetTexImages was fixed to use the right format values,
ChooseTextureFormat was cleaned up. It now uses the few available texture
formats supported by the i810 in a smarter way. This should improve the
quality of LUMINANCE, LUMINANCE_ALPHA, and INTENSITY textures.
I tested this by cycling through all the texture formats in demos/texenv and
tests/yuvsquare.
Alan Hourihane [Thu, 25 Aug 2005 18:08:16 +0000 (18:08 +0000)]
update for mingw
Brian Paul [Thu, 25 Aug 2005 17:46:04 +0000 (17:46 +0000)]
Update the glut idle function after a new window is created
Brian Paul [Thu, 25 Aug 2005 14:24:49 +0000 (14:24 +0000)]
initial 6.5 changes (reflect demo, remove GL_HP_occlusion_test)
Brian Paul [Thu, 25 Aug 2005 14:23:38 +0000 (14:23 +0000)]
removed GL_HP_occlusion_test extension
Brian Paul [Thu, 25 Aug 2005 14:07:06 +0000 (14:07 +0000)]
fix segfault in Fake_glXCreatePBuffer(), bug 4235
Brian Paul [Thu, 25 Aug 2005 13:18:53 +0000 (13:18 +0000)]
s/GLX_RGBA_BIT/GLX_RGBA_TYPE/ (bug 4237)
Eric Anholt [Thu, 25 Aug 2005 03:38:07 +0000 (03:38 +0000)]
Attempt to fix the issue reported by Alan Grimes with DRM_RADEON_TEXTURE
erroring out when it shouldn't. The errno could be changed by usleep() between
the ioctl call and the loop check, if a signal was received. This could cause
an EAGAIN return from the DRM_RADEON_TEXTURE ioctl to not loop again.
Instead of checking errno, check thevalue of ret itself, since it is a saved
(and sign-flipped) copy of errno from the ioctl call.
Brian Paul [Thu, 25 Aug 2005 03:09:12 +0000 (03:09 +0000)]
make tiles a little smaller so they're all visible
Brian Paul [Thu, 25 Aug 2005 03:05:10 +0000 (03:05 +0000)]
also check for texture border in sample_linear_2d()
Brian Paul [Wed, 24 Aug 2005 21:32:02 +0000 (21:32 +0000)]
Added multi-window support. Press 'n' to create new window, 'k' to kill
a window. Good for exercising multi-window rendering.
Alan Hourihane [Wed, 24 Aug 2005 09:08:06 +0000 (09:08 +0000)]
Fix Windows build problems.
GCC's visibility attribute is for ELF systems, so undef INTERNAL
GCC's fastcall attribute interferes with __stdcall so undef FASTCALL
Brian Paul [Tue, 23 Aug 2005 14:50:02 +0000 (14:50 +0000)]
GLw demo doesn't belong here
Brian Paul [Tue, 23 Aug 2005 13:40:30 +0000 (13:40 +0000)]
removed lines that caused some files to be included in tarballs multiple times
Brian Paul [Tue, 23 Aug 2005 03:50:12 +0000 (03:50 +0000)]
simplify, clean-up texel addressing macros
Brian Paul [Tue, 23 Aug 2005 00:45:54 +0000 (00:45 +0000)]
update version to 6.5.0
Brian Paul [Mon, 22 Aug 2005 14:28:19 +0000 (14:28 +0000)]
added GL_X_RENDERABLE to glXChooseFBConfig (bug 4181)
Brian Paul [Mon, 22 Aug 2005 14:27:33 +0000 (14:27 +0000)]
bump version to 6.5
Brian Paul [Mon, 22 Aug 2005 14:27:13 +0000 (14:27 +0000)]
added .S DRI files to tarball (Donnie Berkholz), bumped version to 6.5
Dave Airlie [Sun, 21 Aug 2005 03:17:52 +0000 (03:17 +0000)]
fix up libdrm for egl
Brian Paul [Fri, 19 Aug 2005 23:44:35 +0000 (23:44 +0000)]
fix typo
Brian Paul [Fri, 19 Aug 2005 23:42:29 +0000 (23:42 +0000)]
md5 sums for 6.3.2
Brian Paul [Fri, 19 Aug 2005 23:34:10 +0000 (23:34 +0000)]
update MESA_DEBUG with FP info
Adam Jackson [Fri, 19 Aug 2005 20:20:03 +0000 (20:20 +0000)]
Convert libGL and DRI drivers to require libdrm.
libdrm can be had from:
http://people.freedesktop.org/~ajax/libdrm/
Ian Romanick [Fri, 19 Aug 2005 18:53:26 +0000 (18:53 +0000)]
Fix a realloc problem with indirect vertex arrays. The actual head pointer
wasn't tracked and used for the realloc, so it tended to explode.
Brian Paul [Fri, 19 Aug 2005 16:57:50 +0000 (16:57 +0000)]
updates for 6.3.2 release, plus other assorted clean-ups
Alan Hourihane [Fri, 19 Aug 2005 16:07:33 +0000 (16:07 +0000)]
Commit missing piece from Egbert's 32/64 bit patches
Ian Romanick [Fri, 19 Aug 2005 00:48:25 +0000 (00:48 +0000)]
Enable ARB_texture_compression. The code has been in place for a long time,
but, for whatever reason, the extension wasn't enabled.
Add some comments to i810ChooseTextureFormat. There's some strangeness with
i810 texture formats.
Ian Romanick [Thu, 18 Aug 2005 22:27:37 +0000 (22:27 +0000)]
Add support for NV_blend_square. This was tested with
progs/tests/blendsquare.
Ian Romanick [Thu, 18 Aug 2005 22:16:46 +0000 (22:16 +0000)]
Make sure extension entry point offsets are properly initialized. This is
primarilly needed to support functions that are internally implemented using
extension entry points (e.g., glBlendFunc uses glBlendFuncSeparate).
Ian Romanick [Thu, 18 Aug 2005 20:01:01 +0000 (20:01 +0000)]
Don't try to update hardware texture fields if there is no hardware texture.
This can happen when all the texture enables for a texture unit are disabled.
This fixes bugzilla #3195.
Ian Romanick [Thu, 18 Aug 2005 19:52:44 +0000 (19:52 +0000)]
Add simple regression test for bugzilla #3195.
Ian Romanick [Thu, 18 Aug 2005 19:51:11 +0000 (19:51 +0000)]
Make the i810 driver use driGetRendererString like all the other drivers.
The GL_RENDERER string now accurately contains the chip name. This was only
tested on a "plain" i810 (PCI ID 8086:7121).
Brian Paul [Thu, 18 Aug 2005 14:33:26 +0000 (14:33 +0000)]
Replace mult/div operators with bitwise operators in texel fetch routines
for better performance. (Roland Scheidegger)
Brian Paul [Tue, 16 Aug 2005 23:13:25 +0000 (23:13 +0000)]
Bump version to 6.3.2
Brian Paul [Tue, 16 Aug 2005 23:12:37 +0000 (23:12 +0000)]
updates for 6.3.2
Brian Paul [Mon, 15 Aug 2005 23:25:33 +0000 (23:25 +0000)]
include stdint.h if WIN32 and GNUC (Colin Harrison). Patch forwarded to SGI.
Brian Paul [Mon, 15 Aug 2005 22:57:30 +0000 (22:57 +0000)]
test the standard stencil op modes too (Philipp Klaus Krause)
Roland Scheidegger [Mon, 15 Aug 2005 18:24:12 +0000 (18:24 +0000)]
In _mesa_TexEnvfv, do not accept values for GL_OPERAND2_ALPHA and GL_OPERAND2_RGB which are only valid with ARB_texture_env_combine but not with EXT_texture_env_combine, when only EXT_texture_env_combine is supported.
Ian Romanick [Mon, 15 Aug 2005 15:01:39 +0000 (15:01 +0000)]
Put back '-I/usr/X11R6/include'.
Make 'USING_EGL=0' the default for now. It's causing too much confusion for
too many non-developers (which in turn wastes too much developer time). It
is trivially overridden from the make command line. See comments in
linux-dri.
Alan Hourihane [Mon, 15 Aug 2005 06:59:24 +0000 (06:59 +0000)]
Add Egberts fixes for 64bit architectures
Add additional checks for the *DRIRec info structure passed in from the
device driver. This ensures that things fallback to indirect rendering if
the DDX driver has had modifications (i.e. removal of the drmAddress field).
Alan Hourihane [Sun, 14 Aug 2005 12:16:51 +0000 (12:16 +0000)]
Add a check which compares the passed in size of the DDX driver private DRI
structure to the 3D drivers view of it, and abort if they don't match.
This traps the case with the drmAddress removal in the DDX driver.
Ian Romanick [Sat, 13 Aug 2005 01:43:28 +0000 (01:43 +0000)]
Enable support for EXT_stencil_wrap. The code was already there, but the
extension wasn't enabled. I have verified its correct function with Mesa's
stencil_wrap test. It is enabled on both Savage4 and Savage3D. Since
Savage3D uses a software fallback for *all* stencil operations, this is safe.
Brian Paul [Fri, 12 Aug 2005 18:56:56 +0000 (18:56 +0000)]
added FREXPF() macro (bug 4060)
Ian Romanick [Thu, 11 Aug 2005 20:29:45 +0000 (20:29 +0000)]
Remove the logic that determines at compile time whether or not HAVE_ALIAS
should be defined. It was flawed on some platforms (e.g., Darwin & mingw).
Instead, rely on the build system to define it on the compiler command line.
This also reverts ajax's hand-edit to indirect_size.c. I'll fix that on the
X.org side of things later today.
Ian Romanick [Thu, 11 Aug 2005 19:47:06 +0000 (19:47 +0000)]
Remove support for the R200_NO_VTXFMT environment variable. Instead use
'tcl_mode=1'. This fixes bugzilla #3972.
Ian Romanick [Thu, 11 Aug 2005 19:37:55 +0000 (19:37 +0000)]
Makefile cleanups suggested by George Fufutos (bugzilla #3899).