summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/unichrome/via_context.c
AgeCommit message (Collapse)Author
2005-01-04Add GL_EXT_fog_coordKeith Whitwell
2005-01-04Add GL_EXT_secondary_colorKeith Whitwell
2005-01-04Change to use the t_vertex.c mechanisms for building vertices,Keith Whitwell
including Felix's ptex code. Re-enable some assembly for performance.
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-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-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-22Remove dead code.Keith Whitwell
Fix 24/8 depth/stencil visuals.
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 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-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
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-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-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-02added support for GL_ARB_draw_buffersBrian Paul
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-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-06-04Start to "modernize" the driver.Ian Romanick
2004-04-29Allow *_dri.so to build in Mesa tree with the 'linux-dri' target.Keith Whitwell
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-30Via Unichrome/cle266 driver (Erdi Chen)Brian Paul