Jon Smirl [Sat, 10 Jul 2004 21:17:52 +0000 (21:17 +0000)]
Make solo radeon/r128 drivers track fix for DRI bug 849
Jon Smirl [Sat, 10 Jul 2004 19:14:18 +0000 (19:14 +0000)]
Remove DRM_PAGE_SIZE from fb and i810 drivers since it was being used.
Jon Smirl [Sat, 10 Jul 2004 17:09:57 +0000 (17:09 +0000)]
Fix unichrome solo build to not need X11 headers. Minor change to
use mesa_alloc/free.
Felix Kuehling [Sat, 10 Jul 2004 11:25:02 +0000 (11:25 +0000)]
Make GET_PROGRAM_NAME work with uCLibc using the __progname hack.
Improved that hack to remove leading directory names.
Jon Smirl [Fri, 9 Jul 2004 18:46:51 +0000 (18:46 +0000)]
Fix mesa-solo config to define _GNU_SOURCE so that program_invocation_short_name
will be correctly defined.
Daniel Borca [Tue, 6 Jul 2004 12:37:09 +0000 (12:37 +0000)]
use tnl_emit_func, it's safer
Roland Scheidegger [Tue, 6 Jul 2004 00:32:03 +0000 (00:32 +0000)]
correct X86_DISPATCH_FUNCTION_SIZE if THREADS is defined
Jon Smirl [Mon, 5 Jul 2004 23:51:48 +0000 (23:51 +0000)]
Convert miniglx to use xf86drm from dri/drm/libdrm instead of src/mesa/drivers/dri/dri_client
Jon Smirl [Mon, 5 Jul 2004 23:42:02 +0000 (23:42 +0000)]
Convert miniglx to use Ian's fancy new driver config code.
This removes the miniglx driver function InitContextModes().
All of the server directories were edited to remove the implementations.
Ian Romanick [Mon, 5 Jul 2004 22:42:14 +0000 (22:42 +0000)]
Fix typos in comments.
Ian Romanick [Mon, 5 Jul 2004 22:40:54 +0000 (22:40 +0000)]
Another "if it ain't broke, don't fix it" moment. Revert some more
code in _glapi_set_dispatch to its 1.74 form. This fixes a "problem"
with buggy apps that make GL calls with no bound GL context (i.e.,
Enemy Territory during shut-down).
Brian Paul [Mon, 5 Jul 2004 14:54:16 +0000 (14:54 +0000)]
fixed AIX color interpolation bug
Brian Paul [Mon, 5 Jul 2004 14:50:12 +0000 (14:50 +0000)]
patch for AIX (bug 983144)
Brian Paul [Mon, 5 Jul 2004 14:48:15 +0000 (14:48 +0000)]
added cast to fix AIX color interpolation problem (bug 983144)
Daniel Borca [Mon, 5 Jul 2004 06:47:17 +0000 (06:47 +0000)]
added GL_ARB_point_sprite.
color masking correctly implemented for 15bpp.
small fixes for textures and tri engine.
Daniel Borca [Mon, 5 Jul 2004 06:15:37 +0000 (06:15 +0000)]
fixed non-threaded codepath
Eric Anholt [Sun, 4 Jul 2004 20:49:04 +0000 (20:49 +0000)]
Bugzilla #755: Fix polygon offset by setting DEPTH_SCALE to depth_scale instead
of 1.0.
Jon Smirl [Sun, 4 Jul 2004 20:33:48 +0000 (20:33 +0000)]
Patch removes _SOLO definition needed for mesa-solo. mesa-solo
uses the NEW_INTERFACE now so _SOLO isn't necessary anymore.
Tested with the hardware that I own.
Brian Paul [Fri, 2 Jul 2004 16:39:59 +0000 (16:39 +0000)]
document some assumptions made about compressed texture tile size
Brian Paul [Fri, 2 Jul 2004 16:36:29 +0000 (16:36 +0000)]
a few comments
Brian Paul [Fri, 2 Jul 2004 14:35:50 +0000 (14:35 +0000)]
disable some debug printfs
Brian Paul [Fri, 2 Jul 2004 14:35:05 +0000 (14:35 +0000)]
redo the event loop to make event response better
Brian Paul [Fri, 2 Jul 2004 14:22:42 +0000 (14:22 +0000)]
init some vars to silence warnings
Daniel Borca [Fri, 2 Jul 2004 10:34:48 +0000 (10:34 +0000)]
added GL_EXT_fog_coord.
added GL_EXT_blend_equation_separate.
minor cleanup.
Daniel Borca [Fri, 2 Jul 2004 10:32:52 +0000 (10:32 +0000)]
put back the correct dispatcher for non-threaded builds.
fixed x86 entrypoints for Mingw/DJGPP.
Ian Romanick [Fri, 2 Jul 2004 00:01:09 +0000 (00:01 +0000)]
Fix a potential race condition. Fix a couple of places where
_glapi_DispatchTSD wasn't properly handled.
Ian Romanick [Thu, 1 Jul 2004 23:58:15 +0000 (23:58 +0000)]
Make sure THREADS is set no matter which threading model is selected.
Brian Paul [Thu, 1 Jul 2004 20:13:26 +0000 (20:13 +0000)]
just a test; no change
Brian Paul [Thu, 1 Jul 2004 20:12:44 +0000 (20:12 +0000)]
just a test; no change
Brian Paul [Thu, 1 Jul 2004 17:57:00 +0000 (17:57 +0000)]
just a test; no change
Brian Paul [Thu, 1 Jul 2004 17:56:29 +0000 (17:56 +0000)]
just a test; no change
Brian Paul [Thu, 1 Jul 2004 16:06:32 +0000 (16:06 +0000)]
just a test; no change
Brian Paul [Thu, 1 Jul 2004 15:33:14 +0000 (15:33 +0000)]
added commands for AIX shared libs (Shane Blackett)
Brian Paul [Thu, 1 Jul 2004 15:32:51 +0000 (15:32 +0000)]
added aix-static config, make aix config build dynamic libs
Keith Whitwell [Thu, 1 Jul 2004 13:14:05 +0000 (13:14 +0000)]
Rename the various function types in t_context.h to include a tnl_ prefix.
Keith Whitwell [Thu, 1 Jul 2004 13:00:19 +0000 (13:00 +0000)]
Remove __driRegisterExtensions
Keith Whitwell [Thu, 1 Jul 2004 12:01:59 +0000 (12:01 +0000)]
Rename 'emit_func' usages in drivers. Will also rename the ones in
t_context.h.
Alan Hourihane [Thu, 1 Jul 2004 11:35:53 +0000 (11:35 +0000)]
fix for older gcc's (from freedesktop bug id #419)
Keith Whitwell [Thu, 1 Jul 2004 05:35:12 +0000 (05:35 +0000)]
Add t_context.h include for drivers.
Keith Whitwell [Wed, 30 Jun 2004 11:48:21 +0000 (11:48 +0000)]
Add infrastructure for t_vertex.c codegen. Add an example driver
for this which spits out C code for the generated functions.
Ian Romanick [Tue, 29 Jun 2004 19:08:20 +0000 (19:08 +0000)]
First phase of TLS work. At this point SPARC assembly dispatch is
broken, but it will be fixed "shortly." This is pretty much the same
as the patch I sent to the dri-devel list on 22-Jun-2004.
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