Commit graph

3500 commits

Author SHA1 Message Date
Ian Romanick
ea93e6d378 Don't include glapi_*.S files in DRI / solo builds. 2004-06-22 21:32:59 +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
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
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
Brian Paul
ed60bc6fdc don't use // comments (Thomas Hellstrom) 2004-06-16 15:33:33 +00:00
Dave Airlie
972ff46a0b remove unused mode function 2004-06-16 12:38:47 +00:00
Dave Airlie
1a544b0500 switch to using driFillInModes fix depthbuffer = 0 2004-06-16 12:31:23 +00:00
Keith Whitwell
6d43ce5402 Fix batch.ptr when dropping a batchbuffer segment due to zero cliprects. 2004-06-16 12:03:53 +00:00
Ian Romanick
fff749e893 Fix a couple typeos in the tables for driFillInModes. 2004-06-15 16:22:45 +00:00
Roland Scheidegger
997e81fe75 added more compressed formats to is_color_format() 2004-06-15 14:11:09 +00:00
Daniel Borca
09c9bfb22d fix correct parameters passed to StoreImage 2004-06-15 09:06:53 +00:00
Adam Jackson
f449e370db _really_ fix parameters to StoreImage calls. 2004-06-14 23:38:00 +00:00
Brian Paul
3405708e21 added compressed formats to is_color_format() and updated some comments 2004-06-14 21:01:08 +00:00
Daniel Borca
3dc3cc9d40 Fixed a bug in vertex emitter (untile we move to t_vertex.c) 2004-06-14 09:11:13 +00:00
Brian Paul
7aa0e6125d just a comment 2004-06-11 22:47:47 +00:00
Brian Paul
5b05a187dc disable GL_INTENTSITY in _mesa_is_legal_format_and_type(). See table 3.6 of the 1.5 spec 2004-06-11 22:47:22 +00:00
Brian Paul
916e749241 s/_mesa_get_current_context()/GET_CURRENT_CONTEXT()/ 2004-06-11 22:44:55 +00:00
Brian Paul
8b33258d07 remove the 3dfx CatchSignals stuff (the var was alwasy set) 2004-06-11 22:44:22 +00:00
Brian Paul
beef59e73a added GL_BGR and GL_BGRA to is_color_format() (Ronny Vindenes 2004-06-11 19:08:55 +00:00
Brian Paul
3f3d11d067 fix some minor glitches in glGetTexParameter code 2004-06-11 17:18:26 +00:00
Alan Hourihane
7cbc966324 re-enable rect texture 2004-06-11 15:36:42 +00:00
Brian Paul
4102a3045c fix minor typo in comment 2004-06-11 15:23:04 +00:00
Brian Paul
601df9c742 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.
2004-06-10 20:46:23 +00:00
Brian Paul
13ad04719e 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.
2004-06-10 17:26:05 +00:00
Keith Whitwell
41b58954e1 New driver for i915 as well as older i830/i845/i865 chipsets. 2004-06-10 12:48:07 +00:00
Dave Airlie
d4dcc6b5c0 Add FXT1 compression support to i830 driver 2004-06-10 09:54:45 +00:00
Eric Anholt
932e6fb420 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
2004-06-10 09:13:31 +00:00
Adam Jackson
8a41ead407 silence a warning 2004-06-10 08:52:37 +00:00
Dave Airlie
b3a4a07c61 remove unused stuff, fix non-native build 2004-06-09 05:10:29 +00:00
Dave Airlie
15be94fc26 fix mach64 non native.. no reason to use it... 2004-06-09 05:04:46 +00:00
Eric Anholt
59b0db3008 Fix reflect demo: We were using the 3D Clear path unnecessarily, which appears
to be broken in the stencil case for unknown reasons.
2004-06-09 04:59:30 +00:00
Eric Anholt
695a69029f * sisChooseRenderState doesn't depend on _NEW_TEXTURE at all.
* Clean up definition of _SIS_NEW_RENDER_STATE.
2004-06-09 04:58:03 +00:00
Dave Airlie
e5a916d5b9 make rm for common not complain 2004-06-09 02:44:14 +00:00
Dave Airlie
9e9feacb43 remove depend on clean 2004-06-09 02:43:26 +00:00
Dave Airlie
37a94995cf fix bug with emitting spec/fog report by Eric Anholt, this isn't the prettiest
fix but it does work
2004-06-09 02:29:22 +00:00
Brian Paul
0590895ea7 fix parse error in sign of exponents (bug 968323) 2004-06-08 15:20:23 +00:00
Dave Airlie
7c381a267a Fix rectangular textures on i830 - well texrect at least 2004-06-08 10:21:59 +00:00
Eric Anholt
e84f77be21 * 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.
2004-06-08 09:19:17 +00:00