summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_context.c
AgeCommit message (Collapse)Author
2007-07-04r300: only init swtcl on tcl-less cardsDave Airlie
2007-07-01r300: cleanup some of the swtcl codeDave Airlie
2007-06-14Initial r300 modes for swtcl it compiles!!Dave Airlie
2007-05-11r300: Removed deprecated/disabled VBO code from r300_mem.cOliver McFadden
Also removed a couple of unused fields from the r300_memory_manager structure.
2007-05-11r300: Renamed r300_maos.c to r300_emit.c; it contains mostly emit code now.Oliver McFadden
2007-05-09r300: Added some more Doxygen documentation and made some functions static.Oliver McFadden
2007-05-09r300: Removed the "texmicrotile" variable; the tiling code is disabled via aOliver McFadden
compiler conditional anyway; probably broken?
2007-05-09r300: Renamed the R300 memory manager from "radeon" to "r300"; it's R300Oliver McFadden
specific.
2007-05-09r300: Removed the deprecated VTXFMT code.Oliver McFadden
This was okayed by Jerome Glisse and Keith Whitwell on the dri-devel IRC channel and list, respectively.
2007-05-09r300: Indented r300_context.[ch].Oliver McFadden
2007-05-08r300: Renamed the VBO functions to the R300 name format.Oliver McFadden
2007-05-08r300: Removed some deprecated code from r300_context.c and corrected an unusedOliver McFadden
variable warning in r300_render.c.
2007-05-07radeon: enable xpress chipsetsDave Airlie
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.
2007-04-16move GL_EXT_stencil_two_side into alphabetical positionBrian
2007-04-16Fix glActiveStencilFaceEXT dispatch problem (bug 10523).Brian
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.
2007-04-16remove _tnl_arb_vertex_program_stageBrian
2007-03-26merge of glsl-compiler-1 branchBrian
2007-03-24r300: Fix texture coordinate calculation for rectangle texturesNicolai Haehnle
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.
2007-02-23Update DRI drivers for new glsl compiler.Brian
Mostly: - update #includes - update STATE_* token code
2007-02-03r300CreateContext: Really initialize r300->initialMaxAnisotropy.Michel Dänzer
2007-02-02Merge branch 'vbo-0.2'Keith Whitwell
Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c
2007-01-18support as much of GL_EXT_stencil_two_side as we can. untested.Aapo Tahkola
2006-10-31disable vtxfmt_a code, switch over to vboKeith Whitwell
2006-08-31Give the user posibility to choose speed over correctness.Rune Petersen
It does 2 things: 1) Allows you to disable S3TC, wine-games sometimes need S3TC enabled. 2) Disable fallbacks that usually have low impact.
2006-08-15Enable support for GL_EXT_gpu_program_parameters for R300.Ian Romanick
2006-07-09Fix #7195Aapo Tahkola
2006-06-30Vertex/fragment program patches (Rune Petersen)Brian Paul
2006-06-29destroy left-over VBOs on shutdownTilman Sauerbeck
2006-06-11destroy the memory manager along with the contextTilman Sauerbeck
2006-06-06prevent run_arb_vertex_program from running tnl programs unless ↵Aapo Tahkola
ctx->_MaintainTnlProgram is set
2006-04-23need to hold before freeingAapo Tahkola
2006-04-23Enable USER_BUFFERS, RADEON_VTXFMT_A and HW_VBOS on big endian by forcing ↵Benjamin Herrenschmidt
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
2006-04-21Ensure all GART allocations are freed on context destruction, rather thanAdam Jackson
waiting for the DRM to reap them at process exit. Fixes (fatal) allocation failures in AIGLX configurations. Reviewed by: Aapo Tahkola
2006-03-29FP textures and fixes (Ewald Snel)Brian Paul
2006-03-13Clean build.Aapo Tahkola
2006-03-06Port r200 tex tiling code to run on r300 but keep it disabled.Aapo Tahkola
2006-01-27remove broken non arb fp pathAapo Tahkola
2006-01-27enable hw vertex programs by defaultAapo Tahkola
2006-01-27Work around problems with t_vp_build.cAapo Tahkola
2006-01-15Missing bits of code spotted by Tilman SauerbeckAapo Tahkola
2005-12-04Fix r300 rectangular texture upload and swtcl coordinate fixing same as radeonDave Airlie
sw tcl
2005-11-02First step of Radeon DRI unification:Eric Anholt
- 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.
2005-11-01Fix broken tnl stage.Aapo Tahkola
2005-11-01Re-org and clean-up of vertx/fragment program limits (instructions,Brian Paul
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.
2005-10-26Sync with my local tree.Aapo Tahkola
Changes to current operation: -Elts are no longer converted to 16-bit format -Cube maps
2005-09-25Add support for texture compression to R300 driverDave Airlie
This isn't perfect, texcmp still has some issues with the small textures.. but its a good start
2005-09-09add _tnl_arb_vertex_program_stage to all drivers which already have ↵Roland Scheidegger
_tnl_vertex_program_stage. Fixes crashes when using vertex programs. Tested on r200 only (fix by Keith Whitwell)
2005-08-31fix a cast/assignment warningBrian Paul
2005-08-06Fix card_extensions by following corresponding r200 code.Vladimir Dergachev
Fix suggested by Ian Romanick. R300 driver now works without segfault.
2005-07-28Major rip-up of internal function insertion interface. The oldIan Romanick
_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)