summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/unichrome
AgeCommit message (Collapse)Author
2004-12-30Get scissor test working again. Passes glean scissor test.Keith Whitwell
2004-12-30Calculate DEPTH_SCALE correctly for polygon offset.Keith Whitwell
2004-12-30Simplify viaBlit a bit more.Keith Whitwell
Implement masked clears.
2004-12-30Initialize depth pointer correctly.Keith Whitwell
2004-12-30Don't need to adjust for drawXoff in fallback clipping.Keith Whitwell
2004-12-30fix regression with fallbacks from recent commitsKeith Whitwell
2004-12-30Fix MagFilter state for texunit 0Keith Whitwell
2004-12-29Fix some wrapping bugs in the last commit. Probably there are moreKeith Whitwell
remaining.
2004-12-29Simplfy clear() and swapbuffers() code.Keith Whitwell
Fix various mishandling of cliprects. Allow multiple primitives to be emitted to a single dma buffer, which was largely impossible previously. Re-enable the fast unclipped render stage.
2004-12-29Don't advertise wide lines or points.Keith Whitwell
2004-12-29Make line stipple a fallback.Keith Whitwell
Make sure fallbacks are wrapped by SpanRenderStart/SpanRenderFinish
2004-12-29Don't pingpong cliprects through sarea on CopyBuffer().Keith Whitwell
2004-12-29Fallback on 3d textures correctly.Keith Whitwell
2004-12-29Get twoside-lit triangles working againKeith Whitwell
2004-12-29Large updateKeith Whitwell
- Remove via duplicates of shared template files - Update driver to work with current versions of the above - Rework dma accounting - Rework emitting to dma to use a consistent set of macros The handling of cliprects in the driver is still pretty questionable.
2004-12-23Remove the VIA_PERFORMANCE code. A step towards moving the driverKeith Whitwell
back to using the shared template files.
2004-12-23Chop out more dead code.Keith Whitwell
Get the drawXoff adjustment working a bit better. Seems to pass the glean orthoPos tests.
2004-12-22Fix merge error.Keith Whitwell
2004-12-22Remove dead code.Keith Whitwell
Fix 24/8 depth/stencil visuals.
2004-12-21Remove debug code which referenced an old global variable.Keith Whitwell
2004-12-21Push a number of global variables into the viaContext struct.Keith Whitwell
Remove the bogus 'current_vmesa' pointer.
2004-12-21Note that state is dirty on contended lock. Allows two applicationsKeith Whitwell
to run together correctly, though scheduling between them still isn't great.
2004-12-21Add missing swap-control calculations.Keith Whitwell
Remove debug printf.
2004-12-21Add vsync swapbuffers. This waits on the irq so gears run in this modeKeith Whitwell
will have a very low cpu utilization (and also a very low framerate). Fix up the pageflipping code. This works now but is totally oblivious to the X server (ie. it works but it's broken). Turned off by a #define.
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.