mesa.git
19 years agoBugzilla #755: Fix polygon offset by setting DEPTH_SCALE to depth_scale instead
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.

19 years agoPatch removes _SOLO definition needed for mesa-solo. mesa-solo
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.

19 years agodocument some assumptions made about compressed texture tile size
Brian Paul [Fri, 2 Jul 2004 16:39:59 +0000 (16:39 +0000)]
document some assumptions made about compressed texture tile size

19 years agoa few comments
Brian Paul [Fri, 2 Jul 2004 16:36:29 +0000 (16:36 +0000)]
a few comments

19 years agodisable some debug printfs
Brian Paul [Fri, 2 Jul 2004 14:35:50 +0000 (14:35 +0000)]
disable some debug printfs

19 years agoredo the event loop to make event response better
Brian Paul [Fri, 2 Jul 2004 14:35:05 +0000 (14:35 +0000)]
redo the event loop to make event response better

19 years agoinit some vars to silence warnings
Brian Paul [Fri, 2 Jul 2004 14:22:42 +0000 (14:22 +0000)]
init some vars to silence warnings

19 years agoadded GL_EXT_fog_coord.
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.

19 years agoput back the correct dispatcher for non-threaded builds.
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.

19 years agoFix a potential race condition. Fix a couple of places where
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.

19 years agoMake sure THREADS is set no matter which threading model is selected.
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.

19 years agojust a test; no change
Brian Paul [Thu, 1 Jul 2004 20:13:26 +0000 (20:13 +0000)]
just a test; no change

19 years agojust a test; no change
Brian Paul [Thu, 1 Jul 2004 20:12:44 +0000 (20:12 +0000)]
just a test; no change

19 years agojust a test; no change
Brian Paul [Thu, 1 Jul 2004 17:57:00 +0000 (17:57 +0000)]
just a test; no change

19 years agojust a test; no change
Brian Paul [Thu, 1 Jul 2004 17:56:29 +0000 (17:56 +0000)]
just a test; no change

19 years agojust a test; no change
Brian Paul [Thu, 1 Jul 2004 16:06:32 +0000 (16:06 +0000)]
just a test; no change

19 years agoadded commands for AIX shared libs (Shane Blackett)
Brian Paul [Thu, 1 Jul 2004 15:33:14 +0000 (15:33 +0000)]
added commands for AIX shared libs (Shane Blackett)

19 years agoadded aix-static config, make aix config build dynamic libs
Brian Paul [Thu, 1 Jul 2004 15:32:51 +0000 (15:32 +0000)]
added aix-static config, make aix config build dynamic libs

19 years agoRename the various function types in t_context.h to include a tnl_ prefix.
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.

19 years agoRemove __driRegisterExtensions
Keith Whitwell [Thu, 1 Jul 2004 13:00:19 +0000 (13:00 +0000)]
Remove __driRegisterExtensions

19 years agoRename 'emit_func' usages in drivers. Will also rename the ones in
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.

19 years agofix for older gcc's (from freedesktop bug id #419)
Alan Hourihane [Thu, 1 Jul 2004 11:35:53 +0000 (11:35 +0000)]
fix for older gcc's (from freedesktop bug id #419)

19 years agoAdd t_context.h include for drivers.
Keith Whitwell [Thu, 1 Jul 2004 05:35:12 +0000 (05:35 +0000)]
Add t_context.h include for drivers.

19 years agoAdd infrastructure for t_vertex.c codegen. Add an example driver
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.

19 years agoFirst phase of TLS work. At this point SPARC assembly dispatch is
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.

19 years agoThis should make most linux-solo drivers work again. Mainly a fix
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.

20 years agofixed vertex program state references
Brian Paul [Tue, 29 Jun 2004 00:30:06 +0000 (00:30 +0000)]
fixed vertex program state references

20 years agofix another bug in get_register_pointer()
Brian Paul [Tue, 29 Jun 2004 00:21:04 +0000 (00:21 +0000)]
fix another bug in get_register_pointer()

20 years agothe get_register_pointer() function was pretty well broken in a few ways
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

20 years agodisable some debug code
Brian Paul [Tue, 29 Jun 2004 00:00:29 +0000 (00:00 +0000)]
disable some debug code

20 years agoremove trailing whitespace and misc clean-ups
Brian Paul [Tue, 29 Jun 2004 00:00:06 +0000 (00:00 +0000)]
remove trailing whitespace and misc clean-ups

20 years agoadd missing R200_RB3D_BLENDCOLOR to r200/radeon_sanity.c
Roland Scheidegger [Mon, 28 Jun 2004 22:32:38 +0000 (22:32 +0000)]
add missing R200_RB3D_BLENDCOLOR to r200/radeon_sanity.c

20 years agooption to test with display lists
Brian Paul [Mon, 28 Jun 2004 22:03:44 +0000 (22:03 +0000)]
option to test with display lists

20 years agoglBegin/EndQueryARB bug fix
Brian Paul [Mon, 28 Jun 2004 22:02:23 +0000 (22:02 +0000)]
glBegin/EndQueryARB bug fix

20 years agoglBegin/EndQueryARB didn't work inside display lists
Brian Paul [Mon, 28 Jun 2004 22:01:12 +0000 (22:01 +0000)]
glBegin/EndQueryARB didn't work inside display lists

20 years agomake sure Q has a good value before drawing a sample
Brian Paul [Mon, 28 Jun 2004 15:16:28 +0000 (15:16 +0000)]
make sure Q has a good value before drawing a sample

20 years agoMesa-solo builds with these changes. There are still more fixups needed to
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.

20 years agoRe-enable SPARC assembly on sunos5-gcc platform.
Ian Romanick [Sat, 26 Jun 2004 00:02:51 +0000 (00:02 +0000)]
Re-enable SPARC assembly on sunos5-gcc platform.

20 years agoMake sure mklib sees the definition of CC and CXX. Make mklib respect
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.

20 years agoCorrected a float to ubyte conversion bug with fog enabled.
Erdi Chen [Fri, 25 Jun 2004 20:31:40 +0000 (20:31 +0000)]
Corrected a float to ubyte conversion bug with fog enabled.

20 years agoremove program from hash table when deleted (bug 979514)
Brian Paul [Fri, 25 Jun 2004 14:46:48 +0000 (14:46 +0000)]
remove program from hash table when deleted (bug 979514)

20 years agonew test which uses mixed texgen/non-texgen texture coordinates to exhibit potential...
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

20 years agofix GL_HP_occlusion_test bug, use glext.h version 23
Brian Paul [Thu, 24 Jun 2004 16:39:53 +0000 (16:39 +0000)]
fix GL_HP_occlusion_test bug, use glext.h version 23

20 years agofix HP occlusion testing when using generic span path
Brian Paul [Thu, 24 Jun 2004 16:35:18 +0000 (16:35 +0000)]
fix HP occlusion testing when using generic span path

20 years agofix capitalization, new comments, etc
Brian Paul [Thu, 24 Jun 2004 16:32:27 +0000 (16:32 +0000)]
fix capitalization, new comments, etc

20 years agoadded library dependencies (bug #978758)
Brian Paul [Thu, 24 Jun 2004 15:35:42 +0000 (15:35 +0000)]
added library dependencies (bug #978758)

20 years agohack for compressed textures with aspectratio greater than 8:1
Daniel Borca [Thu, 24 Jun 2004 06:48:05 +0000 (06:48 +0000)]
hack for compressed textures with aspectratio greater than 8:1

20 years agodisabled unnecessary assertions in texture replicator
Daniel Borca [Thu, 24 Jun 2004 06:44:38 +0000 (06:44 +0000)]
disabled unnecessary assertions in texture replicator

20 years agoadded back x86 entrypoints
Daniel Borca [Thu, 24 Jun 2004 06:42:21 +0000 (06:42 +0000)]
added back x86 entrypoints

20 years agoFixed occlusion_zless_triangle() to work with 16 or 32-bit Z buffers.
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.

20 years agorevert accidental change from rev. 1.10
Roland Scheidegger [Wed, 23 Jun 2004 17:37:16 +0000 (17:37 +0000)]
revert accidental change from rev. 1.10

20 years agoupdated to version 23
Brian Paul [Wed, 23 Jun 2004 14:48:04 +0000 (14:48 +0000)]
updated to version 23

20 years agoDon't include glapi_*.S files in DRI / solo builds.
Ian Romanick [Tue, 22 Jun 2004 21:32:59 +0000 (21:32 +0000)]
Don't include glapi_*.S files in DRI / solo builds.

20 years agoAlexander Gottwald's patch for cygwin
Brian Paul [Tue, 22 Jun 2004 17:16:02 +0000 (17:16 +0000)]
Alexander Gottwald's patch for cygwin

20 years agocheck for NULL pointer to glTexImage (fix verified by Adam Jackson)
Brian Paul [Tue, 22 Jun 2004 17:06:30 +0000 (17:06 +0000)]
check for NULL pointer to glTexImage (fix verified by Adam Jackson)

20 years agoadded support for non-64bit compilers
Daniel Borca [Mon, 21 Jun 2004 10:41:01 +0000 (10:41 +0000)]
added support for non-64bit compilers

20 years agocall ctx->Driver.NewProgram() instead of CALLOC/etc in _mesa_LoadProgramNV. Fixes...
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.

20 years agoremove redundant program field initializers in BindProgram(); ctx->Driver.NewProgram...
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

20 years agolatest bug fixes, etc.
Brian Paul [Sun, 20 Jun 2004 19:17:39 +0000 (19:17 +0000)]
latest bug fixes, etc.

20 years agostore's to RC/HC didn't work (bug 976287)
Brian Paul [Sun, 20 Jun 2004 19:16:55 +0000 (19:16 +0000)]
store's to RC/HC didn't work (bug 976287)

20 years agoBig-endian texture fixes from Michel Dänzer.
Brian Paul [Sat, 19 Jun 2004 17:44:23 +0000 (17:44 +0000)]
Big-endian texture fixes from Michel Dänzer.

20 years agoRemove ADD_POINTERS code from import() function - it broke UT2004.
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.

20 years agoHack for linear fogging. Added empty routines for WGL_ARB_pixel_format WGL_ARB_render...
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

20 years agoUse correct macros for packing pixel colors -- this bug is probably
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.

20 years agoadd missing license texts
Keith Whitwell [Fri, 18 Jun 2004 10:54:48 +0000 (10:54 +0000)]
add missing license texts

20 years agouse I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture formats...
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

20 years agouse I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture formats...
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

20 years agofix tex env mode GL_BLEND for GL_INTENSITY texture formats
Roland Scheidegger [Thu, 17 Jun 2004 20:54:46 +0000 (20:54 +0000)]
fix tex env mode GL_BLEND for GL_INTENSITY texture formats

20 years agoMake the test check for core GL version 1.3 in addition to testing for
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.

20 years agoFix up texture compression mipmapping .. not sure if it fixes FXT1 but
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

20 years agofix component indexing bug in _mesa_texstore_al88()
Brian Paul [Wed, 16 Jun 2004 16:49:59 +0000 (16:49 +0000)]
fix component indexing bug in _mesa_texstore_al88()

20 years agodon't use // comments (Thomas Hellstrom)
Brian Paul [Wed, 16 Jun 2004 15:33:33 +0000 (15:33 +0000)]
don't use // comments (Thomas Hellstrom)

20 years agoremove unused mode function
Dave Airlie [Wed, 16 Jun 2004 12:38:47 +0000 (12:38 +0000)]
remove unused mode function

20 years agoswitch to using driFillInModes fix depthbuffer = 0
Dave Airlie [Wed, 16 Jun 2004 12:31:23 +0000 (12:31 +0000)]
switch to using driFillInModes fix depthbuffer = 0

20 years agoFix batch.ptr when dropping a batchbuffer segment due to zero cliprects.
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.

20 years agoFix a couple typeos in the tables for driFillInModes.
Ian Romanick [Tue, 15 Jun 2004 16:22:45 +0000 (16:22 +0000)]
Fix a couple typeos in the tables for driFillInModes.

20 years agoadded more compressed formats to is_color_format()
Roland Scheidegger [Tue, 15 Jun 2004 14:11:09 +0000 (14:11 +0000)]
added more compressed formats to is_color_format()

20 years agofix correct parameters passed to StoreImage
Daniel Borca [Tue, 15 Jun 2004 09:06:53 +0000 (09:06 +0000)]
fix correct parameters passed to StoreImage

20 years ago_really_ fix parameters to StoreImage calls.
Adam Jackson [Mon, 14 Jun 2004 23:38:00 +0000 (23:38 +0000)]
_really_ fix parameters to StoreImage calls.

20 years agoadded compressed formats to is_color_format() and updated some comments
Brian Paul [Mon, 14 Jun 2004 21:01:08 +0000 (21:01 +0000)]
added compressed formats to is_color_format() and updated some comments

20 years agoFixed a bug in vertex emitter (untile we move to t_vertex.c)
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)

20 years agoadd i915 as it seems to build okay..
Dave Airlie [Sat, 12 Jun 2004 02:36:42 +0000 (02:36 +0000)]
add i915 as it seems to build okay..

20 years agojust a comment
Brian Paul [Fri, 11 Jun 2004 22:47:47 +0000 (22:47 +0000)]
just a comment

20 years agodisable GL_INTENTSITY in _mesa_is_legal_format_and_type(). See table 3.6 of the...
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

20 years agos/_mesa_get_current_context()/GET_CURRENT_CONTEXT()/
Brian Paul [Fri, 11 Jun 2004 22:44:55 +0000 (22:44 +0000)]
s/_mesa_get_current_context()/GET_CURRENT_CONTEXT()/

20 years agoremove the 3dfx CatchSignals stuff (the var was alwasy set)
Brian Paul [Fri, 11 Jun 2004 22:44:22 +0000 (22:44 +0000)]
remove the 3dfx CatchSignals stuff (the var was alwasy set)

20 years agoadded GL_BGR and GL_BGRA to is_color_format() (Ronny Vindenes
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

20 years agofix some minor glitches in glGetTexParameter code
Brian Paul [Fri, 11 Jun 2004 17:18:26 +0000 (17:18 +0000)]
fix some minor glitches in glGetTexParameter code

20 years agore-enable rect texture
Alan Hourihane [Fri, 11 Jun 2004 15:36:42 +0000 (15:36 +0000)]
re-enable rect texture

20 years agofix minor typo in comment
Brian Paul [Fri, 11 Jun 2004 15:23:04 +0000 (15:23 +0000)]
fix minor typo in comment

20 years agodon't pass GL_INTENSITY for <format> to glTexImage2D - it's illegal
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

20 years agodocument recent changes/fixes
Brian Paul [Thu, 10 Jun 2004 20:48:46 +0000 (20:48 +0000)]
document recent changes/fixes

20 years agoAdditional error checking for glTexImageXD.
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.

20 years agoRoland's patch to fix promotion of alpha or luminance textures to the
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.

20 years agoNew driver for i915 as well as older i830/i845/i865 chipsets.
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.

20 years agotry and find the drm in a more likely place
Dave Airlie [Thu, 10 Jun 2004 10:01:14 +0000 (10:01 +0000)]
try and find the drm in a more likely place

20 years agoAdd FXT1 compression support to i830 driver
Dave Airlie [Thu, 10 Jun 2004 09:54:45 +0000 (09:54 +0000)]
Add FXT1 compression support to i830 driver

20 years agoFix an "overflow in implicit constant conversion" warning in mEndPrimitive when
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

20 years agosilence a warning
Adam Jackson [Thu, 10 Jun 2004 08:52:37 +0000 (08:52 +0000)]
silence a warning

20 years agoremove unused stuff, fix non-native build
Dave Airlie [Wed, 9 Jun 2004 05:10:29 +0000 (05:10 +0000)]
remove unused stuff, fix non-native build