summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * sisChooseRenderState doesn't depend on _NEW_TEXTURE at all.Eric Anholt2004-06-091-11/+2
| | | | * Clean up definition of _SIS_NEW_RENDER_STATE.
* make rm for common not complainDave Airlie2004-06-091-1/+1
|
* remove depend on cleanDave Airlie2004-06-091-1/+1
|
* fix bug with emitting spec/fog report by Eric Anholt, this isn't the prettiestDave Airlie2004-06-091-2/+20
| | | | fix but it does work
* fix parse error in sign of exponents (bug 968323)Brian Paul2004-06-081-30/+13
|
* Fix rectangular textures on i830 - well texrect at leastDave Airlie2004-06-081-1/+1
|
* * Convert to use t_vertex.c instead of sis_vb.[ch]Eric Anholt2004-06-0814-1037/+588
| | | | | | | | | | | | * 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.
* corrected a bug wrt point_sizeDaniel Borca2004-06-082-11/+57
|
* Clean a little whitespace that's been bothering me.Eric Anholt2004-06-081-33/+33
|
* Fix up some remaining include issues. Replace Xmalloc / Xfree withIan Romanick2004-06-072-47/+59
| | | | _mesa_malloc / _mesa_free. Replace Bool with GLboolean.
* The required DDX and DRI version numbers were switched. This went unnoticedIan Romanick2004-06-074-8/+8
| | | | | on several drivers (i.e., R200, Radeon, R128, Unichrome) becuase the required DRI and DDX versions were 4.0.0. Mach64 was already fixed.
* Add NEW_INTERFACE bits.Eric Anholt2004-06-071-2/+128
|
* fix all those warningsDave Airlie2004-06-072-55/+34
|
* use the mesa definesDave Airlie2004-06-071-10/+1
|
* oops fix a bug I introducedDave Airlie2004-06-071-1/+1
|
* fix the versionsDave Airlie2004-06-071-2/+2
|
* small correctionsDaniel Borca2004-06-072-13/+12
|
* make endian code work on BSDDave Airlie2004-06-071-0/+7
|
* Remove use of X windows includeDave Airlie2004-06-061-2/+2
|
* Remove the rest of the need for glxclient.h and remove it from the tree.Ian Romanick2004-06-065-835/+58
|
* Remove drivers that have not been converted to the new interface fromIan Romanick2004-06-063-6/+10
| | | | the DRI builds.
* Bool may not be available when DRI_NEW_INTERFACE_ONLY is defined.Ian Romanick2004-06-061-1/+1
|
* Enable use of new DRI interface in Unichrome driver.Ian Romanick2004-06-051-2/+125
|
* Start to "modernize" the driver.Ian Romanick2004-06-041-26/+55
|
* Replace 'Display *' with '__DRInativeDisplay *'.Ian Romanick2004-06-042-6/+6
|
* Enable GL_EXT_blend_subtract and GL_NV_blend_square.Ian Romanick2004-06-043-129/+121
| | | | | | | | 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.
* Redo of removing __driRegisterExtensions(). I accidentally undid the ↵Jon Smirl2004-06-034-67/+0
| | | | previous check in.
* Enable use of new DRI interface in Rage128 driver.Ian Romanick2004-06-031-2/+142
|
* fix minor signedness issue in assertionRoland Scheidegger2004-06-031-2/+2
|
* Remove fill_in_modes and use driFillInModes instead.Ian Romanick2004-06-032-164/+59
|
* Add a new function, driFillInModes, that is to be used by drivers toIan Romanick2004-06-032-2/+244
| | | | | create the set of support __GLcontextModes. This should replace the current driver-specific fill_in_modes functions.
* Fix problems when sizeof(Node) != sizeof(float)Keith Whitwell2004-06-031-5/+31
|
* masked out unsupported glBlendColor (some games check only the proc addr)Daniel Borca2004-06-037-9/+16
|
* Open/Close FullScreen die. unichrome and savage implemented, code is ifdef'd outJon Smirl2004-06-0318-180/+77
|
* kill __driRegisterExtensions(), none of the functions did anythingJon Smirl2004-06-036-74/+0
|
* driCheckDriDdxDrmVersion uses a function that is not available toIan Romanick2004-06-029-62/+160
| | | | | | | | | | | | | | | 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.
* Removed need for sarea.h, various touch ups to get rid of type mismatches.Jon Smirl2004-06-0212-399/+18
|
* Require libGL API version 20040602, which actually exportsIan Romanick2004-06-021-2/+4
| | | | | __glXGetDrawableInfo. Make sure driCreateNewDrawable sets pdraw->private to NULL for all failure paths.
* Make sure USE_NEW_INTERFACE is defined if DRI_NEW_INTERFACE_ONLY isIan Romanick2004-06-021-0/+6
| | | | defined.
* add support for more than 2 texture units (max 6, default 4). use hang ↵Roland Scheidegger2004-06-0213-145/+292
| | | | workarounds only for r200, not derivatives.
* change GL_ARB_texture_env_crossbar implementation behaviour to OGL 1.4 core ↵Roland Scheidegger2004-06-021-17/+7
| | | | specification instead of extension specification (undefined behaviour instead of disabled blending if not enabled texture units are referenced). Fix minor signedness bug.
* Replace Bool with GLboolean.Ian Romanick2004-06-021-8/+8
|
* Minor changes to make it work better outside X. "Success" is replacedIan Romanick2004-06-022-39/+44
| | | | | | | by explicit 0. Several functions that are not needed with DRI_NEW_INTERFACE_ONLY are blocked with '#ifndef DRI_NEW_INTERFACE_ONLY'. Some further work is still required to make it build without any X include files, though.
* Replace use of XID with __DRIid.Ian Romanick2004-06-021-3/+1
|
* Re-import from DRI tree.Ian Romanick2004-06-023-77/+76
|
* DRI_NEW_INTERFACE_ONLY is now the only support way to build in theIan Romanick2004-06-023-6/+6
| | | | | Mesa tree. If you need a driver that supports the old libGL/DRI inteface, it must be built in the DRI tree.
* XF86DRIDestroyContext, XF86DRICreateDrawable, andIan Romanick2004-06-023-223/+15
| | | | | | | | XF86DRIDestroyDrawable are all called directly from DRI drivers using the new interface. Therefore, prototypes, using available datatypes, must be available in dri_interface.h. Since the prototypes are available there, xf86dri.h is no longer needed for DRI_NEW_INTERFACE_ONLY builds.
* fix stencil index bug (#964704)Brian Paul2004-06-021-4/+3
|
* Replace drmHandle, drmContext, drmDrawable, drmMagic and related types withIan Romanick2004-06-0243-92/+92
| | | | drm_handle_t, drm_context_t, drm_drawable_t, drm_magic_t.
* Check for NULL texture object when choosing texture sampler. Fixes segfault ↵Brian Paul2004-06-022-93/+107
| | | | when fragment program references an incomplete texture