aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
Commit message (Collapse)AuthorAgeFilesLines
* Mark __driCreateNewScreen PUBLICAdam Jackson2004-12-1512-0/+12
|
* Unichrome DRI:Thomas Hellström2004-12-159-1135/+419
| | | | | | | | | | | | | | | | | 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)
* Unichrome DRI:Thomas Hellström2004-12-151-6/+6
| | | | | | 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.
* Unichrome DRI:Thomas Hellström2004-12-151-9/+1
| | | | | | | | 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)
* Unichrome DRI driver:Thomas Hellström2004-12-151-7/+5
| | | | | Check for texture allocation failure (Bugzilla #1633, Bartlomiej Krol) Reenabled AGP textures (Thomas Hellstr�m)
* Added configuration support to the Savage driver. Three options areFelix Kuehling2004-12-155-5/+63
| | | | supported so far.
* Fixed GL_CLAM_TO_EDGE. It's not supported in hardware. Use GL_CLAMPFelix Kuehling2004-12-151-4/+8
| | | | instead of GL_REPEAT.
* Fixed initialization of some stencil-related S4 registers, which wasFelix Kuehling2004-12-151-9/+10
| | | | | misplaced in savageDDInitState_s3d, where was overwriting completely unrelated S3D registers with garbage.
* Moved some code from savageCreateContext to savageInitDriver, where itFelix Kuehling2004-12-151-69/+43
| | | | | belongs. Removed some obviously useless code. Fixed computation of MaxTextureLevels.
* Fixed some missing uint8_t -> u_int8_t.Felix Kuehling2004-12-152-4/+4
|
* Add _mesa_delete_texture_object() call to viaDeleteTextureKeith Whitwell2004-12-151-0/+3
| | | | [Freedesktop BUG 2080]
* uint*t -> u_int*tAlan Hourihane2004-12-148-98/+98
|
* fix warningAlan Hourihane2004-12-141-1/+1
|
* uint*t -> u_int*t changesAlan Hourihane2004-12-1451-246/+245
|
* fix recursion problem introduced on Nov 27Brian Paul2004-12-123-2/+3
|
* Get linux-solo dependencies building correctly,Keith Whitwell2004-12-092-2/+2
| | | | Make sure symlinks are built in driver directories before running makedepend.
* back out Keiths last checkin - for Solo the include order is importantDave Airlie2004-12-091-3/+7
|
* fixup pci code for Jon's last checkin for changing page sizeDave Airlie2004-12-091-2/+2
|
* (Stephane Marchesin, me) add hyperz support to radeon and r200 drivers. Only ↵Roland Scheidegger2004-12-0816-12/+116
| | | | fast z clear and z buffer compression are supported for now, hierarchical-z is not. Still problems with multiple apps and z/stencil readback, which is why hyperz is disabled per default. Also add the new point sprite packet drm 1.13 accepts to the sanity code.
* Improve the behaviour of the build system wrt depend files.Keith Whitwell2004-12-084-10/+9
| | | | | | | | - Remove the -Y option for makedepend, so that the standard directories are searched - No longer pipe the multiple errors that the -Y option caused into /dev/null -- we want to know about these failures. - Fix up a few other misc makedepend failures.
* Use union type to avoid strict aliasing problems.Alan Hourihane2004-12-081-20/+34
|
* Check for some header defines before redefining functions. Silences warnings.Alan Hourihane2004-12-081-0/+3
|
* From: Stephane Marchesin <[email protected]>Dave Airlie2004-12-082-7/+96
| | | | | | | Attached is a patch that adds pci init code for mesa solo on radeon. It's been tested on an itanium 2 with a radeon 7000 and it works here. The patch adds a new field in the miniglx.conf config file, to choose between pci and agp.
* fix depth/stencil readback if coordinates are larger than 1023 ↵Roland Scheidegger2004-12-081-2/+2
| | | | (https://bugs.freedesktop.org/show_bug.cgi?id=2010). Should now work up to 2047, which is the current limit for 3d rendering.
* only enable GL_MESA_ycbcr_texture for real r200 chips, not the derivatives, ↵Roland Scheidegger2004-12-031-1/+5
| | | | since yuv textures do not work for some reason on the other chips.
* enable GL_EXT_stencil_wrap (patch from idr), including some hacks for ↵Roland Scheidegger2004-12-035-0/+56
| | | | original radeons which have some broken stencil ops.
* silence warningsAlan Hourihane2004-12-023-14/+27
|
* Fix some warningsAlan Hourihane2004-12-021-1/+5
|
* Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().Brian Paul2004-11-2728-73/+45
| | | | | | | | 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.
* Update expected DRM version to 2.0.0Keith Whitwell2004-11-251-1/+1
|
* revert enabling of hw quads for swtcl. It lead to problems with quad_strips, ↵Roland Scheidegger2004-11-231-2/+2
| | | | since they'll get reduced to quads sometimes if hw quads are enabled. But this needs more thought, since it looks like clipped primitives will always be emitted as polys, so the reduced primitives for triangles, quads, quads_strips, polys all need to be the same, otherwise get lockups with for instance the olympic test. Render templates would probably need to be changed for this to work.
* enable hw quad primitive for swtclRoland Scheidegger2004-11-121-2/+2
|
* add LOCK_HARDWARE/UNLOCK_HARDWARE to radeonClear so state gets updated which ↵Roland Scheidegger2004-11-121-0/+7
| | | | hopefully fixes lockups (?) (from r200 driver)
* (from r200 driver) If an application cleared before any state had been ↵Roland Scheidegger2004-11-121-16/+21
| | | | | | | | | | emitted, that clear would happen before any state had been set, causing a hang later on. Fix this by calling radeonFlush instead of FIREVERTICES (which checks if any state has been emitted but not flushed, before calling Flush) in radeonClear. While here, add some more debugging info which was useful, and remove an unnecessary save/restore in BackUpAndEmit.
* brown paper bag, r100 can't do hardware quads.Adam Jackson2004-11-121-1/+1
|
* make render_quads_verts call EMIT_PRIM with the arguments in the right order,Adam Jackson2004-11-122-2/+2
| | | | | and enable hardware quads on r200 and radeon. samples/prim renders quads correctly now.
* GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul2004-11-103-20/+20
| | | | | | | and ignored for 1D and 2D images. Need to pass in image dimensions (1,2,3) to the _mesa_image_address() function. This change gets propogated to some other routines. Also added new _mesa_image_address[123]d() convenience functions.
* add some chip idsRoland Scheidegger2004-11-102-3/+21
|
* enable GL_EXT_fog_coord. Calculate fog factors and submit them instead of ↵Roland Scheidegger2004-11-039-9/+266
| | | | fog coords (it seems the chip cannot do fog factor computation when not using fragment depth as fog coord source). vtxfmt uses fallback for now (most code present but some magic would be needed if replaying vertices is necessary later on).
* Added MMX optimized version of the RGB565 ReadRGBASpan routine.Ian Romanick2004-11-021-7/+19
|
* No visible changes, but commit the groundwork for further experiments:Nicolai Haehnle2004-11-027-24/+360
| | | | | - Install custom (though inactive) pipeline - Track depth test and culling state in hardware registers
* Add culling registers, sync versions of r300_reg.hNicolai Haehnle2004-11-021-9/+16
|
* Nicolai's sw-clipspan-fixes.patchKeith Whitwell2004-11-012-12/+13
|
* Bug #1713: Some rare libGL's have __glXFindDRIScreen defined but do notAdam Jackson2004-10-271-6/+26
| | | | | export it via glXGetProcAddress. These are not supported anymore, so print an error message to that effect.
* As per suggestions my Michel Daenzer, improve the fix for bugzilla #1513.Ian Romanick2004-10-263-2/+66
|
* Bug #1679: Link DRI drivers against DRI_LIB_DEPS, not GL_LIB_DEPS.Adam Jackson2004-10-251-1/+1
|
* Implement ColorMaskNicolai Haehnle2004-10-242-9/+35
|
* Hardware accelerated depth clearNicolai Haehnle2004-10-245-16/+62
|
* Big-endian fixes for R200 sw TCL path.Ian Romanick2004-10-231-0/+21
|
* fix compilation error in `convertPalette' (still have to fix the issue, though)Daniel Borca2004-10-191-2/+4
|