Brian Paul
5d63323d34
tweak glAccum error checking
2005-09-27 16:10:36 +00:00
Brian Paul
291911aeb5
generate GL_INVALID_OPERATION in glAccum if read/draw buffers aren't the same
2005-09-27 15:52:19 +00:00
Brian Paul
2e95fdc5d8
glDraw/CopyPixels of stencil data didn't obey the stencil write mask. Fixed.
2005-09-26 23:05:33 +00:00
Ian Romanick
97790948f6
Enable GL_ARB_texture_mirrored_repeat on Savage4. Refactor the code that
...
sets the texture wrap mode and texture filter mode for Savage4 to the new
functions savage4_set_wrap_mode and savage4_set_filter_mode.
This was tested with texwrap and tunnel.
2005-09-26 22:01:32 +00:00
Brian Paul
a882648023
Added XMesaDrawable to xmesa_renderbuffer. Use it in a few places instead
...
of the XMesaPixmap field to avoid some X server-side issues with casting.
2005-09-26 00:36:44 +00:00
Brian Paul
5bad790e56
fast xor line function from trunk
2005-09-23 13:49:06 +00:00
Brian Paul
718bd385ed
fix clipped glReadPixels bug
2005-09-23 02:16:20 +00:00
Brian Paul
25a9c9f370
Bring in gl_renderbuffer wrapping fix from trunk.
2005-09-23 01:27:07 +00:00
Brian Paul
c72b2fb2db
s/GL_DEPTH_BITS/GL_TEXTURE_DEPTH_SIZE_ARB/ in _mesa_GetTexLevelParameteriv()
2005-09-21 21:19:07 +00:00
Brian Paul
5a6ce051ef
remove some old debug code
2005-09-21 02:48:27 +00:00
Brian Paul
5919aec5c3
Fix potential segfault when trying to read pixels outside renderbuffer bounds.
...
Use _swrast_get_values() which does clipping.
2005-09-16 21:15:02 +00:00
Brian Paul
e41ea35fee
print version with debug info
2005-09-13 14:49:37 +00:00
Roland Scheidegger
2376438410
add _tnl_arb_vertex_program_stage to all drivers which already have _tnl_vertex_program_stage. Fixes crashes when using vertex programs. Tested on r200 only (fix by Keith Whitwell)
2005-09-09 23:30:51 +00:00
Brian Paul
1f6892527b
don't generate selection hits for glBitmap, glDraw/CopyPixels. Misc clean-ups
2005-09-09 16:41:02 +00:00
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