Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | implement arb_vertex_program in hw for r200. Code contains still some hacks, ↵ | Roland Scheidegger | 2006-06-02 | 10 | -22/+1617 |
| | | | | generic attribs cause a fallback, but otherwise it seems to work quite well. Passes all glean vertProg1 tests with the exception of the degnerated LIT case (which is a hw limitation), as well as runs the r200 render path of doom3/quake4 (1.1 patch needed for quake4). The code is heavily borrowed from the r300 driver as vertex programs encoding is almost identical. arb_vertex_program is not yet announced by default and still needs to be enabled via driconf. | ||||
* | remove code dealing with drmMinor version < 6 since all radeon drivers ↵ | Roland Scheidegger | 2006-06-02 | 8 | -78/+33 |
| | | | | request at least drmMinor 6 anyway. | ||||
* | retry on EBUSY instead of EAGAIN in radeonWaitIrq (it appears this was the ↵ | Roland Scheidegger | 2006-06-01 | 3 | -3/+3 |
| | | | | intention as drm seems to never return EAGAIN) in all radeon drivers. | ||||
* | SWZ is nearly identical to MOV. the difference is that SWZ supports ↵ | Tilman Sauerbeck | 2006-05-31 | 1 | -10/+1 |
| | | | | per-component negation, which MOV doesn't. as that's handled transparently, we can use the same code for them. | ||||
* | pass src->NegateBase as-is in t_src() now, as the flags are equivalent to ↵ | Tilman Sauerbeck | 2006-05-31 | 1 | -2/+4 |
| | | | | r300's VSF_FLAGs now | ||||
* | Fixed bug with multiple contexts. | Claudio Ciccani | 2006-05-31 | 1 | -76/+228 |
| | | | | | Added support for ARGB4444 and ARGB2554. Added hardware accelerated Clear(). | ||||
* | minor code cleanup, no actual changes | Tilman Sauerbeck | 2006-05-30 | 1 | -10/+2 |
| | |||||
* | fix some whitespace in previous commit | Roland Scheidegger | 2006-05-27 | 1 | -2/+2 |
| | |||||
* | preparation for r200 hw vertex programs. Increase R200_CMD_BUF_SZ to 16k ↵ | Roland Scheidegger | 2006-05-27 | 8 | -4/+91 |
| | | | | instead of 8k (the reasons why it was exactly 8k are unclear). Add register defines, sanity code, fix potential issue with wrong statechange order when disabling fragment programs. | ||||
* | Add const qualifiers in a number of places. | Brian Paul | 2006-05-23 | 1 | -1/+1 |
| | |||||
* | init mask=0 to silence warning | Brian Paul | 2006-05-23 | 1 | -1/+1 |
| | |||||
* | make mgaSetFence() and mgaWaitFence() static | Brian Paul | 2006-05-23 | 1 | -2/+2 |
| | |||||
* | prototype i915_udpate_fog() to silence warning | Brian Paul | 2006-05-23 | 1 | -0/+1 |
| | |||||
* | In gl_texture_image, replace ImageStride with an ImageOffsets array. | Brian Paul | 2006-05-20 | 3 | -115/+76 |
| | | | | | | | | | Some hardware lays out 3D mipmaps in a manner that can't be expressed with a simple image stride. The ImageOffsets array is allocated and initialized to typical defaults in the _mesa_init_teximage_fields() function. If needed, a driver will then have to replace these offsets. TexStore and TexelFetch routines updated to use offsets array. | ||||
* | use new _mesa_remove_renderbuffer() | Brian Paul | 2006-05-20 | 1 | -8/+3 |
| | |||||
* | added some CHAN_BITS tests | Brian Paul | 2006-05-19 | 1 | -0/+9 |
| | |||||
* | Allow rendering 8, 16 and 32-bit/channel images without recompiling. | Brian Paul | 2006-05-19 | 1 | -234/+591 |
| | | | | Uses new renderbuffer adaptors. | ||||
* | Dont allow 16 tex units to be used at all. | Aapo Tahkola | 2006-05-18 | 1 | -1/+1 |
| | |||||
* | add texture rectangle support for i815, I wrote the original patch about | Dave Airlie | 2006-05-17 | 3 | -56/+112 |
| | | | | 2 years ago, I finally dug out an i815 and got it working | ||||
* | remove some unused macros | Brian Paul | 2006-05-14 | 1 | -43/+6 |
| | |||||
* | fix typo, remove dead code | Brian Paul | 2006-05-14 | 1 | -2/+1 |
| | |||||
* | the r300 should only use 8 until Mesa can deal with this | Dave Airlie | 2006-05-12 | 1 | -1/+1 |
| | |||||
* | this should use the configured number not the MAX, this has no effect until | Dave Airlie | 2006-05-12 | 1 | -1/+1 |
| | | | | the core mesa swrast number is fixed, just spotted this on the way past | ||||
* | Fix a number of texture compression issues. | Brian Paul | 2006-05-08 | 2 | -18/+30 |
| | | | | | | | | Pass the MESA_FORMAT_* token to the _mesa_compressed_row_stride(), _mesa_compressed_texture_size() and _mesa_compressed_image_address() functions since we want to use the driver-chosen format, not the user's internalFormat hint. Consolidate code related to choosing the texture format in texstoree.c | ||||
* | fix warning | Brian Paul | 2006-05-08 | 1 | -2/+1 |
| | |||||
* | updates to dri drivers for recent stencil changes | Keith Whitwell | 2006-05-08 | 12 | -50/+52 |
| | |||||
* | added CHAN_BITS != 8 test | Brian Paul | 2006-05-07 | 1 | -0/+3 |
| | |||||
* | remove temporary code from keithw, this in theory isn't used at the moment | Dave Airlie | 2006-05-05 | 1 | -5/+0 |
| | | | | anyways unless INTEL_BATCH is turned on | ||||
* | Fix i915 driver after stencil changes in Mesa 6.5 | Dave Airlie | 2006-05-05 | 1 | -1/+1 |
| | |||||
* | remove some unneeded includes | Dave Airlie | 2006-05-02 | 1 | -3/+1 |
| | |||||
* | move the pkg config flags for libdrm to the bottom | Dave Airlie | 2006-05-02 | 1 | -2/+2 |
| | |||||
* | assorted clean-ups, fixes | Brian Paul | 2006-04-27 | 5 | -32/+57 |
| | |||||
* | replace a bunch of casts with GET_XRB macro | Brian Paul | 2006-04-27 | 1 | -134/+136 |
| | |||||
* | fix warnings. | Aapo Tahkola | 2006-04-26 | 1 | -3/+3 |
| | |||||
* | R300_SPAN_DISABLE_LOCKING env var | Aapo Tahkola | 2006-04-26 | 2 | -2/+27 |
| | |||||
* | minor clean-up | Brian Paul | 2006-04-26 | 1 | -3/+3 |
| | |||||
* | remove old XFree86 tag | Brian Paul | 2006-04-26 | 1 | -1/+0 |
| | |||||
* | use _TNL_FIRST/LAST_MAT indexes | Brian Paul | 2006-04-25 | 1 | -6/+6 |
| | |||||
* | silence warnings | Brian Paul | 2006-04-25 | 1 | -0/+2 |
| | |||||
* | extended swizzle (bug 6727) | Brian Paul | 2006-04-24 | 1 | -0/+10 |
| | |||||
* | enable feedback rendering | Aapo Tahkola | 2006-04-23 | 1 | -1/+1 |
| | |||||
* | disable hw locking when entering span rendering for now | Aapo Tahkola | 2006-04-23 | 1 | -1/+2 |
| | |||||
* | need to hold before freeing | Aapo Tahkola | 2006-04-23 | 1 | -41/+45 |
| | |||||
* | Enable USER_BUFFERS, RADEON_VTXFMT_A and HW_VBOS on big endian by forcing ↵ | Benjamin Herrenschmidt | 2006-04-23 | 4 | -43/+101 |
| | | | | | | all elts to 32 bits (it would be possible to do a half word swap for 16 bits if somebody is interested) and by using the input route mecanism to swap ubyte's properly in r300EmitArrays. Tested with cva, varray and quake3 | ||||
* | Ensure all GART allocations are freed on context destruction, rather than | Adam Jackson | 2006-04-21 | 1 | -1/+49 |
| | | | | | | | waiting for the DRM to reap them at process exit. Fixes (fatal) allocation failures in AIGLX configurations. Reviewed by: Aapo Tahkola | ||||
* | Fix format strings for LP64 | Adam Jackson | 2006-04-21 | 1 | -2/+2 |
| | |||||
* | depend is not a .PHONY target | Brian Paul | 2006-04-21 | 1 | -1/+0 |
| | |||||
* | limit max program/param length to 255 (spotted by sroland) | Aapo Tahkola | 2006-04-20 | 2 | -1/+3 |
| | |||||
* | Make most of the _mesa_noop_*() functions static. | Brian Paul | 2006-04-20 | 3 | -33/+9 |
| | | | | | | | Generate GL_INVALID_VALUE, not GL_INVALID_ENUM when glVertexAttrib is called with a bad index. Use _mesa_noop_vtxfmt_init() in DRI drivers to initialize vertex format struct. | ||||
* | Add .note.GNU-stack section to assembler files to avoid the default behavior | Kristian Høgsberg | 2006-04-17 | 2 | -0/+8 |
| | | | | of requesting executable stacks. |