summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_context.c
AgeCommit message (Collapse)Author
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)
2005-07-20Clean up warnings in r300 code by making some symbols static, adding prototypesEric Anholt
for others, and being cleaner with types in fragment/vertex program structures. One warning in r300_shader.c is still concerning.
2005-07-01Adapt extension string to new GL dispatch schema proposedJerome Glisse
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.
2005-06-16Turn off VBO's.Aapo Tahkola
2005-06-05Fix xyz/w interaction (needs a cleanup still..)Ben Skeggs
Use SRC0A instead of WZY/XXX combination for W in XYZ positions. Remove dodgy hack from POW opcode, now works correctly without it
2005-05-23Implement enough of ARB_fragment_program for Keith's texenv programBen Skeggs
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.
2005-05-19Ditch unused code and features that arent in subject to get supported any ↵Aapo Tahkola
near time.
2005-05-14Don't print debug messages unless the user explicitly requested themNicolai Haehnle
using the RADEON_DEBUG environment variable.
2005-05-13Make software fallbacks work again:Nicolai Haehnle
We need to plug in swsetup functions into the TNL module's callbacks. Also, resize the framebuffer size when the drawable size changes.
2005-05-11VBOs.Aapo Tahkola
2005-05-06Updated for EXT_framebuffer_object changes. I don't know if this is correct, ↵Ben Skeggs
but it seems to work
2005-05-01Add support to external tnl switcher and disable hw tnl by default.Aapo Tahkola
2005-04-30r300 side support for fixed function pipeline. This isnt functional with ↵Aapo Tahkola
current Mesa.
2005-04-24Modifying to build against current Mesa. Disabled r200*.c files since they ↵Aapo Tahkola
didnt want to build anymore.
2005-04-19Reorganized shader stuff.Aapo Tahkola
2005-04-19Fixes for bugs that were nailed down when compairing against software vertex ↵Aapo Tahkola
shading.
2005-03-17Simple TCL stage and ability to disable vps.Aapo Tahkola
2005-03-12Unlike radeon and r200 drivers r300AllocCmdBuf allocs dwords not bytes.Aapo Tahkola
2005-03-08Improving Vladimirs alpha test fix a bit as it turns out r300Enable didnt ↵Aapo Tahkola
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.
2005-02-28fix for 'nasty bug' and some sanity checks to avoid buffer overruns. Bumping ↵Aapo Tahkola
VSF_MAX_FRAGMENT_LENGTH as it seems a bit low otherwise.
2005-02-20Adding support for front buffer mode, removing some code we dont really need ↵Aapo Tahkola
and some new debugging stuff.
2005-02-14Support for blend color(not tested), "proper line width/point size" clamps ↵Aapo Tahkola
and fix for glxinfo problem.
2005-02-10Added kindly note about single buffer mode.Aapo Tahkola
2005-02-10Adding support for selecting line width. Stipple patterns still cause lots ↵Aapo Tahkola
of trouble.