aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i830
Commit message (Collapse)AuthorAgeFilesLines
* Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().Brian Paul2004-11-272-4/+3
| | | | | | | | Now, the driver's Viewport routine should call _mesa_ResizeBuffersMESA() if necessary. Cleaned up code related to GLframebuffer width/height initialization. Set initial viewport/scissor params in _mesa_make_current2(), instead of in the drivers' MakeCurrent functions.
* Add Roland Scheidegger's S3TC patch. This patch does not implement theEric Anholt2004-10-075-3/+59
| | | | | | | | | | | | | | | | | (patented) S3TC/DXTC algorithms, but adds an option to dlopen a library module providing functions to do so. Because it uses dlopen, it is only enabled if USE_EXTERNAL_DXTN_LIB=1 is defined (which is only in linux-dri config, so far). It adds support for S3TC to several DRI drivers, and adds a DRI config option to force enabling S3TC even if the software compression/decompression is unavailable. This may allow people to use apps that require S3TC even though they don't have a license to implement the patented material themselves, if those apps use precompressed textures. Ideally we would get permission from the current holder of the patents to implement the algorithm in Mesa, at which point the dlopen mess could go away. Until then, this allows some to run applications they couldn't otherwise, and hopefully will provide us with more push to get the final step of getting that permission done.
* added support for GL_ARB_draw_buffersBrian Paul2004-10-022-2/+2
|
* Patch removes _SOLO definition needed for mesa-solo. mesa-soloJon Smirl2004-07-041-12/+0
| | | | | uses the NEW_INTERFACE now so _SOLO isn't necessary anymore. Tested with the hardware that I own.
* Rename the various function types in t_context.h to include a tnl_ prefix.Keith Whitwell2004-07-011-4/+4
|
* Fix up texture compression mipmapping .. not sure if it fixes FXT1 butDave Airlie2004-06-172-7/+21
| | | | with S3TC patch it fixes those
* remove unused mode functionDave Airlie2004-06-161-68/+0
|
* switch to using driFillInModes fix depthbuffer = 0Dave Airlie2004-06-161-20/+26
|
* Add FXT1 compression support to i830 driverDave Airlie2004-06-104-0/+117
|
* 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 rectangular textures on i830 - well texrect at leastDave Airlie2004-06-081-1/+1
|
* The required DDX and DRI version numbers were switched. This went unnoticedIan Romanick2004-06-071-2/+2
| | | | | on several drivers (i.e., R200, Radeon, R128, Unichrome) becuase the required DRI and DDX versions were 4.0.0. Mach64 was already fixed.
* Open/Close FullScreen die. unichrome and savage implemented, code is ifdef'd outJon Smirl2004-06-031-2/+0
|
* driCheckDriDdxDrmVersion uses a function that is not available toIan Romanick2004-06-021-19/+10
| | | | | | | | | | | | | | | 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.
* Replace drmHandle, drmContext, drmDrawable, drmMagic and related types withIan Romanick2004-06-023-7/+7
| | | | drm_handle_t, drm_context_t, drm_drawable_t, drm_magic_t.
* Fix dumb mistake from a previous commit. __driCreateScreen is nowIan Romanick2004-06-011-1/+3
| | | | properly block with '#ifndef DRI_NEW_INTERFACE_ONLY'.
* Convert 'Display *' to '__DRInativeDisplay *'. Only portions of theIan Romanick2004-06-011-2/+2
| | | | | | | | interface that are not *strictly* part of the old interface were changed. Replace GetDrawableInfo type (dri_util.h) with PFNGLXGETDRAWABLEINFOPROC (dri_interface.h). Wrap __driCreateScreen (in drivers that use the new interface) with '#ifndef DRI_NEW_INTERFACE_ONLY'.
* Move dri_util.[ch] and glcontextmodes.[ch] from dri_client to common.Ian Romanick2004-05-271-1/+3
|
* stop crash when debuggingDave Airlie2004-05-241-1/+1
|
* cast driHwLock assignmentBrian Paul2004-05-131-1/+2
|
* Added support for GL_EXT_blend_equation_separate andIan Romanick2004-05-123-200/+177
| | | | | GL_NV_blend_square. Fix a bug in the way the GL_MIN and GL_MAX blending modes were handled.
* Fixed a bug that showed up in several multitexturing games (Quake3 andIan Romanick2004-05-123-35/+16
| | | | | | ThinkTanks were tested) that was related to the recent 4 TMU changes. Removed the un-needed TexBlendColorPipeNum field from the hardware context.
* obsolete in favor of regular MakefilesBrian Paul2004-05-121-120/+0
|
* Fix a possible segfault caused by the SGI_make_current_read changes.Ian Romanick2004-05-111-0/+1
|
* Fix solo build, add missing #ifdef NEW_INTERFACEJon Smirl2004-05-091-0/+8
|
* Add support for GLX_SGI_make_current_read.Ian Romanick2004-05-074-11/+36
|
* Warning clean-ups.Ian Romanick2004-05-072-4/+4
|
* Enable use of new DRI interface in i830 driver.Ian Romanick2004-05-071-12/+201
|
* Add support for the 3rd and 4th texture units. The actual number ofIan Romanick2004-05-079-282/+405
| | | | available units is configurable via the texture_units option.
* Refactor "classic" texture environments to be implemented in terms ofIan Romanick2004-05-072-995/+148
| | | | | | ARB_texture_env_combine state. Add support for ARB_texture_env_crossbar. Combiner state is only emitted for operands that need to be emitted for the combine operation.
* Allow *_dri.so to build in Mesa tree with the 'linux-dri' target.Keith Whitwell2004-04-291-0/+2
|
* Remove include of texutil.h to get build working.Ian Romanick2004-04-271-1/+0
|
* bring over build fixes from stable branchAlan Hourihane2004-04-261-1/+5
|
* Fix order of EMIT_4UB_4F declarationsKeith Whitwell2004-04-221-2/+2
|
* Hack to get things compiling - include "drm.h" instead of "xf86drm.h".Keith Whitwell2004-04-141-1/+2
| | | | | Need to fix this, or get maybe rid of xf86drm.h which seems redundant in a standalone build.
* First attempt at building a dri module in this treeKeith Whitwell2004-04-141-82/+1
| | | | | | | -- make target is linux-dri -- will attempt to build i830_dri.so The object builds but hasn't been tested.
* Add DRM_SOURCE_PATH to make system.Jon Smirl2004-04-131-1/+1
| | | | Needed for linux-solo to build
* lots of Makefile updates for new build systemBrian Paul2004-04-081-55/+59
|
* build fixesAlan Hourihane2004-04-081-0/+1
|
* New Makefile systemBrian Paul2004-03-261-0/+115
|
* Implemented support for software-based AUX color buffers.Brian Paul2004-03-213-6/+6
| | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
* Adjustments to make everything use IOCTL/sarea defines in DRM insteadJon Smirl2004-03-114-12/+12
| | | | of glx/mini. removes glx/mini/drm.h glx/mini/sarea.h
* added _tnl_allow_vertex/pixel_fog() callsBrian Paul2004-02-261-1/+3
|
* Refactor "class" texture environments to be implemented in terms ofIan Romanick2004-02-061-10/+10
| | | | ARB_texture_env_combine state.
* fix ugly bug triggered by macro expansionDave Airlie2004-02-051-1/+1
|
* Use NEED_SECONDARY_COLOR() for checking specular state at all timesKeith Whitwell2004-01-281-1/+1
| | | | | when ctx->_TriangleCaps might be inaccurate (ie while ctx->NewState might be non-zero).
* Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.Ian Romanick2004-01-271-4/+7
| | | | | The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
* Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell2004-01-271-9/+9
| | | | array, texObj->Image[face][level].
* remove bogus assertion in DeleteTexture() functionBrian Paul2004-01-261-1/+0
|
* Make the drivers using the common texmem code work with NewTextureObjectFelix Kuehling2004-01-262-7/+3
| | | | | in Mesa. This is analogous to changes idr made to the r200 driver. Patch submitted by Andreas Stenglein.