Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Script to generate rough GLX protocol documentation (as might be seen in | Ian Romanick | 2005-01-07 | 1 | -0/+278 |
| | | | | | | an extension spec). It's not perfect, and it doesn't support certain functions that other scripts here can (e.g., pixel functions). However, it is a good start and has already proven useful to me. | ||||
* | Track the GLX protocol names for GL types. | Ian Romanick | 2005-01-07 | 2 | -15/+17 |
| | |||||
* | Pixel oriented render functions are now generated by the | Ian Romanick | 2005-01-07 | 4 | -45/+533 |
| | | | | | | glX_proto_send.py script. This eliminates ~600 lines of non-generated code. With proper compiler optimization settings, it also decreases the size of libGL.so by about 3KB. | ||||
* | The generic_*_byte functions did not rount the command size to a | Ian Romanick | 2005-01-07 | 1 | -1/+2 |
| | | | | multiple of 4 correctly in some cases. | ||||
* | 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 |
| | |||||
* | solved classic "char*" vs "char[]" conflict. we were mimicking a pointer ↵ | Daniel Borca | 2005-01-06 | 1 | -8/+8 |
| | | | | variable at desired location and then we took its address. using array is more intuitive, as they give us the starting address instantly. | ||||
* | protected against elfish directives | Daniel Borca | 2005-01-06 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | Make the format of the fastpaths cleaner at the expense of a little | Keith Whitwell | 2005-01-05 | 1 | -90/+223 |
| | | | | | | performance. Add fastpaths for some more common vertex formats. | ||||
* | fix build problem | Alan Hourihane | 2005-01-05 | 1 | -1/+1 |
| | |||||
* | Improve some quad paths, gives gears a little boost. | Keith Whitwell | 2005-01-05 | 1 | -16/+39 |
| | |||||
* | Give attributes with zero-stride a count of 1 to make it easier | Keith Whitwell | 2005-01-05 | 5 | -25/+39 |
| | | | | | | to avoid transforming the same attribute multiple times. Don't light a single normal multiple times in light_fast_rgba* | ||||
* | 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. | ||||
* | Add a couple of hardwired fastpaths to t_vertex.c. | Keith Whitwell | 2005-01-05 | 2 | -44/+135 |
| | |||||
* | If there is only one normal, don't transform it multiple times. | Keith Whitwell | 2005-01-05 | 1 | -0/+12 |
| | |||||
* | 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 ! | ||||
* | use HIDDEN macro to export fewer symbols (bug 2210) | Brian Paul | 2005-01-04 | 18 | -15/+120 |
| | |||||
* | directfb changes (Claudio Ciccani) | Brian Paul | 2005-01-04 | 1 | -0/+26 |
| | |||||
* | 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. | ||||
* | Added support for floating point depth buffers on Savage4-based | Felix Kuehling | 2005-01-03 | 6 | -40/+221 |
| | | | | | | | | | | | | 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). | ||||
* | Added a boolean option for a floating-point depth buffer. | Felix Kuehling | 2005-01-03 | 1 | -0/+6 |
| | |||||
* | The opcode and command length fields of RenderLarge commands were | Ian Romanick | 2005-01-03 | 1 | -5/+11 |
| | | | | mistakenly emitted in the wrong order. | ||||
* | Add structs describing vertex and pixel shader state to r300_state. | Vladimir Dergachev | 2005-01-03 | 4 | -72/+581 |
| | | | | | Take apart program_pipeline() and move it into appropriate pieces within the driver. Test the framework on run_flat_render() | ||||
* | DirectFB driver (Claudio Ciccani) | Brian Paul | 2005-01-03 | 2 | -0/+695 |
| |