Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make r300 driver build with GL_APPLE_vertex_array_object changes. | Ian Romanick | 2006-06-12 | 2 | -12/+18 |
| | | | | Sorry for the breakage. These changes are only build tested. | ||||
* | Add support for GL_APPLE_vertex_array_object. Several test programs | Ian Romanick | 2006-06-12 | 1 | -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 Hourihane | 2006-06-12 | 1 | -0/+1 |
| | |||||
* | destroy the memory manager along with the context | Tilman Sauerbeck | 2006-06-11 | 3 | -0/+17 |
| | |||||
* | enable arb_vertex_program by default if drm is new enough. Do a fallback ↵ | Roland Scheidegger | 2006-06-10 | 2 | -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 Scheidegger | 2006-06-09 | 1 | -38/+45 |
| | | | | functions compile without error... | ||||
* | include tnl/tnl.h for _tnl_program_string() | Tilman Sauerbeck | 2006-06-08 | 1 | -0/+1 |
| | |||||
* | mark ARL operand as scalar (Roland Scheidegger) | Tilman Sauerbeck | 2006-06-08 | 1 | -1/+1 |
| | |||||
* | struct op_names: get rid of the 'output operands' field as it's not used ↵ | Tilman Sauerbeck | 2006-06-08 | 1 | -32/+31 |
| | | | | (Roland Scheidegger) | ||||
* | Improve slightly wrong CMP_SRCS test to avoid unencessary instructions. ↵ | Roland Scheidegger | 2006-06-08 | 2 | -95/+56 |
| | | | | Clean up the r200 vertex program code a bit. | ||||
* | prevent possible program mix up with sw vps (Roland Scheidegger) | Aapo Tahkola | 2006-06-06 | 1 | -0/+2 |
| | |||||
* | prevent run_arb_vertex_program from running tnl programs unless ↵ | Aapo Tahkola | 2006-06-06 | 2 | -7/+3 |
| | | | | ctx->_MaintainTnlProgram is set | ||||
* | make sure tex format is supported. | Aapo Tahkola | 2006-06-06 | 1 | -1/+2 |
| | |||||
* | various fixes (Roland Scheidegger) | Aapo Tahkola | 2006-06-06 | 1 | -32/+38 |
| | |||||
* | 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 | ||||
* | 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. | ||||
* | 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 | ||||
* | 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 | ||||
* | updates to dri drivers for recent stencil changes | Keith Whitwell | 2006-05-08 | 12 | -50/+52 |
| | |||||
* | 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 |
| | |||||
* | fix warnings. | Aapo Tahkola | 2006-04-26 | 1 | -3/+3 |
| | |||||
* | R300_SPAN_DISABLE_LOCKING env var | Aapo Tahkola | 2006-04-26 | 2 | -2/+27 |
| | |||||
* | use _TNL_FIRST/LAST_MAT indexes | Brian Paul | 2006-04-25 | 1 | -6/+6 |
| | |||||
* | 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. |