summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
Commit message (Collapse)AuthorAgeFilesLines
* Make r300 driver build with GL_APPLE_vertex_array_object changes.Ian Romanick2006-06-122-12/+18
| | | | Sorry for the breakage. These changes are only build tested.
* Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick2006-06-121-0/+38
| | | | | | | and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required.
* fire vertices before context destruction.Alan Hourihane2006-06-121-0/+1
|
* destroy the memory manager along with the contextTilman Sauerbeck2006-06-113-0/+17
|
* enable arb_vertex_program by default if drm is new enough. Do a fallback ↵Roland Scheidegger2006-06-102-1/+7
| | | | when it's a nv_vp as there could be issues.
* shuffle some code to make some assertions in the _savage_texstore_a111xxxx ↵Roland Scheidegger2006-06-091-38/+45
| | | | functions compile without error...
* include tnl/tnl.h for _tnl_program_string()Tilman Sauerbeck2006-06-081-0/+1
|
* mark ARL operand as scalar (Roland Scheidegger)Tilman Sauerbeck2006-06-081-1/+1
|
* struct op_names: get rid of the 'output operands' field as it's not used ↵Tilman Sauerbeck2006-06-081-32/+31
| | | | (Roland Scheidegger)
* Improve slightly wrong CMP_SRCS test to avoid unencessary instructions. ↵Roland Scheidegger2006-06-082-95/+56
| | | | Clean up the r200 vertex program code a bit.
* prevent possible program mix up with sw vps (Roland Scheidegger)Aapo Tahkola2006-06-061-0/+2
|
* prevent run_arb_vertex_program from running tnl programs unless ↵Aapo Tahkola2006-06-062-7/+3
| | | | ctx->_MaintainTnlProgram is set
* make sure tex format is supported.Aapo Tahkola2006-06-061-1/+2
|
* various fixes (Roland Scheidegger)Aapo Tahkola2006-06-061-32/+38
|
* 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
* 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.
* 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
* 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
* updates to dri drivers for recent stencil changesKeith Whitwell2006-05-0812-50/+52
|
* 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
|
* fix warnings.Aapo Tahkola2006-04-261-3/+3
|
* R300_SPAN_DISABLE_LOCKING env varAapo Tahkola2006-04-262-2/+27
|
* use _TNL_FIRST/LAST_MAT indexesBrian Paul2006-04-251-6/+6
|
* 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.