aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Move the few definitions from r300_lib.h still in use to r300_emit.h.Vladimir Dergachev2005-01-114-59/+89
| | | | | | Rework *vb* function to not use AOS_ARRAY structure, but rather work directly with r300->state.aos. Remove references to r300_lib.h and r300_lib.c Remove r300_lib.[c,h].
* Switch r300_state.c to use r300_fixed_pipelines.h instead of r300_lib.h.Vladimir Dergachev2005-01-111-21/+5
| | | | This fixes potentially buggy memcpy()'s between potentially different structures.
* Copy sample pixel and vertex shaders to r300_fixed_pipelines.hVladimir Dergachev2005-01-111-0/+273
|
* Fixes to cope with the lack of AGP textures. This is all that's neededFelix Kuehling2005-01-103-14/+21
| | | | to support PCI Savages on the Mesa side. Bumped driver date.
* Fallback on PolygonStipple for CLE266 hardware.Alan Hourihane2005-01-103-7/+55
| | | | Only upload stencil configuration when a stencil buffer exists.
* Bring vertex buffer code up to date..Vladimir Dergachev2005-01-102-52/+65
|
* For some reason we need r300Flush when using textures. Perhaps the problem isVladimir Dergachev2005-01-101-2/+10
| | | | with BITBLT_MULTI call ?
* Clean up the code and make it unnecessary to issue extra calls to Setup*ShadersVladimir Dergachev2005-01-103-26/+11
| | | | | in the r300_run_immediate_render function. Bumps up glxgears fps count by about 100 points.
* Port EmitPixelShader from cmdbuf.c to SetupPixelShader in state.c.Vladimir Dergachev2005-01-094-64/+92
|
* Implement a more elaborate hashing scheme for texture formats. Still not ↵Vladimir Dergachev2005-01-094-85/+200
| | | | | | | 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.
* * Flush and wait in per-primitive fallback functions. Fixes flickeringFelix Kuehling2005-01-081-97/+206
| | | | | | | stars in glplanet. * Refactored vertex format choosing code. Improved the Savage4 version to choose a format suitable for DMA (size = 32bytes) whenever possible.
* Added state debugging option (SAVAGE_DEBUG=state).Felix Kuehling2005-01-083-1/+5
| | | | | Fixed: Use savageEmitChangedRegs instead of savageEmitContiguousRegs for emitting Savage4.
* Parallel build fix. Multiword variables on the target side of a : getAdam Jackson2005-01-081-2/+4
| | | | | | 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.
* Remove -C flags for install which aren't universally supported.Keith Whitwell2005-01-071-2/+2
|
* Fixed: ptex drawing functions were overridden with standard drawingFelix Kuehling2005-01-071-3/+3
| | | | functions if ANY_RASTER_FLAGS|ANY_FALLBACK_FLAGS were set.
* Add a noop install targetKeith Whitwell2005-01-071-0/+2
|
* Improve the semantics of the 'install' target to make sure the rightKeith Whitwell2005-01-071-3/+10
| | | | | | 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.
* Add an install targetKeith Whitwell2005-01-071-0/+6
|
* Revert some accidental cross-merge changes. Remove i915GetString. MigrateIan Romanick2005-01-073-82/+14
| | | | | a couple extensions that appeared in both device-specific card_extensions strings to the shared one.
* In choose_visual() we need to know if we're being called fromBrian Paul2005-01-061-12/+38
| | | | | | glXChooseVisual() or glXChooseFBConfig() so that we handle the GLX_DOUBLEBUFFER and GLX_STEREO tokens correctly. Added some new error checking in those functions too.
* Add radeon 9550 pci id.Aapo Tahkola2005-01-061-0/+2
|
* Add Intel i915GM support, and these extensions.Alan Hourihane2005-01-0615-578/+436
| | | | | | | | | | | | | | | * 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)
* semantic in parameter namesDaniel Borca2005-01-061-3/+3
|
* semantic in parameter names. changed emitter function.Daniel Borca2005-01-061-12/+12
|
* Small Unichrome fixes:Thomas Hellström2005-01-063-2/+5
| | | | | | 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
* semantic in parameter namesDaniel Borca2005-01-061-3/+3
|
* semantic in parameter namesDaniel Borca2005-01-061-1/+1
|
* removed detritusDaniel Borca2005-01-061-12/+0
|
* added "default" branch in `convertPalette'Daniel Borca2005-01-061-5/+4
|
* fix dstRGB factorDaniel Borca2005-01-061-3/+3
|
* Turns out the kfountain.kss (as well as lesson19) had a bug - the size was ↵Vladimir Dergachev2005-01-062-3/+25
| | | | set wrong. Fixed.
* Add texture format to get lesson19 working again.Vladimir Dergachev2005-01-061-5/+6
|
* Switch to a more complicated scheme of choosing texture formats, as it looksVladimir Dergachev2005-01-061-8/+71
| | | | | | 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.
* Added GL_POLYGON primitive. Single primitive between glBegin()/glEnd() now ↵Ben Skeggs2005-01-061-1/+6
| | | | works.
* * Fixed handling of scissorsFelix Kuehling2005-01-053-43/+8
| | | | | | | * 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.
* Only try to free the front buffer when it's a pbuffer.Alan Hourihane2005-01-051-1/+1
|
* fix build problemAlan Hourihane2005-01-051-1/+1
|
* make alloc-dma functions inline, rearrange some debugKeith Whitwell2005-01-054-68/+54
|
* Avoid a segfault in multiarb.cKeith Whitwell2005-01-051-3/+4
|
* Bring VIA driver up-to-date with regard to drm_*_t changes and removeAlan Hourihane2005-01-059-336/+333
| | | | | | | 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.
* Reduce the amount of debug output, while still printing important messages.blended_fountainVladimir Dergachev2005-01-052-22/+52
| | | | Make guessing texture formats easier.
* Play a little bit with texture formats.Vladimir Dergachev2005-01-054-18/+41
| | | | Get NeHe demos 06, 07 and 19 working.
* Sync with master copy.Vladimir Dergachev2005-01-041-0/+5
|
* Port code from r200 that implements color blending. Seems to work.Vladimir Dergachev2005-01-043-3/+288
| | | | | | 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.
* Unify rendering of textured and non-textured primitives.Vladimir Dergachev2005-01-041-165/+51
|
* Major code restructuring:Vladimir Dergachev2005-01-048-295/+411
| | | | | | * move proven code into the r300_state.c * update ClearBuffer to cope with more dynamic state * cleanup !
* Add GL_EXT_fog_coordKeith Whitwell2005-01-041-0/+1
|
* Add GL_EXT_secondary_colorKeith Whitwell2005-01-041-0/+1
|
* Turn specular lighting state on/off appropriately.Keith Whitwell2005-01-041-0/+5
|
* Change to use the t_vertex.c mechanisms for building vertices,Keith Whitwell2005-01-0410-678/+381
| | | | | | including Felix's ptex code. Re-enable some assembly for performance.