Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move the few definitions from r300_lib.h still in use to r300_emit.h. | Vladimir Dergachev | 2005-01-11 | 4 | -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 Dergachev | 2005-01-11 | 1 | -21/+5 |
| | | | | This fixes potentially buggy memcpy()'s between potentially different structures. | ||||
* | Copy sample pixel and vertex shaders to r300_fixed_pipelines.h | Vladimir Dergachev | 2005-01-11 | 1 | -0/+273 |
| | |||||
* | Fixes to cope with the lack of AGP textures. This is all that's needed | Felix Kuehling | 2005-01-10 | 3 | -14/+21 |
| | | | | to support PCI Savages on the Mesa side. Bumped driver date. | ||||
* | Fallback on PolygonStipple for CLE266 hardware. | Alan Hourihane | 2005-01-10 | 3 | -7/+55 |
| | | | | Only upload stencil configuration when a stencil buffer exists. | ||||
* | Bring vertex buffer code up to date.. | Vladimir Dergachev | 2005-01-10 | 2 | -52/+65 |
| | |||||
* | For some reason we need r300Flush when using textures. Perhaps the problem is | Vladimir Dergachev | 2005-01-10 | 1 | -2/+10 |
| | | | | with BITBLT_MULTI call ? | ||||
* | Clean up the code and make it unnecessary to issue extra calls to Setup*Shaders | Vladimir Dergachev | 2005-01-10 | 3 | -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 Dergachev | 2005-01-09 | 4 | -64/+92 |
| | |||||
* | Implement a more elaborate hashing scheme for texture formats. Still not ↵ | Vladimir Dergachev | 2005-01-09 | 4 | -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 flickering | Felix Kuehling | 2005-01-08 | 1 | -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 Kuehling | 2005-01-08 | 3 | -1/+5 |
| | | | | | Fixed: Use savageEmitChangedRegs instead of savageEmitContiguousRegs for emitting Savage4. | ||||
* | Parallel build fix. Multiword variables on the target side of a : get | Adam Jackson | 2005-01-08 | 1 | -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 Whitwell | 2005-01-07 | 1 | -2/+2 |
| | |||||
* | Fixed: ptex drawing functions were overridden with standard drawing | Felix Kuehling | 2005-01-07 | 1 | -3/+3 |
| | | | | functions if ANY_RASTER_FLAGS|ANY_FALLBACK_FLAGS were set. | ||||
* | Add a noop install target | Keith Whitwell | 2005-01-07 | 1 | -0/+2 |
| | |||||
* | Improve the semantics of the 'install' target to make sure the right | Keith Whitwell | 2005-01-07 | 1 | -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 target | Keith Whitwell | 2005-01-07 | 1 | -0/+6 |
| | |||||
* | Revert some accidental cross-merge changes. Remove i915GetString. Migrate | Ian Romanick | 2005-01-07 | 3 | -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 from | Brian Paul | 2005-01-06 | 1 | -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 Tahkola | 2005-01-06 | 1 | -0/+2 |
| | |||||
* | Add Intel i915GM support, and these extensions. | Alan Hourihane | 2005-01-06 | 15 | -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 names | Daniel Borca | 2005-01-06 | 1 | -3/+3 |
| | |||||
* | semantic in parameter names. changed emitter function. | Daniel Borca | 2005-01-06 | 1 | -12/+12 |
| | |||||
* | Small Unichrome fixes: | Thomas Hellström | 2005-01-06 | 3 | -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 names | Daniel Borca | 2005-01-06 | 1 | -3/+3 |
| | |||||
* | semantic in parameter names | Daniel Borca | 2005-01-06 | 1 | -1/+1 |
| | |||||
* | removed detritus | Daniel Borca | 2005-01-06 | 1 | -12/+0 |
| | |||||
* | added "default" branch in `convertPalette' | Daniel Borca | 2005-01-06 | 1 | -5/+4 |
| | |||||
* | fix dstRGB factor | Daniel Borca | 2005-01-06 | 1 | -3/+3 |
| | |||||
* | Turns out the kfountain.kss (as well as lesson19) had a bug - the size was ↵ | Vladimir Dergachev | 2005-01-06 | 2 | -3/+25 |
| | | | | set wrong. Fixed. | ||||
* | Add texture format to get lesson19 working again. | Vladimir Dergachev | 2005-01-06 | 1 | -5/+6 |
| | |||||
* | Switch to a more complicated scheme of choosing texture formats, as it looks | Vladimir Dergachev | 2005-01-06 | 1 | -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 Skeggs | 2005-01-06 | 1 | -1/+6 |
| | | | | works. | ||||
* | * Fixed handling of scissors | Felix Kuehling | 2005-01-05 | 3 | -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 Hourihane | 2005-01-05 | 1 | -1/+1 |
| | |||||
* | fix build problem | Alan Hourihane | 2005-01-05 | 1 | -1/+1 |
| | |||||
* | make alloc-dma functions inline, rearrange some debug | Keith Whitwell | 2005-01-05 | 4 | -68/+54 |
| | |||||
* | Avoid a segfault in multiarb.c | Keith Whitwell | 2005-01-05 | 1 | -3/+4 |
| | |||||
* | Bring VIA driver up-to-date with regard to drm_*_t changes and remove | Alan Hourihane | 2005-01-05 | 9 | -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_fountain | Vladimir Dergachev | 2005-01-05 | 2 | -22/+52 |
| | | | | Make guessing texture formats easier. | ||||
* | Play a little bit with texture formats. | Vladimir Dergachev | 2005-01-05 | 4 | -18/+41 |
| | | | | Get NeHe demos 06, 07 and 19 working. | ||||
* | Sync with master copy. | Vladimir Dergachev | 2005-01-04 | 1 | -0/+5 |
| | |||||
* | Port code from r200 that implements color blending. Seems to work. | Vladimir Dergachev | 2005-01-04 | 3 | -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 Dergachev | 2005-01-04 | 1 | -165/+51 |
| | |||||
* | Major code restructuring: | Vladimir Dergachev | 2005-01-04 | 8 | -295/+411 |
| | | | | | | * move proven code into the r300_state.c * update ClearBuffer to cope with more dynamic state * cleanup ! | ||||
* | Add GL_EXT_fog_coord | Keith Whitwell | 2005-01-04 | 1 | -0/+1 |
| | |||||
* | Add GL_EXT_secondary_color | Keith Whitwell | 2005-01-04 | 1 | -0/+1 |
| | |||||
* | Turn specular lighting state on/off appropriately. | Keith Whitwell | 2005-01-04 | 1 | -0/+5 |
| | |||||
* | Change to use the t_vertex.c mechanisms for building vertices, | Keith Whitwell | 2005-01-04 | 10 | -678/+381 |
| | | | | | | including Felix's ptex code. Re-enable some assembly for performance. |