summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* implement arb_vertex_program in hw for r200. Code contains still some hacks, ↵Roland Scheidegger2006-06-0210-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 Scheidegger2006-06-028-78/+33
| | | | request at least drmMinor 6 anyway.
* retry on EBUSY instead of EAGAIN in radeonWaitIrq (it appears this was the ↵Roland Scheidegger2006-06-013-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 Sauerbeck2006-05-311-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 Sauerbeck2006-05-311-2/+4
| | | | r300's VSF_FLAGs now
* Fixed bug with multiple contexts.Claudio Ciccani2006-05-311-76/+228
| | | | | Added support for ARGB4444 and ARGB2554. Added hardware accelerated Clear().
* minor code cleanup, no actual changesTilman Sauerbeck2006-05-301-10/+2
|
* fix some whitespace in previous commitRoland Scheidegger2006-05-271-2/+2
|
* preparation for r200 hw vertex programs. Increase R200_CMD_BUF_SZ to 16k ↵Roland Scheidegger2006-05-278-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 Paul2006-05-231-1/+1
|
* init mask=0 to silence warningBrian Paul2006-05-231-1/+1
|
* make mgaSetFence() and mgaWaitFence() staticBrian Paul2006-05-231-2/+2
|
* prototype i915_udpate_fog() to silence warningBrian Paul2006-05-231-0/+1
|
* In gl_texture_image, replace ImageStride with an ImageOffsets array.Brian Paul2006-05-203-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 Paul2006-05-201-8/+3
|
* added some CHAN_BITS testsBrian Paul2006-05-191-0/+9
|
* Allow rendering 8, 16 and 32-bit/channel images without recompiling.Brian Paul2006-05-191-234/+591
| | | | Uses new renderbuffer adaptors.
* Dont allow 16 tex units to be used at all.Aapo Tahkola2006-05-181-1/+1
|
* add texture rectangle support for i815, I wrote the original patch aboutDave Airlie2006-05-173-56/+112
| | | | 2 years ago, I finally dug out an i815 and got it working
* remove some unused macrosBrian Paul2006-05-141-43/+6
|
* fix typo, remove dead codeBrian Paul2006-05-141-2/+1
|
* the r300 should only use 8 until Mesa can deal with thisDave Airlie2006-05-121-1/+1
|
* this should use the configured number not the MAX, this has no effect untilDave Airlie2006-05-121-1/+1
| | | | the core mesa swrast number is fixed, just spotted this on the way past
* Fix a number of texture compression issues.Brian Paul2006-05-082-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 warningBrian Paul2006-05-081-2/+1
|
* updates to dri drivers for recent stencil changesKeith Whitwell2006-05-0812-50/+52
|
* added CHAN_BITS != 8 testBrian Paul2006-05-071-0/+3
|
* remove temporary code from keithw, this in theory isn't used at the momentDave Airlie2006-05-051-5/+0
| | | | anyways unless INTEL_BATCH is turned on
* Fix i915 driver after stencil changes in Mesa 6.5Dave Airlie2006-05-051-1/+1
|
* remove some unneeded includesDave Airlie2006-05-021-3/+1
|
* move the pkg config flags for libdrm to the bottomDave Airlie2006-05-021-2/+2
|
* assorted clean-ups, fixesBrian Paul2006-04-275-32/+57
|
* replace a bunch of casts with GET_XRB macroBrian Paul2006-04-271-134/+136
|
* fix warnings.Aapo Tahkola2006-04-261-3/+3
|
* R300_SPAN_DISABLE_LOCKING env varAapo Tahkola2006-04-262-2/+27
|
* minor clean-upBrian Paul2006-04-261-3/+3
|
* remove old XFree86 tagBrian Paul2006-04-261-1/+0
|
* use _TNL_FIRST/LAST_MAT indexesBrian Paul2006-04-251-6/+6
|
* silence warningsBrian Paul2006-04-251-0/+2
|
* extended swizzle (bug 6727)Brian Paul2006-04-241-0/+10
|
* enable feedback renderingAapo Tahkola2006-04-231-1/+1
|
* disable hw locking when entering span rendering for nowAapo Tahkola2006-04-231-1/+2
|
* need to hold before freeingAapo Tahkola2006-04-231-41/+45
|
* Enable USER_BUFFERS, RADEON_VTXFMT_A and HW_VBOS on big endian by forcing ↵Benjamin Herrenschmidt2006-04-234-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 thanAdam Jackson2006-04-211-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 LP64Adam Jackson2006-04-211-2/+2
|
* depend is not a .PHONY targetBrian Paul2006-04-211-1/+0
|
* limit max program/param length to 255 (spotted by sroland)Aapo Tahkola2006-04-202-1/+3
|
* Make most of the _mesa_noop_*() functions static.Brian Paul2006-04-203-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 behaviorKristian Høgsberg2006-04-172-0/+8
| | | | of requesting executable stacks.