summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/unichrome
AgeCommit message (Collapse)Author
2004-12-20Remove #ifdef DEBUG's in code, but still allow compiler to remove debugKeith Whitwell
code if DEBUG not defined.
2004-12-18Unichrome DRI driver:Thomas Hellström
Fix for proplem where polygons partly outside the drawing window would get one vertex clamped to the opposite window side. This bug could also cause a hardlock. (Bugzilla #2066, Yann Vernier)
2004-12-15Mark __driCreateNewScreen PUBLICAdam Jackson
2004-12-15Unichrome DRI:Thomas Hellström
Updated the driver to the new VIA security mechanisms in DRM. All command submissions now passes through DRM ioctls. If the DRM AGP ring-buffer is not enabled, it will use a DRM mechanism for submitting commands to the hardware via a PCI bus mechanism. Removed all direct write accesses to the hardware. Among other things the VQ was previously turned off for the PCI path, apparently for Tuxracer. That seemed unneeded and was removed. No visible impact on Tuxracer. Abstracted all buffer blit operations in via_ioctl.c. The blitter context is now reprogrammed before each blitting operation. Updated driver date and drm version requirement. (Bugzilla Bug #1950, Thomas Hellström)
2004-12-15Unichrome DRI:Thomas Hellström
Stop the driver from giving empty texture levels with erroneous HW addresses to the hardware. These will get caught and rejected in the DRM command verifier.
2004-12-15Unichrome DRI:Thomas Hellström
Fixed an apparent race condition during locking and drawable info updating, the result of which was the DRI client leaving traces on the screen rendering where the drawable previously had been. If the driver hangs X for a second or so and then restarts, this is probably the place to look. (Thomas Hellström)
2004-12-15Unichrome DRI driver:Thomas Hellström
Check for texture allocation failure (Bugzilla #1633, Bartlomiej Krol) Reenabled AGP textures (Thomas Hellström)
2004-12-15Add _mesa_delete_texture_object() call to viaDeleteTextureKeith Whitwell
[Freedesktop BUG 2080]
2004-12-14uint*t -> u_int*t changesAlan Hourihane
2004-12-12fix recursion problem introduced on Nov 27Brian Paul
2004-11-27Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().Brian Paul
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.
2004-11-25Update expected DRM version to 2.0.0Keith Whitwell
2004-10-14Add support for optimized versions of the code underlying ReadPixelsIan Romanick
(and DrawPixels). The R200, R128, and Unichrome drivers get support in this commit. Other drivers would be easy enough to add for people that have the cards. The DRI (CVS) build will need to be updated to account for the new source files.
2004-10-13Added some documentation that I managed to figure out throughIan Romanick
experimentation.
2004-10-13Make the GL_RENDERER string include the actual chipset informationIan Romanick
instead of always saying "CLE266".
2004-10-08Massively cleaned up the code that calculates front/back/depth bufferIan Romanick
pitch and size. Cut out a bunch of dead code. This fixes bugzilla #1555.
2004-10-04Set MaxTextureImageUnits and MaxTextureCoordUnits to match MaxTextureUnits.Ian Romanick
This fixes bugzilla #1511.
2004-10-04The alpha post-scale and the RGB post-scale were mistakenly reversed.Ian Romanick
2004-10-02fix _DrawDestMask[0][0] typosBrian Paul
2004-10-02added support for GL_ARB_draw_buffersBrian Paul
2004-10-02Cut out all of the old texture environment code and rewrote it fromIan Romanick
scratch. There were just too many cut-and-paste errors in the code, and it was too hard to follow. This fixes Mesa bugzilla #1508. #1509 is probably also fixed, but I'd like to do some more testing before I close that particular bug. Additionally, this cuts almost 4,600 lines of code from the driver.
2004-10-01Replace the numerous switch-statements to derive GL_COMBINE post-scaleIan Romanick
state with a function. This function sets the bits correctly. Did some trivial refactoring on some of the GL_COMBINE code. First pass at replacing classic texture environments with GL_COMBINE. This is controlled by the EXPERIMENTAL_COMBINE_MODE define.
2004-09-30Factored out code for setting texture coordinate wrap bits. Added supportIan Romanick
for GL_ARB_texture_mirrored_repeat. Enabled GL_NV_blend_square. It has always actually been supported. Removed redundant EXT versions of ARB extension strings.
2004-07-10Fix unichrome solo build to not need X11 headers. Minor change toJon Smirl
use mesa_alloc/free.
2004-07-05Convert miniglx to use Ian's fancy new driver config code.Jon Smirl
This removes the miniglx driver function InitContextModes(). All of the server directories were edited to remove the implementations.
2004-07-04Patch removes _SOLO definition needed for mesa-solo. mesa-soloJon Smirl
uses the NEW_INTERFACE now so _SOLO isn't necessary anymore. Tested with the hardware that I own.
2004-07-01Rename the various function types in t_context.h to include a tnl_ prefix.Keith Whitwell
2004-06-26Mesa-solo builds with these changes. There are still more fixups needed toJon Smirl
get individual drivers working again. This converts miniglx to the new dri interface. Thanks to Erdi Chen for the new interface code.
2004-06-25Corrected a float to ubyte conversion bug with fog enabled.Erdi Chen
2004-06-16don't use // comments (Thomas Hellstrom)Brian Paul
2004-06-05Enable use of new DRI interface in Unichrome driver.Ian Romanick
2004-06-04Start to "modernize" the driver.Ian Romanick
2004-06-03Open/Close FullScreen die. unichrome and savage implemented, code is ifdef'd outJon Smirl
2004-06-02Replace drmHandle, drmContext, drmDrawable, drmMagic and related types withIan Romanick
drm_handle_t, drm_context_t, drm_drawable_t, drm_magic_t.
2004-05-27Move dri_util.[ch] and glcontextmodes.[ch] from dri_client to common.Ian Romanick
2004-05-12Fixed code that has computed incorrect number of modes.Erdi Chen
2004-05-12obsolete in favor of regular MakefilesBrian Paul
2004-05-08Don't mix variable definitions and other statements (fixed build on oldEric Anholt
compiler).
2004-04-29Allow *_dri.so to build in Mesa tree with the 'linux-dri' target.Keith Whitwell
2004-04-13Add DRM_SOURCE_PATH to make system.Jon Smirl
Needed for linux-solo to build
2004-04-08lots of Makefile updates for new build systemBrian Paul
2004-03-26New Makefile systemBrian Paul
2004-03-21Implemented support for software-based AUX color buffers.Brian Paul
Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
2004-03-11Adjustments to make everything use IOCTL/sarea defines in DRM insteadJon Smirl
of glx/mini. removes glx/mini/drm.h glx/mini/sarea.h
2004-02-26added _tnl_allow_vertex/pixel_fog() callsBrian Paul
2004-02-23updates from Erdi ChenBrian Paul
2004-01-30Minor fixes for recent Mesa 6.1 changesBrian Paul
2004-01-30Via Unichrome/cle266 driver (Erdi Chen)Brian Paul