Jon Smirl [Tue, 29 Jun 2004 04:50:29 +0000 (04:50 +0000)]
This should make most linux-solo drivers work again. Mainly a fix
for changing SAREA size form DRM_PAGE_SIZE to SAREA_MAX. fb driver
is still broken.
Brian Paul [Tue, 29 Jun 2004 00:30:06 +0000 (00:30 +0000)]
fixed vertex program state references
Brian Paul [Tue, 29 Jun 2004 00:21:04 +0000 (00:21 +0000)]
fix another bug in get_register_pointer()
Brian Paul [Tue, 29 Jun 2004 00:03:59 +0000 (00:03 +0000)]
the get_register_pointer() function was pretty well broken in a few ways
Brian Paul [Tue, 29 Jun 2004 00:00:29 +0000 (00:00 +0000)]
disable some debug code
Brian Paul [Tue, 29 Jun 2004 00:00:06 +0000 (00:00 +0000)]
remove trailing whitespace and misc clean-ups
Roland Scheidegger [Mon, 28 Jun 2004 22:32:38 +0000 (22:32 +0000)]
add missing R200_RB3D_BLENDCOLOR to r200/radeon_sanity.c
Brian Paul [Mon, 28 Jun 2004 22:03:44 +0000 (22:03 +0000)]
option to test with display lists
Brian Paul [Mon, 28 Jun 2004 22:02:23 +0000 (22:02 +0000)]
glBegin/EndQueryARB bug fix
Brian Paul [Mon, 28 Jun 2004 22:01:12 +0000 (22:01 +0000)]
glBegin/EndQueryARB didn't work inside display lists
Brian Paul [Mon, 28 Jun 2004 15:16:28 +0000 (15:16 +0000)]
make sure Q has a good value before drawing a sample
Jon Smirl [Sat, 26 Jun 2004 17:16:42 +0000 (17:16 +0000)]
Mesa-solo builds with these changes. There are still more fixups needed to
get individual drivers working again. This converts miniglx to the new
dri interface. Thanks to Erdi Chen for the new interface code.
Ian Romanick [Sat, 26 Jun 2004 00:02:51 +0000 (00:02 +0000)]
Re-enable SPARC assembly on sunos5-gcc platform.
Ian Romanick [Fri, 25 Jun 2004 22:51:39 +0000 (22:51 +0000)]
Make sure mklib sees the definition of CC and CXX. Make mklib respect
the definitions of CC and CXX on Linux. This fixed build issues with
sunos5-gcc and build issues on GCC 2.x Linux when CC and CXX are set
to a GCC 3.x compiler.
Erdi Chen [Fri, 25 Jun 2004 20:31:40 +0000 (20:31 +0000)]
Corrected a float to ubyte conversion bug with fog enabled.
Brian Paul [Fri, 25 Jun 2004 14:46:48 +0000 (14:46 +0000)]
remove program from hash table when deleted (bug 979514)
Roland Scheidegger [Fri, 25 Jun 2004 13:49:46 +0000 (13:49 +0000)]
new test which uses mixed texgen/non-texgen texture coordinates to exhibit potential bugs in hardware drivers
Brian Paul [Thu, 24 Jun 2004 16:39:53 +0000 (16:39 +0000)]
fix GL_HP_occlusion_test bug, use glext.h version 23
Brian Paul [Thu, 24 Jun 2004 16:35:18 +0000 (16:35 +0000)]
fix HP occlusion testing when using generic span path
Brian Paul [Thu, 24 Jun 2004 16:32:27 +0000 (16:32 +0000)]
fix capitalization, new comments, etc
Brian Paul [Thu, 24 Jun 2004 15:35:42 +0000 (15:35 +0000)]
added library dependencies (bug #978758)
Daniel Borca [Thu, 24 Jun 2004 06:48:05 +0000 (06:48 +0000)]
hack for compressed textures with aspectratio greater than 8:1
Daniel Borca [Thu, 24 Jun 2004 06:44:38 +0000 (06:44 +0000)]
disabled unnecessary assertions in texture replicator
Daniel Borca [Thu, 24 Jun 2004 06:42:21 +0000 (06:42 +0000)]
added back x86 entrypoints
Brian Paul [Wed, 23 Jun 2004 22:47:46 +0000 (22:47 +0000)]
Fixed occlusion_zless_triangle() to work with 16 or 32-bit Z buffers.
Removed some unneeded lines, other minor clean-ups.
Roland Scheidegger [Wed, 23 Jun 2004 17:37:16 +0000 (17:37 +0000)]
revert accidental change from rev. 1.10
Brian Paul [Wed, 23 Jun 2004 14:48:04 +0000 (14:48 +0000)]
updated to version 23
Ian Romanick [Tue, 22 Jun 2004 21:32:59 +0000 (21:32 +0000)]
Don't include glapi_*.S files in DRI / solo builds.
Brian Paul [Tue, 22 Jun 2004 17:16:02 +0000 (17:16 +0000)]
Alexander Gottwald's patch for cygwin
Brian Paul [Tue, 22 Jun 2004 17:06:30 +0000 (17:06 +0000)]
check for NULL pointer to glTexImage (fix verified by Adam Jackson)
Daniel Borca [Mon, 21 Jun 2004 10:41:01 +0000 (10:41 +0000)]
added support for non-64bit compilers
Brian Paul [Sun, 20 Jun 2004 20:57:22 +0000 (20:57 +0000)]
call ctx->Driver.NewProgram() instead of CALLOC/etc in _mesa_LoadProgramNV. Fixes problems found with Cg demos.
Brian Paul [Sun, 20 Jun 2004 20:55:36 +0000 (20:55 +0000)]
remove redundant program field initializers in BindProgram(); ctx->Driver.NewProgram() does the inits
Brian Paul [Sun, 20 Jun 2004 19:17:39 +0000 (19:17 +0000)]
latest bug fixes, etc.
Brian Paul [Sun, 20 Jun 2004 19:16:55 +0000 (19:16 +0000)]
store's to RC/HC didn't work (bug 976287)
Brian Paul [Sat, 19 Jun 2004 17:44:23 +0000 (17:44 +0000)]
Big-endian texture fixes from Michel Dänzer.
Brian Paul [Sat, 19 Jun 2004 15:38:31 +0000 (15:38 +0000)]
Remove ADD_POINTERS code from import() function - it broke UT2004.
Code clean-ups, reformatting, const-correctness, etc.
Daniel Borca [Sat, 19 Jun 2004 11:07:58 +0000 (11:07 +0000)]
Hack for linear fogging. Added empty routines for WGL_ARB_pixel_format WGL_ARB_render_texture WGL_ARB_pbuffer
Keith Whitwell [Fri, 18 Jun 2004 10:58:30 +0000 (10:58 +0000)]
Use correct macros for packing pixel colors -- this bug is probably
present in many of the other drivers as well.
Keith Whitwell [Fri, 18 Jun 2004 10:54:48 +0000 (10:54 +0000)]
add missing license texts
Roland Scheidegger [Thu, 17 Jun 2004 21:19:21 +0000 (21:19 +0000)]
use I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture formats. Fix various small bugs with tex env combine mode GL_DOT3_RGB(A)/GL_DOT3_RGB(A)_EXT
Roland Scheidegger [Thu, 17 Jun 2004 21:08:02 +0000 (21:08 +0000)]
use I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture formats. Fix potential bug with tex env combine mode GL_DOT3_RGB/GL_DOT3_RGB_EXT and ALPHA_SCALE
Roland Scheidegger [Thu, 17 Jun 2004 20:54:46 +0000 (20:54 +0000)]
fix tex env mode GL_BLEND for GL_INTENSITY texture formats
Ian Romanick [Thu, 17 Jun 2004 20:53:07 +0000 (20:53 +0000)]
Make the test check for core GL version 1.3 in addition to testing for
GL_ARB_texture_compression. Also make the test list the compression formats
the driver "encourages" the app to use.
Dave Airlie [Thu, 17 Jun 2004 13:42:45 +0000 (13:42 +0000)]
Fix up texture compression mipmapping .. not sure if it fixes FXT1 but
with S3TC patch it fixes those
Brian Paul [Wed, 16 Jun 2004 16:49:59 +0000 (16:49 +0000)]
fix component indexing bug in _mesa_texstore_al88()
Brian Paul [Wed, 16 Jun 2004 15:33:33 +0000 (15:33 +0000)]
don't use // comments (Thomas Hellstrom)
Dave Airlie [Wed, 16 Jun 2004 12:38:47 +0000 (12:38 +0000)]
remove unused mode function
Dave Airlie [Wed, 16 Jun 2004 12:31:23 +0000 (12:31 +0000)]
switch to using driFillInModes fix depthbuffer = 0
Keith Whitwell [Wed, 16 Jun 2004 12:03:53 +0000 (12:03 +0000)]
Fix batch.ptr when dropping a batchbuffer segment due to zero cliprects.
Ian Romanick [Tue, 15 Jun 2004 16:22:45 +0000 (16:22 +0000)]
Fix a couple typeos in the tables for driFillInModes.
Roland Scheidegger [Tue, 15 Jun 2004 14:11:09 +0000 (14:11 +0000)]
added more compressed formats to is_color_format()
Daniel Borca [Tue, 15 Jun 2004 09:06:53 +0000 (09:06 +0000)]
fix correct parameters passed to StoreImage
Adam Jackson [Mon, 14 Jun 2004 23:38:00 +0000 (23:38 +0000)]
_really_ fix parameters to StoreImage calls.
Brian Paul [Mon, 14 Jun 2004 21:01:08 +0000 (21:01 +0000)]
added compressed formats to is_color_format() and updated some comments
Daniel Borca [Mon, 14 Jun 2004 09:11:13 +0000 (09:11 +0000)]
Fixed a bug in vertex emitter (untile we move to t_vertex.c)
Dave Airlie [Sat, 12 Jun 2004 02:36:42 +0000 (02:36 +0000)]
add i915 as it seems to build okay..
Brian Paul [Fri, 11 Jun 2004 22:47:47 +0000 (22:47 +0000)]
just a comment
Brian Paul [Fri, 11 Jun 2004 22:47:22 +0000 (22:47 +0000)]
disable GL_INTENTSITY in _mesa_is_legal_format_and_type(). See table 3.6 of the 1.5 spec
Brian Paul [Fri, 11 Jun 2004 22:44:55 +0000 (22:44 +0000)]
s/_mesa_get_current_context()/GET_CURRENT_CONTEXT()/
Brian Paul [Fri, 11 Jun 2004 22:44:22 +0000 (22:44 +0000)]
remove the 3dfx CatchSignals stuff (the var was alwasy set)
Brian Paul [Fri, 11 Jun 2004 19:08:55 +0000 (19:08 +0000)]
added GL_BGR and GL_BGRA to is_color_format() (Ronny Vindenes
Brian Paul [Fri, 11 Jun 2004 17:18:26 +0000 (17:18 +0000)]
fix some minor glitches in glGetTexParameter code
Alan Hourihane [Fri, 11 Jun 2004 15:36:42 +0000 (15:36 +0000)]
re-enable rect texture
Brian Paul [Fri, 11 Jun 2004 15:23:04 +0000 (15:23 +0000)]
fix minor typo in comment
Brian Paul [Fri, 11 Jun 2004 15:07:23 +0000 (15:07 +0000)]
don't pass GL_INTENSITY for <format> to glTexImage2D - it's illegal
Brian Paul [Thu, 10 Jun 2004 20:48:46 +0000 (20:48 +0000)]
document recent changes/fixes
Brian Paul [Thu, 10 Jun 2004 20:46:23 +0000 (20:46 +0000)]
Additional error checking for glTexImageXD.
Only allow 1D and 2D GL_DEPTH_COMPONENT textures.
Make sure internal format and user format are in same catagory.
Brian Paul [Thu, 10 Jun 2004 17:26:05 +0000 (17:26 +0000)]
Roland's patch to fix promotion of alpha or luminance textures to the
luminance_alpha format. In particular, using the al88 format to store
GL_ALPHA textures with r200 driver.
Keith Whitwell [Thu, 10 Jun 2004 12:48:07 +0000 (12:48 +0000)]
New driver for i915 as well as older i830/i845/i865 chipsets.
Dave Airlie [Thu, 10 Jun 2004 10:01:14 +0000 (10:01 +0000)]
try and find the drm in a more likely place
Dave Airlie [Thu, 10 Jun 2004 09:54:45 +0000 (09:54 +0000)]
Add FXT1 compression support to i830 driver
Eric Anholt [Thu, 10 Jun 2004 09:13:31 +0000 (09:13 +0000)]
Fix an "overflow in implicit constant conversion" warning in mEndPrimitive when
more warning flags are enabled (such as in the DRI tree). Make the second line
prettier, too.
Reported by: ajax
Adam Jackson [Thu, 10 Jun 2004 08:52:37 +0000 (08:52 +0000)]
silence a warning
Dave Airlie [Wed, 9 Jun 2004 05:10:29 +0000 (05:10 +0000)]
remove unused stuff, fix non-native build
Dave Airlie [Wed, 9 Jun 2004 05:04:46 +0000 (05:04 +0000)]
fix mach64 non native.. no reason to use it...
Eric Anholt [Wed, 9 Jun 2004 04:59:30 +0000 (04:59 +0000)]
Fix reflect demo: We were using the 3D Clear path unnecessarily, which appears
to be broken in the stencil case for unknown reasons.
Eric Anholt [Wed, 9 Jun 2004 04:58:03 +0000 (04:58 +0000)]
* sisChooseRenderState doesn't depend on _NEW_TEXTURE at all.
* Clean up definition of _SIS_NEW_RENDER_STATE.
Dave Airlie [Wed, 9 Jun 2004 02:44:14 +0000 (02:44 +0000)]
make rm for common not complain
Dave Airlie [Wed, 9 Jun 2004 02:43:26 +0000 (02:43 +0000)]
remove depend on clean
Dave Airlie [Wed, 9 Jun 2004 02:29:22 +0000 (02:29 +0000)]
fix bug with emitting spec/fog report by Eric Anholt, this isn't the prettiest
fix but it does work
Brian Paul [Tue, 8 Jun 2004 15:20:23 +0000 (15:20 +0000)]
fix parse error in sign of exponents (bug 968323)
Dave Airlie [Tue, 8 Jun 2004 10:21:59 +0000 (10:21 +0000)]
Fix rectangular textures on i830 - well texrect at least
Eric Anholt [Tue, 8 Jun 2004 09:19:17 +0000 (09:19 +0000)]
* Convert to use t_vertex.c instead of sis_vb.[ch]
* Don't dispatch vertices directly to MMIO; queue them up in dma-like buffers
first. This makes things more uniform between AGP and MMIO paths, cleans up
some locking ugliness, and makes the driver look more like other drivers.
* Don't use the AGP Cmd buffer provided by the server. Instead allocate one in
the client, which avoids the need for lots of synchronization stuff.
* Mark some MMIO accesses volatile that should have been.
* Disable the AGP submission path by default (agp_disable=true) due to
unresolved issues in the new code. The old code had its own (serious) errors
with AGP, so this is not really a step backwards.
Daniel Borca [Tue, 8 Jun 2004 06:08:56 +0000 (06:08 +0000)]
corrected a bug wrt point_size
Eric Anholt [Tue, 8 Jun 2004 04:38:33 +0000 (04:38 +0000)]
Clean a little whitespace that's been bothering me.
Ian Romanick [Mon, 7 Jun 2004 21:23:12 +0000 (21:23 +0000)]
Fix up some remaining include issues. Replace Xmalloc / Xfree with
_mesa_malloc / _mesa_free. Replace Bool with GLboolean.
Ian Romanick [Mon, 7 Jun 2004 20:18:43 +0000 (20:18 +0000)]
The required DDX and DRI version numbers were switched. This went unnoticed
on several drivers (i.e., R200, Radeon, R128, Unichrome) becuase the
required DRI and DDX versions were 4.0.0. Mach64 was already fixed.
Eric Anholt [Mon, 7 Jun 2004 19:13:18 +0000 (19:13 +0000)]
Add NEW_INTERFACE bits.
Dave Airlie [Mon, 7 Jun 2004 13:26:05 +0000 (13:26 +0000)]
fix all those warnings
Dave Airlie [Mon, 7 Jun 2004 12:51:05 +0000 (12:51 +0000)]
use the mesa defines
Dave Airlie [Mon, 7 Jun 2004 12:35:38 +0000 (12:35 +0000)]
oops fix a bug I introduced
Dave Airlie [Mon, 7 Jun 2004 11:58:59 +0000 (11:58 +0000)]
fix the versions
Daniel Borca [Mon, 7 Jun 2004 06:03:08 +0000 (06:03 +0000)]
small corrections
Dave Airlie [Mon, 7 Jun 2004 00:29:40 +0000 (00:29 +0000)]
make endian code work on BSD
Dave Airlie [Sun, 6 Jun 2004 23:32:12 +0000 (23:32 +0000)]
Remove use of X windows include
Ian Romanick [Sun, 6 Jun 2004 02:20:20 +0000 (02:20 +0000)]
Remove the rest of the need for glxclient.h and remove it from the tree.
Ian Romanick [Sun, 6 Jun 2004 02:19:24 +0000 (02:19 +0000)]
Remove drivers that have not been converted to the new interface from
the DRI builds.
Ian Romanick [Sun, 6 Jun 2004 01:36:30 +0000 (01:36 +0000)]
Bool may not be available when DRI_NEW_INTERFACE_ONLY is defined.
Ian Romanick [Sat, 5 Jun 2004 00:48:48 +0000 (00:48 +0000)]
Enable use of new DRI interface in Unichrome driver.