aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_context.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'vbo-0.2'Keith Whitwell2007-02-021-4/+4
|\ | | | | | | | | | | | | Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c
| * disable vtxfmt_a code, switch over to vboKeith Whitwell2006-10-311-4/+4
| |
* | support as much of GL_EXT_stencil_two_side as we can. untested.Aapo Tahkola2007-01-181-0/+8
|/
* Give the user posibility to choose speed over correctness.Rune Petersen2006-08-311-1/+3
| | | | | | It does 2 things: 1) Allows you to disable S3TC, wine-games sometimes need S3TC enabled. 2) Disable fallbacks that usually have low impact.
* Enable support for GL_EXT_gpu_program_parameters for R300.Ian Romanick2006-08-151-0/+2
|
* Fix #7195Aapo Tahkola2006-07-091-2/+18
|
* Vertex/fragment program patches (Rune Petersen)Brian Paul2006-06-301-1/+2
|
* destroy left-over VBOs on shutdownTilman Sauerbeck2006-06-291-2/+6
|
* destroy the memory manager along with the contextTilman Sauerbeck2006-06-111-0/+7
|
* prevent run_arb_vertex_program from running tnl programs unless ↵Aapo Tahkola2006-06-061-3/+3
| | | | ctx->_MaintainTnlProgram is set
* 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-231-0/+2
| | | | | | 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
* FP textures and fixes (Ewald Snel)Brian Paul2006-03-291-0/+1
|
* Clean build.Aapo Tahkola2006-03-131-0/+1
|
* Port r200 tex tiling code to run on r300 but keep it disabled.Aapo Tahkola2006-03-061-0/+4
|
* remove broken non arb fp pathAapo Tahkola2006-01-271-4/+0
|
* enable hw vertex programs by defaultAapo Tahkola2006-01-271-2/+2
|
* Work around problems with t_vp_build.cAapo Tahkola2006-01-271-2/+3
|
* Missing bits of code spotted by Tilman SauerbeckAapo Tahkola2006-01-151-1/+27
|
* Fix r300 rectangular texture upload and swtcl coordinate fixing same as radeonDave Airlie2005-12-041-0/+3
| | | | sw tcl
* First step of Radeon DRI unification:Eric Anholt2005-11-021-4/+4
| | | | | | | | | | | | - Makes all three drivers use the same screen structure and setup code, with a few ifdefs for the separate compilation to deal with symbols not being available to all drivers and the fact that we have no mechanism for dealing with different config options for different chip families in the same driver. These issues should be dealt with later. - Introduces IS_R[123]00_CLASS(radeonScreenPtr) macro for code for taking different paths depending on the general class of chipset. - Adds many new R300-class PCI IDs, though not all those listed in radeon_driver.c.
* Fix broken tnl stage.Aapo Tahkola2005-11-011-0/+3
|
* Re-org and clean-up of vertx/fragment program limits (instructions,Brian Paul2005-11-011-16/+16
| | | | | | | temporaries, parameters, etc). glGetProgramivARB() now returns all the right things. Updated i915 and r300 code to initialize program native limits and current program's native instruction/temporary/etc counts.
* Sync with my local tree.Aapo Tahkola2005-10-261-76/+20
| | | | | | Changes to current operation: -Elts are no longer converted to 16-bit format -Cube maps
* Add support for texture compression to R300 driverDave Airlie2005-09-251-0/+8
| | | | | This isn't perfect, texcmp still has some issues with the small textures.. but its a good start
* add _tnl_arb_vertex_program_stage to all drivers which already have ↵Roland Scheidegger2005-09-091-0/+1
| | | | _tnl_vertex_program_stage. Fixes crashes when using vertex programs. Tested on r200 only (fix by Keith Whitwell)
* fix a cast/assignment warningBrian Paul2005-08-311-1/+1
|
* Fix card_extensions by following corresponding r200 code.Vladimir Dergachev2005-08-061-50/+12
| | | | | Fix suggested by Ian Romanick. R300 driver now works without segfault.
* Major rip-up of internal function insertion interface. The oldmesa_6_3_1Ian Romanick2005-07-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | _glapi_add_entrypoint has been replaced by a new routine called _glapi_add_dispatch. This new routine dynamically assignes dispatch offsets to functions added. This allows IHVs to add support for extension functions that do not have assigned dispatch offsets. It also means that a driver has no idea what offset will be assigned to a function. The vast majority of the changes in this commit account for that. An additional table, driDispatchRemapTable, is added. Functions not in the Linux OpenGL ABI (i.e., anything not in GL 1.2 + ARB_multitexture) has a fixed offset in this new table. The entry in this table specifies the offset in of the function in the real dispatch table. The internal interface was also bumped from version 20050725 to 20050727. This has been tested with various programs in progs/demos on: radeon (Radeon Mobility M6) r128 (Rage 128 Pro) mga (G400)
* Clean up warnings in r300 code by making some symbols static, adding prototypesEric Anholt2005-07-201-2/+3
| | | | | for others, and being cleaner with types in fragment/vertex program structures. One warning in r300_shader.c is still concerning.
* Adapt extension string to new GL dispatch schema proposedJerome Glisse2005-07-011-1/+48
| | | | | | by Idr. This patch is based on Idr patch to radeon driver. Change #if 1 to #if 0 (r300_context.c:l69) for old dispatch tab.
* Turn off VBO's.Aapo Tahkola2005-06-161-3/+27
|
* Fix xyz/w interaction (needs a cleanup still..)Ben Skeggs2005-06-051-2/+2
| | | | | Use SRC0A instead of WZY/XXX combination for W in XYZ positions. Remove dodgy hack from POW opcode, now works correctly without it
* Implement enough of ARB_fragment_program for Keith's texenv programBen Skeggs2005-05-231-3/+20
| | | | | | | | | | | | generation in Mesa. Requires most recent Mesa cvs to work correctly. Swizzle code is possibly slow/buggy and will probably be replaced. Old behaviour can be controlled by a #define in r300_context.h, if no-one minds I'll remove the old code later on. Also, disabled cube map extension. AFAIK We don't support it yet, and it causes issues with UT2004.
* Ditch unused code and features that arent in subject to get supported any ↵the_perfect_fragAapo Tahkola2005-05-191-6/+0
| | | | near time.
* Don't print debug messages unless the user explicitly requested themNicolai Haehnle2005-05-141-2/+4
| | | | using the RADEON_DEBUG environment variable.
* Make software fallbacks work again:Nicolai Haehnle2005-05-131-0/+1
| | | | | We need to plug in swsetup functions into the TNL module's callbacks. Also, resize the framebuffer size when the drawable size changes.
* VBOs.Aapo Tahkola2005-05-111-0/+53
|
* Updated for EXT_framebuffer_object changes. I don't know if this is correct, ↵Ben Skeggs2005-05-061-1/+1
| | | | but it seems to work
* Add support to external tnl switcher and disable hw tnl by default.Aapo Tahkola2005-05-011-1/+3
|
* r300 side support for fixed function pipeline. This isnt functional with ↵Aapo Tahkola2005-04-301-2/+2
| | | | current Mesa.
* Modifying to build against current Mesa. Disabled r200*.c files since they ↵Aapo Tahkola2005-04-241-1/+3
| | | | didnt want to build anymore.
* Reorganized shader stuff.Aapo Tahkola2005-04-191-1/+1
|
* Fixes for bugs that were nailed down when compairing against software vertex ↵Aapo Tahkola2005-04-191-1/+2
| | | | shading.
* Simple TCL stage and ability to disable vps.Aapo Tahkola2005-03-171-1/+2
|
* Unlike radeon and r200 drivers r300AllocCmdBuf allocs dwords not bytes.Aapo Tahkola2005-03-121-6/+6
|
* Improving Vladimirs alpha test fix a bit as it turns out r300Enable didnt ↵Aapo Tahkola2005-03-081-1/+1
| | | | correctly disable alpha test. Vertex programs with high vertex count now run a lot faster as software fallback is no longer on. Also disabling 'temp to result'-instructions as they probably violate the spec and dont seem to be something thats needed.
* fix for 'nasty bug' and some sanity checks to avoid buffer overruns. Bumping ↵before_upgrade_03_01_05Aapo Tahkola2005-02-281-1/+1
| | | | VSF_MAX_FRAGMENT_LENGTH as it seems a bit low otherwise.
* Adding support for front buffer mode, removing some code we dont really need ↵Aapo Tahkola2005-02-201-3/+1
| | | | and some new debugging stuff.