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.
21 anos atrás
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.
21 anos atrás
Keith Whitwell
41b58954e1
New driver for i915 as well as older i830/i845/i865 chipsets.
21 anos atrás
Dave Airlie
d7f76c7c88
try and find the drm in a more likely place
21 anos atrás
Dave Airlie
d4dcc6b5c0
Add FXT1 compression support to i830 driver
21 anos atrás
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
21 anos atrás
Adam Jackson
8a41ead407
silence a warning
21 anos atrás
Dave Airlie
b3a4a07c61
remove unused stuff, fix non-native build
21 anos atrás
Dave Airlie
15be94fc26
fix mach64 non native.. no reason to use it...
21 anos atrás
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.
21 anos atrás
Eric Anholt
695a69029f
* sisChooseRenderState doesn't depend on _NEW_TEXTURE at all.
* Clean up definition of _SIS_NEW_RENDER_STATE.
21 anos atrás
Dave Airlie
e5a916d5b9
make rm for common not complain
21 anos atrás
Dave Airlie
9e9feacb43
remove depend on clean
21 anos atrás
Dave Airlie
37a94995cf
fix bug with emitting spec/fog report by Eric Anholt, this isn't the prettiest
fix but it does work
21 anos atrás
Brian Paul
0590895ea7
fix parse error in sign of exponents (bug 968323)
21 anos atrás
Dave Airlie
7c381a267a
Fix rectangular textures on i830 - well texrect at least
21 anos atrás
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.
21 anos atrás
Daniel Borca
a94185474d
corrected a bug wrt point_size
21 anos atrás
Eric Anholt
06668ed20a
Clean a little whitespace that's been bothering me.
21 anos atrás
Ian Romanick
7c46033130
Fix up some remaining include issues. Replace Xmalloc / Xfree with
_mesa_malloc / _mesa_free. Replace Bool with GLboolean.
21 anos atrás
Ian Romanick
03d7596b84
The required DDX and DRI version numbers were switched. This went unnoticed
on several drivers (i.e., R200, Radeon, R128, Unichrome) becuase the
required DRI and DDX versions were 4.0.0. Mach64 was already fixed.
21 anos atrás
Eric Anholt
635ba1565c
Add NEW_INTERFACE bits.
21 anos atrás
Dave Airlie
1312498709
fix all those warnings
21 anos atrás
Dave Airlie
f9b107d876
use the mesa defines
21 anos atrás
Dave Airlie
6fc70e87ed
oops fix a bug I introduced
21 anos atrás
Dave Airlie
cbf863ee71
fix the versions
21 anos atrás
Daniel Borca
2c161cf395
small corrections
21 anos atrás
Dave Airlie
edea87529e
make endian code work on BSD
21 anos atrás
Dave Airlie
4ffbb81bd3
Remove use of X windows include
21 anos atrás
Ian Romanick
e1a7f31c2b
Remove the rest of the need for glxclient.h and remove it from the tree.
21 anos atrás
Ian Romanick
75046c5e59
Remove drivers that have not been converted to the new interface from
the DRI builds.
21 anos atrás
Ian Romanick
a704e44f0a
Bool may not be available when DRI_NEW_INTERFACE_ONLY is defined.
21 anos atrás
Ian Romanick
45e7b47d56
Enable use of new DRI interface in Unichrome driver.
21 anos atrás
Ian Romanick
e3a07ba609
Start to "modernize" the driver.
21 anos atrás
Ian Romanick
e3789ebe7d
Replace 'Display *' with '__DRInativeDisplay *'.
21 anos atrás
Ian Romanick
98e7d810e1
Enable GL_EXT_blend_subtract and GL_NV_blend_square.
GL_EXT_blend_subtract was already enabled via GL_ARB_imaging, but now
one of the added modes is supported in hardware. GL_NV_blend_square
was tested with progs/tests/blendsquare on an Rage128 Pro with PCI ID
1002:5046. I know there are some differences with some versions of
the chip.
21 anos atrás
Jon Smirl
d672f38709
Redo of removing __driRegisterExtensions(). I accidentally undid the previous check in.
21 anos atrás
Ian Romanick
82a5581089
Enable use of new DRI interface in Rage128 driver.
21 anos atrás
Roland Scheidegger
4d8c0398f1
fix minor signedness issue in assertion
21 anos atrás
Ian Romanick
da1766f12f
Remove fill_in_modes and use driFillInModes instead.
21 anos atrás
Ian Romanick
7439605697
Add a new function, driFillInModes, that is to be used by drivers to
create the set of support __GLcontextModes. This should replace the
current driver-specific fill_in_modes functions.
21 anos atrás
Keith Whitwell
173bc32195
Fix problems when sizeof(Node) != sizeof(float)
21 anos atrás
Daniel Borca
93c91c3863
masked out unsupported glBlendColor (some games check only the proc addr)
21 anos atrás
Jon Smirl
8f980b0e74
Open/Close FullScreen die. unichrome and savage implemented, code is ifdef'd out
21 anos atrás
Jon Smirl
ba3d643c49
kill __driRegisterExtensions(), none of the functions did anything
21 anos atrás
Ian Romanick
5b98ada880
driCheckDriDdxDrmVersion uses a function that is not available to
drivers when DRI_NEW_INTERFACE_ONLY is defined. #ifndef it away in
that situation.
Add a new function, driCheckDriDdxDrmVersion2, that is passed in the
version information that is already supplied to __driCreateNewScreen.
Part of the reason that information is supplied to
__driCreateNewScreen is so that the driver doesn't have to make those
calls to get it!
Modify all drivers that support the new interface to use the new
function instead of the old. As soon as all drivers support the new
interface, driCheckDriDdxDrmVersion can be removed.
21 anos atrás
Jon Smirl
ffb36d57a5
Removed need for sarea.h, various touch ups to get rid of type mismatches.
21 anos atrás
Ian Romanick
1960182ece
Require libGL API version 20040602, which actually exports
__glXGetDrawableInfo. Make sure driCreateNewDrawable sets
pdraw->private to NULL for all failure paths.
21 anos atrás
Ian Romanick
5c113461df
Make sure USE_NEW_INTERFACE is defined if DRI_NEW_INTERFACE_ONLY is
defined.
21 anos atrás
Roland Scheidegger
48ccaf2009
add support for more than 2 texture units (max 6, default 4). use hang workarounds only for r200, not derivatives.
21 anos atrás