aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_context.c
Commit message (Collapse)AuthorAgeFilesLines
* Initial support for ARB_depth_textureIan Romanick2007-10-171-1/+3
| | | | | | Currently only GL_DEPTH_COMPONENT16 are supported. I don't know what the hardware bits are to select the other formats, but it shouldn't be too hard to figure out.
* r300: only init swtcl on tcl-less cardsDave Airlie2007-07-041-10/+13
|
* r300: cleanup some of the swtcl codeDave Airlie2007-07-011-1/+1
|
* Initial r300 modes for swtcl it compiles!!Dave Airlie2007-06-141-1/+3
|
* r300: Removed deprecated/disabled VBO code from r300_mem.cOliver McFadden2007-05-111-9/+0
| | | | Also removed a couple of unused fields from the r300_memory_manager structure.
* r300: Renamed r300_maos.c to r300_emit.c; it contains mostly emit code now.Oliver McFadden2007-05-111-1/+1
|
* r300: Added some more Doxygen documentation and made some functions static.Oliver McFadden2007-05-091-4/+7
|
* r300: Removed the "texmicrotile" variable; the tiling code is disabled via aOliver McFadden2007-05-091-2/+0
| | | | compiler conditional anyway; probably broken?
* r300: Renamed the R300 memory manager from "radeon" to "r300"; it's R300Oliver McFadden2007-05-091-3/+3
| | | | specific.
* r300: Removed the deprecated VTXFMT code.Oliver McFadden2007-05-091-9/+1
| | | | | This was okayed by Jerome Glisse and Keith Whitwell on the dri-devel IRC channel and list, respectively.
* r300: Indented r300_context.[ch].Oliver McFadden2007-05-091-48/+70
|
* r300: Renamed the VBO functions to the R300 name format.Oliver McFadden2007-05-081-1/+1
|
* r300: Removed some deprecated code from r300_context.c and corrected an unusedOliver McFadden2007-05-081-6/+0
| | | | variable warning in r300_render.c.
* radeon: enable xpress chipsetsDave Airlie2007-05-071-0/+3
| | | | | | | glxgears and googleearth now run so that seems like a good start Thanks to Aapo Tahkola for doing the 3D work on this so far, I got lost after the GART changes.
* move GL_EXT_stencil_two_side into alphabetical positionBrian2007-04-161-1/+1
|
* Fix glActiveStencilFaceEXT dispatch problem (bug 10523).Brian2007-04-161-6/+3
| | | | | | | | OK, _all_ extensions that might get enabled by the driver need to be in the card_extensions[] list. driInitExtensions() is called at least twice: first during screen creation, then once for each context that's created. The first call sets up the dispatch table. The second call just sets the extension enable/disable flags.
* remove _tnl_arb_vertex_program_stageBrian2007-04-161-1/+0
|
* merge of glsl-compiler-1 branchBrian2007-03-261-1/+1
|\
| * Update DRI drivers for new glsl compiler.Brian2007-02-231-1/+1
| | | | | | | | | | | | Mostly: - update #includes - update STATE_* token code
* | r300: Fix texture coordinate calculation for rectangle texturesNicolai Haehnle2007-03-241-20/+17
|/ | | | | | | | | | | R300 hardware takes texcoords in the range 0..1 even for rectangle textures. Previously, the necessary texcoord conversion was applied to the texture coordinate during vertex processing in a render stage. This is obviously wrong when fragment programs are used, which can calculate arbitrary coordinates for TEX instructions. Therefore, we now inject an appropriate MUL instruction before a TEX that reference a rectangle texture.
* r300CreateContext: Really initialize r300->initialMaxAnisotropy.Michel Dänzer2007-02-031-0/+2
|
* 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.