summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2005-01-10Fixes to cope with the lack of AGP textures. This is all that's neededFelix Kuehling
to support PCI Savages on the Mesa side. Bumped driver date.
2005-01-10Fallback on PolygonStipple for CLE266 hardware.Alan Hourihane
Only upload stencil configuration when a stencil buffer exists.
2005-01-10Bring vertex buffer code up to date..Vladimir Dergachev
2005-01-10For some reason we need r300Flush when using textures. Perhaps the problem isVladimir Dergachev
with BITBLT_MULTI call ?
2005-01-10Clean up the code and make it unnecessary to issue extra calls to Setup*ShadersVladimir Dergachev
in the r300_run_immediate_render function. Bumps up glxgears fps count by about 100 points.
2005-01-09Port EmitPixelShader from cmdbuf.c to SetupPixelShader in state.c.Vladimir Dergachev
2005-01-09Implement a more elaborate hashing scheme for texture formats. Still not ↵Vladimir Dergachev
perfect. Transform EmitVertexShader in cmdbuf.c to SetupVertexShader in state.c. The latter is only temporary and is to be rewritten to auto-generate shaders based on current GL context.
2005-01-08* Flush and wait in per-primitive fallback functions. Fixes flickeringFelix Kuehling
stars in glplanet. * Refactored vertex format choosing code. Improved the Savage4 version to choose a format suitable for DMA (size = 32bytes) whenever possible.
2005-01-08Added state debugging option (SAVAGE_DEBUG=state).Felix Kuehling
Fixed: Use savageEmitChangedRegs instead of savageEmitContiguousRegs for emitting Savage4.
2005-01-08Parallel build fix. Multiword variables on the target side of a : getAdam Jackson
expanded into individual rules for each word, so parallel builds will start multiple instances to create the server/ symlinks and fail when they already exist.
2005-01-07Remove -C flags for install which aren't universally supported.Keith Whitwell
2005-01-07Fixed: ptex drawing functions were overridden with standard drawingFelix Kuehling
functions if ANY_RASTER_FLAGS|ANY_FALLBACK_FLAGS were set.
2005-01-07Add a noop install targetKeith Whitwell
2005-01-07Improve the semantics of the 'install' target to make sure the rightKeith Whitwell
file is really being installed. Useful if you have multiple versions of a single driver directory hanging around and want to switch between them for testing.
2005-01-07Add an install targetKeith Whitwell
2005-01-07Revert some accidental cross-merge changes. Remove i915GetString. MigrateIan Romanick
a couple extensions that appeared in both device-specific card_extensions strings to the shared one.
2005-01-06In choose_visual() we need to know if we're being called fromBrian Paul
glXChooseVisual() or glXChooseFBConfig() so that we handle the GLX_DOUBLEBUFFER and GLX_STEREO tokens correctly. Added some new error checking in those functions too.
2005-01-06Add radeon 9550 pci id.Aapo Tahkola
2005-01-06Add Intel i915GM support, and these extensions.Alan Hourihane
* GL_ARB_texture_cube_map * GL_EXT_blend_equation_separate * GL_ATI_blend_equation_separate * GL_ARB_point_parameters * GL_NV_blend_square * GL_EXT_cull_vertex * GL_ARB_depth_texture * GL_SGIX_depth_texture * GL_ARB_shadow * GL_EXT_shadow_funcs * GL_3DFX_texture_compression_FXT1 (Keith Whitwell, Tungsten Graphics)
2005-01-06semantic in parameter namesDaniel Borca
2005-01-06semantic in parameter names. changed emitter function.Daniel Borca
2005-01-06Small Unichrome fixes:Thomas Hellström
1. Unlock hardware before aborting and dumping DMA buffers. Otherwise display system may deadlock. 2. Fix DMA init IOCTL call that got mixed up in one of the previous commits. 3. Fix AGP command alignment
2005-01-06semantic in parameter namesDaniel Borca
2005-01-06semantic in parameter namesDaniel Borca
2005-01-06removed detritusDaniel Borca
2005-01-06added "default" branch in `convertPalette'Daniel Borca
2005-01-06fix dstRGB factorDaniel Borca
2005-01-06Turns out the kfountain.kss (as well as lesson19) had a bug - the size was ↵Vladimir Dergachev
set wrong. Fixed.
2005-01-06Add texture format to get lesson19 working again.Vladimir Dergachev
2005-01-06Switch to a more complicated scheme of choosing texture formats, as it looksVladimir Dergachev
like the old one was prone to collisions (different value of format field was required for same values of t->format going in). Now use a hash for these purposes - this got kfiresaver.kss and lesson06 workingfrom the same code.
2005-01-06Added GL_POLYGON primitive. Single primitive between glBegin()/glEnd() now ↵Ben Skeggs
works.
2005-01-05* Fixed handling of scissorsFelix Kuehling
* Only set scissor regs directly if drmMinor < 1 * Don't set texaddr to 0 when a texture unit is disabled. That would trigger the tightened texture state check in the DRM if the texaddr and texdesc registers were not emitted atomically.
2005-01-05Only try to free the front buffer when it's a pbuffer.Alan Hourihane
2005-01-05fix build problemAlan Hourihane
2005-01-05make alloc-dma functions inline, rearrange some debugKeith Whitwell
2005-01-05Avoid a segfault in multiarb.cKeith Whitwell
2005-01-05Bring VIA driver up-to-date with regard to drm_*_t changes and removeAlan Hourihane
the xf86drmVIA.[ch] files. Bring in the IRQ handler and Ring buffer code, but ring buffer is disabled as it is with the Xserver. It certainly locks up the CLE266.
2005-01-05Reduce the amount of debug output, while still printing important messages.Vladimir Dergachev
Make guessing texture formats easier.
2005-01-05Play a little bit with texture formats.Vladimir Dergachev
Get NeHe demos 06, 07 and 19 working.
2005-01-04Sync with master copy.Vladimir Dergachev
2005-01-04Port code from r200 that implements color blending. Seems to work.Vladimir Dergachev
This can be tested with lesson19 from NeHe. This has also shown that the alpha code does not work - we pick up a red tint for transparent pixels somewhere.
2005-01-04Unify rendering of textured and non-textured primitives.Vladimir Dergachev
2005-01-04Major code restructuring:Vladimir Dergachev
* move proven code into the r300_state.c * update ClearBuffer to cope with more dynamic state * cleanup !
2005-01-04Add GL_EXT_fog_coordKeith Whitwell
2005-01-04Add GL_EXT_secondary_colorKeith Whitwell
2005-01-04Turn specular lighting state on/off appropriately.Keith 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.
2005-01-03Added support for floating point depth buffers on Savage4-basedFelix Kuehling
hardware. By also reversing the depth range this can compensate the loss of accuracy of far objects caused by the projective transformation. Software fallbacks work but are slightly slower since floats in a custom (non IEEE) format have to be encoded and decoded. I havn't done anything about polygon offsets yet. There doesn't seem to be an easy way do get it right except making the offset unit as big as the lowest resolution of depth values. For now float depth is disabled by default but can be enabled through driconf (though I have seen only positive effects so far).
2005-01-03Added a boolean option for a floating-point depth buffer.Felix Kuehling
2005-01-03Add structs describing vertex and pixel shader state to r300_state.Vladimir Dergachev
Take apart program_pipeline() and move it into appropriate pieces within the driver. Test the framework on run_flat_render()