summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2006-09-07Use lower alignments where possible. Also pad out allocated blocks toKeith Whitwell
a multiple of alignment to avoid accumulating unusable free blocks.
2006-09-07Make sure bmBufferOffset is called for all active buffers every timeKeith Whitwell
we render. Currenly requires that some state be re-examined after every LOCK_HARDWARE().
2006-09-07make really sure R200_VAP_PROG_VTX_SHADER_ENABLE is never set when we're ↵Roland Scheidegger
already in a tcl fallback, otherwise the chip will instantly lock up when vertex progs are enabled the next time not in a tcl fallback (fixes for instance guaranteed lockup running any program which uses vertex progs with tcl_mode=0 and then later with tcl_mode=1).
2006-09-07Fix a leak of the screen's option cache on cleanup (copied from radeon).Eric Anholt
2006-09-06Simplify the immediate and displaylist code. Treat VertexAttrib*ARBKeith Whitwell
as non-aliasing and cope with the >32 attributes that result, taking materials into account.
2006-09-05Dynamically allocate instruction store for tnl programs according toKeith Whitwell
requirements.
2006-09-04Fixes for calculating point attenuationKeith Whitwell
2006-09-04Don't export NV_vertex_program as it's not supported, it confusesKeith Whitwell
glean, and we no longer need to export it to keep Mesa happy as we did at one time.
2006-09-04Managed to make a commit that can't build... Sorry again...Rune Petersen
2006-09-04fog state atom contains (only) fog params necessary for tcl. Must not be ↵Roland Scheidegger
emitted if vertex progs are enabled as it overlaps vertex param #94.
2006-09-03add missing change to skip low impact RAST fallback...Rune Petersen
Sorry.
2006-09-01fix the presumably broken check for the allow_large_textures and vblank_mode ↵Roland Scheidegger
options (same as bug 8042).
2006-09-01make sure vertex programs are only enabled on the hw when they are really ↵Roland Scheidegger
enabled, not just when a program enables vertex progs (could still be not enabled due to some error). Otherwise the hw potentially would try to execute a not valid (not set up at all) vertex program, likely leading to lockups. Hopefully fixes #8060.
2006-09-01Catch a few more cases of using a message reg as an instruction sourceKeith Whitwell
arg.
2006-09-01fix a couple of cases where a message reg is used as an instruction source.Keith Whitwell
2006-08-31re-apply shader fix.Rune Petersen
appears to have been reverted by mistake.
2006-08-31When using the old technique to set up the front buffer mapping, thereKeith Whitwell
is no need to add front.offset to sPriv->pFB, it seems. Fixes several glean issues and frontbuffer rendering generally.
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-31do not abort with not supported vertex prog output configuration, fallback ↵Roland Scheidegger
instead
2006-08-30Minor r200 vertex program cleanups. Remove disabled leftovers from r300 ↵Roland Scheidegger
vertex program code. Fix authors. Correct slightly wrong check to determine if ran out of temps. Simplify check to determine if ran out of max instructions. Correctly report used native temps. Always kick off program translation when ProgramStringNotify is called (otherwise the reported native resources used queried might be wrong).
2006-08-30fix typo causing a segfault when a vertex program uses more than 96 parametersRoland Scheidegger
2006-08-28Check mesa_vp->Base.NumInstructions == 0 instead of mesa_vp->Base.String toBrian Paul
determine if we actually have a program. See "[r300] TCL fallback with Quake3".
2006-08-28remove unused varBrian Paul
2006-08-28fix the check for force_s3tc_enable (bug 8042)Brian Paul
2006-08-27close #6318Aapo Tahkola
2006-08-26Fix bug 8010 - locking issues.Alan Hourihane
2006-08-26fix #8008Aapo Tahkola
2006-08-25include texobj.h to silence warningBrian Paul
2006-08-25Add a couple of the missing GL 2.0 functions. Enable GLX protocol forIan Romanick
glBlendEquationSeparateEXT. Add missing enum "get" information for GL_EXT_texture_filter_anisotropic.
2006-08-24fix bad casts, carry over r200 fix to check for null program string in ↵Brian Paul
r300_translate_vertex_shader()
2006-08-24Check for NULL program string in r200_translate_vertex_program().Brian Paul
Fixes bug reported by Chris Rankin. Added some new comments.
2006-08-24GL_EXT_paletted_texture functions should alias GL_SGI_color_table functions.Ian Romanick
The functions for GL_EXT_paletted_texture that do not share GLX protocol with GL_ARB_imaging are supposed to alias the similar functions from GL_SGI_color_table. They didn't. This patch corrects this problem and enables GLX protocol for both extensions. Since this removes 3 entries from the dispatch table, this change creates a lot of changes in the generated files.
2006-08-24Check if mesa_vp->Base.Parameters is null before dereferencing (bug reportBrian Paul
from Chris Rankin). Also, fix some bad casts.
2006-08-23silence warningBrian Paul
2006-08-23Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoidBrian Paul
a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver.
2006-08-22remove duplicate pieces of code.Aapo Tahkola
2006-08-22extend some DrawRangeElements cases to support rendering more than 65535 ↵Aapo Tahkola
verts in one blast. ut2k4 cases in other words ...
2006-08-22fix broken write-only depth setting. use early z where possible.Aapo Tahkola
2006-08-19remove the now confusing option to manually enable software ARB_vp if drm is ↵Roland Scheidegger
not new enough on r200
2006-08-18Fix writemasks on texture arb fp instructions.Alan Hourihane
Cleanup invarient state emission.
2006-08-16change tex memory allocation calls (debian bug 383209)Brian Paul
2006-08-15Enable support for GL_EXT_gpu_program_parameters for R300.Ian Romanick
2006-08-15Add support for GL_EXT_gpu_program_parameters. Any driver that enablesIan Romanick
either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
2006-08-12gcc-4.1.1 compile fixAapo Tahkola
2006-08-12Add comments explaining a couple "mystery" bits.Ian Romanick
2006-08-11Fix long standing bug that prevented newer drivers from working withIan Romanick
older libGL. The data in extension_helper.h erroneous instructed drivers to expect all functions with establised offsets, even those not in the ABI, to have a specific offset allocated. This is just wrong. A function is either in the ABI and has a set offset or a function is not in the ABI and has a re-map offset.
2006-08-11support shorts as vertex dataAapo Tahkola
2006-08-10Add padding to match the current xf86-video-intel DDX->DRI interface.Eric Anholt
2006-08-09Add Intel i965G/Q DRI driver.Eric Anholt
This driver comes from Tungsten Graphics, with a few further modifications by Intel.
2006-07-31fix #6991Aapo Tahkola