Commit graph

4720 commits

Author SHA1 Message Date
Alan Hourihane
869fc59b63 fix for older gcc's (from freedesktop bug id #419) 2004-07-01 11:35:53 +00:00
Keith Whitwell
160215bdeb Add t_context.h include for drivers. 2004-07-01 05:35:12 +00:00
Keith Whitwell
009aa3ef5e Add infrastructure for t_vertex.c codegen. Add an example driver
for this which spits out C code for the generated functions.
2004-06-30 11:48:21 +00:00
Ian Romanick
8e77da1cd7 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.
2004-06-29 19:08:20 +00:00
Jon Smirl
c61c7cb8e4 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.
2004-06-29 04:50:29 +00:00
Brian Paul
7c1207a2ec fixed vertex program state references 2004-06-29 00:30:06 +00:00
Brian Paul
fc84e82b28 fix another bug in get_register_pointer() 2004-06-29 00:21:04 +00:00
Brian Paul
80cc018a68 the get_register_pointer() function was pretty well broken in a few ways 2004-06-29 00:03:59 +00:00
Brian Paul
ac33dd1312 disable some debug code 2004-06-29 00:00:29 +00:00
Brian Paul
824fdf035e remove trailing whitespace and misc clean-ups 2004-06-29 00:00:06 +00:00
Roland Scheidegger
26755698c8 add missing R200_RB3D_BLENDCOLOR to r200/radeon_sanity.c 2004-06-28 22:32:38 +00:00
Brian Paul
dbe1ecaa1d option to test with display lists 2004-06-28 22:03:44 +00:00
Brian Paul
36bdb07860 glBegin/EndQueryARB bug fix 2004-06-28 22:02:23 +00:00
Brian Paul
d322dc1469 glBegin/EndQueryARB didn't work inside display lists 2004-06-28 22:01:12 +00:00
Brian Paul
625a339a8a make sure Q has a good value before drawing a sample 2004-06-28 15:16:28 +00:00
Jon Smirl
c2bffec91a 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.
2004-06-26 17:16:42 +00:00
Ian Romanick
e16f6e3f23 Re-enable SPARC assembly on sunos5-gcc platform. 2004-06-26 00:02:51 +00:00
Ian Romanick
9eecb03226 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.
2004-06-25 22:51:39 +00:00
Erdi Chen
74b380b2ec Corrected a float to ubyte conversion bug with fog enabled. 2004-06-25 20:31:40 +00:00
Brian Paul
c9a415663a remove program from hash table when deleted (bug 979514) 2004-06-25 14:46:48 +00:00
Roland Scheidegger
a09db0a7fa new test which uses mixed texgen/non-texgen texture coordinates to exhibit potential bugs in hardware drivers 2004-06-25 13:49:46 +00:00
Brian Paul
9a47d2b7cf fix GL_HP_occlusion_test bug, use glext.h version 23 2004-06-24 16:39:53 +00:00
Brian Paul
939dd17653 fix HP occlusion testing when using generic span path 2004-06-24 16:35:18 +00:00
Brian Paul
de67b3ea18 fix capitalization, new comments, etc 2004-06-24 16:32:27 +00:00
Brian Paul
6cf3f579ef added library dependencies (bug #978758) 2004-06-24 15:35:42 +00:00
Daniel Borca
adf6d0d9f7 hack for compressed textures with aspectratio greater than 8:1 2004-06-24 06:48:05 +00:00
Daniel Borca
701987c877 disabled unnecessary assertions in texture replicator 2004-06-24 06:44:38 +00:00
Daniel Borca
b3eda2443a added back x86 entrypoints 2004-06-24 06:42:21 +00:00
Brian Paul
0349b4b2ab Fixed occlusion_zless_triangle() to work with 16 or 32-bit Z buffers.
Removed some unneeded lines, other minor clean-ups.
2004-06-23 22:47:46 +00:00
Roland Scheidegger
d7ea75061c revert accidental change from rev. 1.10 2004-06-23 17:37:16 +00:00
Brian Paul
e4fbcd0fca updated to version 23 2004-06-23 14:48:04 +00:00
Ian Romanick
ea93e6d378 Don't include glapi_*.S files in DRI / solo builds. 2004-06-22 21:32:59 +00:00
Brian Paul
6b869d4fe1 Alexander Gottwald's patch for cygwin 2004-06-22 17:16:02 +00:00
Brian Paul
a64feeffca check for NULL pointer to glTexImage (fix verified by Adam Jackson) 2004-06-22 17:06:30 +00:00
Daniel Borca
3ea9cf0d5c added support for non-64bit compilers 2004-06-21 10:41:01 +00:00
Brian Paul
0590786f8a call ctx->Driver.NewProgram() instead of CALLOC/etc in _mesa_LoadProgramNV. Fixes problems found with Cg demos. 2004-06-20 20:57:22 +00:00
Brian Paul
26359143b6 remove redundant program field initializers in BindProgram(); ctx->Driver.NewProgram() does the inits 2004-06-20 20:55:36 +00:00
Brian Paul
636d4db608 latest bug fixes, etc. 2004-06-20 19:17:39 +00:00
Brian Paul
7576b9b19d store's to RC/HC didn't work (bug 976287) 2004-06-20 19:16:55 +00:00
Brian Paul
f252f64430 Big-endian texture fixes from Michel Dänzer. 2004-06-19 17:44:23 +00:00
Brian Paul
07694b8935 Remove ADD_POINTERS code from import() function - it broke UT2004.
Code clean-ups, reformatting, const-correctness, etc.
2004-06-19 15:38:31 +00:00
Daniel Borca
f0f23aaba8 Hack for linear fogging. Added empty routines for WGL_ARB_pixel_format WGL_ARB_render_texture WGL_ARB_pbuffer 2004-06-19 11:07:58 +00:00
Keith Whitwell
1e93e197f9 Use correct macros for packing pixel colors -- this bug is probably
present in many of the other drivers as well.
2004-06-18 10:58:30 +00:00
Keith Whitwell
594c3f67ac add missing license texts 2004-06-18 10:54:48 +00:00
Roland Scheidegger
8ad28091ae 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 2004-06-17 21:19:21 +00:00
Roland Scheidegger
e3f926ad51 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 2004-06-17 21:08:02 +00:00
Roland Scheidegger
6c1833e372 fix tex env mode GL_BLEND for GL_INTENSITY texture formats 2004-06-17 20:54:46 +00:00
Ian Romanick
fb75ca1b65 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.
2004-06-17 20:53:07 +00:00
Dave Airlie
919498e41c Fix up texture compression mipmapping .. not sure if it fixes FXT1 but
with S3TC patch it fixes those
2004-06-17 13:42:45 +00:00
Brian Paul
85ffbdd8d7 fix component indexing bug in _mesa_texstore_al88() 2004-06-16 16:49:59 +00:00