Roland Scheidegger
e5f6f26c87
fix wrong fallback bit being set when ARB_vertex_program is enabled. Add missing fallback string for ARB_vertex_program. Disable ARB_vertex_program by default (just plain doesn't work). In fact, maybe it should be thrown out altogether in this branch?
2005-09-09 12:50:20 +00:00
Brian Paul
e14b3baca0
check for either GL_ARB_depth_texture or GL_SGIX_depth_texture in a few places
2005-09-08 15:28:58 +00:00
Brian Paul
5eb129de76
fix precision problem in depth clearing (bug 4395)
2005-09-08 13:55:34 +00:00
Brian Paul
3f27b6ffeb
fudge set_component_sizes() a bit, see comments
2005-09-03 17:33:55 +00:00
Dave Airlie
7b56e1a443
port over fix from unstable branch to fix miniglx
2005-08-31 01:25:24 +00:00
Alan Hourihane
cfaac5dc4f
drmUnmap correct size
2005-08-30 20:38:03 +00:00
Alan Hourihane
1e5c3e977f
move via_dri.h to server as when X is building it's pulled from the DDX.
2005-08-30 19:44:35 +00:00
Alan Hourihane
831b4143f7
define Bool for solo builds
2005-08-30 19:22:04 +00:00
Alan Hourihane
b26b565f91
Fixes from https://bugs.freedesktop.org/attachment.cgi?id=3077
2005-08-30 19:15:04 +00:00
Alan Hourihane
db70c3f9b6
remove drmAddress
2005-08-29 15:26:57 +00:00
Brian Paul
453eb90128
fix a few proxy color table bugs (bug 4270)
2005-08-28 17:12:15 +00:00
Adam Jackson
cb505bf744
/dri/msg
2005-08-26 17:52:25 +00:00
Alan Hourihane
133112c71a
fix the scripts for cygwin & mingw changes
2005-08-26 09:38:23 +00:00
Brian Paul
89ea47182d
don't compile debug code (bug 4242: rand undefined)
2005-08-25 19:43:54 +00:00
Alan Hourihane
2efe639f26
fix build problems on cygwin & mingw
2005-08-25 18:17:59 +00:00
Brian Paul
b19ec5009f
fix segfault in Fake_glXCreatePBuffer(), bug 4235
2005-08-25 14:07:40 +00:00
Brian Paul
5a1fb7db0e
also check for texture border in sample_linear_2d()
2005-08-25 03:03:32 +00:00
Dave Airlie
f16fbf03bd
fix miniglx for new event size check in the drivers
2005-08-24 05:03:03 +00:00
Brian Paul
ec0c42a3be
GLw demo doesn't belong here
2005-08-23 14:49:30 +00:00
Brian Paul
cee416863f
set version to 6.4
2005-08-22 14:29:17 +00:00
Brian Paul
dfb6c56ed8
added GL_X_RENDERABLE to glXChooseFBConfig (bug 4181)
2005-08-22 14:28:19 +00:00
Brian Paul
dcf14aa3a7
bump version to 6.5
2005-08-22 14:27:33 +00:00
Adam Jackson
8fcd1e0287
Convert libGL and DRI drivers to require libdrm.
...
libdrm can be had from:
http://people.freedesktop.org/~ajax/libdrm/
2005-08-19 20:20:03 +00:00
Ian Romanick
2ae5645115
Fix a realloc problem with indirect vertex arrays. The actual head pointer
...
wasn't tracked and used for the realloc, so it tended to explode.
2005-08-19 18:53:26 +00:00
Alan Hourihane
d912f6cfe3
Commit missing piece from Egbert's 32/64 bit patches
2005-08-19 16:07:33 +00:00
Ian Romanick
f7eb54a12f
Enable ARB_texture_compression. The code has been in place for a long time,
...
but, for whatever reason, the extension wasn't enabled.
Add some comments to i810ChooseTextureFormat. There's some strangeness with
i810 texture formats.
2005-08-19 00:48:25 +00:00
Ian Romanick
e0029b33ef
Add support for NV_blend_square. This was tested with
...
progs/tests/blendsquare.
2005-08-18 22:27:37 +00:00
Ian Romanick
ab5be2c5f7
Make sure extension entry point offsets are properly initialized. This is
...
primarilly needed to support functions that are internally implemented using
extension entry points (e.g., glBlendFunc uses glBlendFuncSeparate).
2005-08-18 22:16:46 +00:00
Ian Romanick
61ac29e7c6
Don't try to update hardware texture fields if there is no hardware texture.
...
This can happen when all the texture enables for a texture unit are disabled.
This fixes bugzilla #3195 .
2005-08-18 20:01:01 +00:00
Ian Romanick
e918bac8cd
Make the i810 driver use driGetRendererString like all the other drivers.
...
The GL_RENDERER string now accurately contains the chip name. This was only
tested on a "plain" i810 (PCI ID 8086:7121).
2005-08-18 19:51:11 +00:00
Brian Paul
aa2a357bae
Replace mult/div operators with bitwise operators in texel fetch routines
...
for better performance. (Roland Scheidegger)
2005-08-18 14:33:26 +00:00
Brian Paul
05fe2871e3
Bump version to 6.3.2
2005-08-16 23:13:25 +00:00
Roland Scheidegger
7a362deb8c
In _mesa_TexEnvfv, do not accept values for GL_OPERAND2_ALPHA and GL_OPERAND2_RGB which are only valid with ARB_texture_env_combine but not with EXT_texture_env_combine, when only EXT_texture_env_combine is supported.
2005-08-15 18:24:12 +00:00
Alan Hourihane
dabec11d27
Add Egberts fixes for 64bit architectures
...
Add additional checks for the *DRIRec info structure passed in from the
device driver. This ensures that things fallback to indirect rendering if
the DDX driver has had modifications (i.e. removal of the drmAddress field).
2005-08-15 06:59:24 +00:00
Alan Hourihane
69dc32cfac
Add a check which compares the passed in size of the DDX driver private DRI
...
structure to the 3D drivers view of it, and abort if they don't match.
This traps the case with the drmAddress removal in the DDX driver.
2005-08-14 12:16:51 +00:00
Ian Romanick
33f9c98aa6
Enable support for EXT_stencil_wrap. The code was already there, but the
...
extension wasn't enabled. I have verified its correct function with Mesa's
stencil_wrap test. It is enabled on both Savage4 and Savage3D. Since
Savage3D uses a software fallback for *all* stencil operations, this is safe.
2005-08-13 01:43:28 +00:00
Brian Paul
6fe7a0dc01
added FREXPF() macro (bug 4060)
2005-08-12 18:56:56 +00:00
Ian Romanick
f2876d1ee3
Remove the logic that determines at compile time whether or not HAVE_ALIAS
...
should be defined. It was flawed on some platforms (e.g., Darwin & mingw).
Instead, rely on the build system to define it on the compiler command line.
This also reverts ajax's hand-edit to indirect_size.c. I'll fix that on the
X.org side of things later today.
2005-08-11 20:29:45 +00:00
Ian Romanick
fbcc5aedf2
Remove support for the R200_NO_VTXFMT environment variable. Instead use
...
'tcl_mode=1'. This fixes bugzilla #3972 .
2005-08-11 19:47:06 +00:00
Ian Romanick
4c4e4bfa4e
Makefile cleanups suggested by George Fufutos (bugzilla #3899 ).
2005-08-11 19:37:55 +00:00
Brian Paul
82dfd4b71f
fix X #includes so they're relative to X11/ directory (bug 4047)
2005-08-11 14:18:53 +00:00
Ian Romanick
ac887d4211
Make ffb driver build on x86-64. The fix is two fold. First, use the
...
proper DRM_CAS_RESULT to declare the variable used to store the result
of DRM_CAS. Second, only use the "real" versions of LOCK_HARDWARE and
UNLOCK_HARDWARE on SPARC. That's the only platform where the hardware
can really exist.
2005-08-11 04:25:36 +00:00
Ian Romanick
967b006f51
Remove _glapi_check_multithread from the interface exported by the loader to
...
the driver. The loader now takes care of this for the driver.
Remove _glapi_DispatchTSD and give _glapi_Dispatch its semantic (i.e.,
having a NULL value means that the application is multithreaded and
_glapi_get_dispatch must be called).
Gut all of the dispatch override code. This removes _glapi_RealDispatch,
_glapi_tls_RealDispatch, _glapi_begin_dispatch_override,
_glapi_end_dispatch_override, and _glapi_get_override_dispatch.
Remove _glapi_get_proc_address, _glapi_get_proc_name, _glapi_get_version,
and _glapi_check_table from the loader / driver interface.
Reviewed by: Brian Paul
2005-08-10 23:54:15 +00:00
Ian Romanick
1b8d0f149e
Mesa uses the glVertexAttrib*NV functions to implement fixed-function
...
attributes in display lists. If a driver doesn't add entry points for
GL_NV_vertex_program, it will explode. This patch adds GL_NV_vertex_program
to the list of default extensions whose entry points are added by
driInitExtensions.
Thanks go to Roland Scheidegger for tracking the problem down and suggesting
the fix.
2005-08-10 23:39:42 +00:00
Brian Paul
8c9cd63c89
the PIXEL_MAP_I_TO_I table should be GLfloat, not GLint
2005-08-10 17:04:03 +00:00
Brian Paul
63c9ebeaff
fix static assertion problem for gcc (bug 4022)
2005-08-10 14:42:21 +00:00
Brian Paul
6b563bda43
disable the pointer size assertions (bug 4021)
2005-08-10 14:40:05 +00:00
Brian Paul
5d40169436
fix indentation
2005-08-10 14:38:39 +00:00
Keith Whitwell
738c9a073f
Check for prim/vertex store non-null before messing with refcounts.
2005-08-10 14:13:45 +00:00
Ian Romanick
258f005c6b
Add rules and target to build src/mesa/x86-64/glapi_x86-64.S.
2005-08-09 18:54:12 +00:00