aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200
Commit message (Collapse)AuthorAgeFilesLines
* Remove ctx->Point._Size and ctx->Line._Width.Brian2007-07-211-1/+3
| | | | | | The clamping for these values depends on whether we're drawing AA or non-AA points, lines. Defer clamping until drawing time. Drivers could compute and keep clamped AA and clamped non-AA values if desired.
* change max anisotropy testChristoff Brill2007-05-171-1/+1
|
* use R200_DEBUG for debug outputChristoff Brill2007-05-171-2/+2
|
* remove CVS/XFree86 keywordsChristoff Brill2007-05-1726-26/+0
|
* bring over recent radeonMakeCurrent fixes for r300 to radeon/r200Roland Scheidegger2007-05-121-1/+0
|
* remove _tnl_arb_vertex_program_stageBrian2007-04-161-1/+0
|
* r128, radeon, r200: Check ctx->WinSysDrawBuffer before calling function that ↵Roland Scheidegger2007-03-271-2/+4
| | | | | | | dereferences it. Same fix as for r300 (which fixed https://bugs.freedesktop.org/show_bug.cgi?id=10417), since it's likely an issue with those drivers too.
* merge from masterBrian2007-03-214-24/+27
|\
| * r200: Simplify r200SetCliprects like radeonSetCliprects in radeon and r300.Alan Swanson2007-03-124-22/+22
| |
| * r200: Adapt cliprect fixes from r300.Alan Swanson2007-03-123-3/+6
| |
* | Merge branch 'origin' into glsl-compiler-1Brian2007-03-091-2/+2
|\| | | | | | | | | | | Conflicts: src/mesa/main/context.c
| * r200 fix broken (by new input handling) fogcoordRoland Scheidegger2007-02-231-2/+2
| |
* | Update DRI drivers for new glsl compiler.Brian2007-02-231-4/+6
|/ | | | | | Mostly: - update #includes - update STATE_* token code
* r200: simplify / unify input map handling for vp and fftnlRoland Scheidegger2007-02-095-334/+141
| | | | | | Use the same input map handling for fftnl and vertex programs. It doesn't enable any new functionality (should make it easy to support per-vertex materials though), but the code is much cleaner.
* disable r200 materials-between-begin-end check if vertex progs are enabledRoland Scheidegger2007-02-031-5/+7
|
* remove now unused vtxfmt stuff from radeon/r200 header filesRoland Scheidegger2007-02-032-128/+3
|
* fix errorneously adding fog state params to all vertex programs...Roland Scheidegger2007-02-031-1/+1
|
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵Keith Whitwell2007-01-1611-84/+355
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into vbo-0.2 Conflicts: src/mesa/array_cache/sources src/mesa/drivers/dri/i965/brw_context.c src/mesa/drivers/dri/i965/brw_draw.c src/mesa/drivers/dri/i965/brw_fallback.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/i965/brw_vs_tnl.c src/mesa/drivers/dri/mach64/mach64_context.c src/mesa/main/extensions.c src/mesa/main/getstring.c src/mesa/tnl/sources src/mesa/tnl/t_save_api.c src/mesa/tnl/t_save_playback.c src/mesa/tnl/t_vtx_api.c src/mesa/tnl/t_vtx_exec.c src/mesa/vbo/vbo_attrib.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_api.c src/mesa/vbo/vbo_save_draw.c
| * submit vertex weights to make World of Warcraft maybe happy (bug 8250)Roland Scheidegger2006-12-143-2/+19
| | | | | | | | | | | | | | submit the vertex weights to hw, which will enable broken vertex programs errorneously using them to work. Note however that this will only work if glWeight is used, there is no code in mesa at all to deal with weight vertex array (glWeightPointerARB).
| * Make git ignore some more generated files.Michel Dänzer2006-12-061-0/+3
| |
| * fix mixed conventional / generic vertex arrays which caused a wrong array ↵Roland Scheidegger2006-11-303-1/+116
| | | | | | | | order leading to very bogus rendering (for instance WoW intro screen mentioned in #8250).
| * fix a bug in the sanity code when outputting vertex progsRoland Scheidegger2006-11-291-1/+1
| |
| * call Driver.ProgramStringNotify if a ati_fragment_shader changes and pick up ↵Roland Scheidegger2006-11-291-0/+3
| | | | | | | | the change in the r200 driver accordingly.
| * fix segfault with ATI_fs when trying to use a not enabled texture unit (bug ↵Roland Scheidegger2006-11-211-16/+21
| | | | | | | | #9110).
| * Remove use of GetBufferSize (depreciated).Jerome Glisse2006-11-154-29/+44
| |
| * fix vp lockups due to incorrectly set up / emitted attrib inputs.Roland Scheidegger2006-11-051-1/+2
| |
| * fix using VERT_ATTRIB_WEIGHT instead of VERT_BIT_WEIGHT when assigning vp ↵Roland Scheidegger2006-11-051-1/+1
| | | | | | | | inputs.
| * enable generic arrays for r200 hw vertex programs by assigning unused color ↵Roland Scheidegger2006-11-034-27/+143
| | | | | | | | and texture inputs to them. Not widely tested yet. This should eliminate all fallbacks due to vertex programs, except writes to back facing colors, or when exceeding a hw limit (12 temps, 12 attribs etc.).
| * remove setting some driver funcs explicitly to NULL, as they are no longer ↵Roland Scheidegger2006-11-031-4/+0
| | | | | | | | set up later. Thix fixes a segfault in _mesa_Bitmap().
| * casting, type changes to silence warningsBrian Paul2006-11-022-5/+5
| |
| * Remove x/y/width/height parameters from Clear functions.Brian Paul2006-11-011-3/+2
| |
* | remove remaining traces of r200FlushVertices...Roland Scheidegger2006-11-032-2/+0
| |
* | merge current trunk into vbo branchAlan Hourihane2006-11-021-3/+2
| |
* | remove vtxfmt code, switch over to vboKeith Whitwell2006-10-3112-3573/+9
|/
* remove code for inserting mvp transform into position-invariant vertex progs ↵Roland Scheidegger2006-10-261-96/+7
| | | | and instead use _mesa_insert_mvp_code().
* change some bogus comments regarding the base e exponential function used ↵Roland Scheidegger2006-10-252-7/+6
| | | | for fog in vertex programs.
* fix (per-vertex) fog when using ARB_vp by incorporating fog factor ↵Roland Scheidegger2006-10-246-67/+153
| | | | computation into the vertex program (not yet fixed for swtnl). Simplify (and correct) the VTX_TCL_OUTPUT_VTXFMT handling when using vertex programs, turns out it's solely driven by the needs of the past-vertex stage of the pipeline, this should fix lockups with ill-specified applications using vertex programs (for instance applications enabling fog but not writing to fog coord output will now get (conformant) undefined results instead of lockups).
* Want to stop passing x/y/width/height to Clear() function.Brian Paul2006-10-181-8/+16
| | | | | | | The coordinates need to be computed after we've got the hw lock. Code updated to: 1. Ignore all/x/y/width/height/ params passed to Clear func. 2. Pass 0,0,0,0,0 to _swrast_Clear() until they're totally removed.
* fix handling of textures with a base internal format that does not have all ↵Roland Scheidegger2006-10-151-1/+3
| | | | four rgba values set for radeon and r200 (discovered with a modified glean pixelFormats test, noone ever noticed in over 2 years). For radeon, use hw format I8 as previously, and change tex env to make the correct default values appear for both GL_ALPHA and GL_LUMINANCE textures. For r200, which supports GL_LUMINANCE just fine, use the AL88 hw format for GL_ALPHA textures, since it seems like it's probably not worth the effort to fix up the texture environment (certainly complicated in case of ATI_fragment_shader programs).
* Remove a bunch of "ctx->Driver.function = _swrast_Function" lines sinceBrian Paul2006-10-152-15/+0
| | | | | default/fallback functions are already plugged in by the call to _mesa_init_driver_functions().
* Remove Driver.ResizeBuffers = _mesa_resize_framebuffer lines.Brian Paul2006-10-151-1/+0
| | | | | This is already done by the preceeding call to _mesa_init_driver_functions() which plugs in default functions like that.
* implement ARB_point_parameters and ARB_point_sprite on r200. The code is ↵Roland Scheidegger2006-10-139-18/+236
| | | | nearly the same as outlined in bug #4707, except it disables perspective correction for point sprites to make them actually work. And, separate the state atom into two as the tcl parameters would overwrite vertex program parameters when active. Also implement the GL_VERTEX_PROGRAM_POINT_SIZE_ARB option to make vertex programs outputting a point size work correctly (untested). Smooth points will still always be size 1. While here, enable gouraud shading for fog when using fog coord.
* Make driDrawableInitVBlank() initialize the sequence number.Michel Dänzer2006-09-281-1/+2
| | | | | This prevents the first wait for vertical blank from timing out when the X server has been running for a long time.
* fix up access to vertex attrib components which don't really exist but are ↵Roland Scheidegger2006-09-221-1/+39
| | | | defined to some default value by the spec (fogcoord yzw, normal w, secondary color w), by replacing those components with zero/one respectively using swizzling.
* try to use a 8888 texture format which will result in only a memcopy in ↵Roland Scheidegger2006-09-203-9/+75
| | | | mesa's texstore functions whenever possible for r200 and r300. r200 can use hw formats argb8888, rgba8888 and abgr8888 (or the opposite on big endian), r300 can use argb8888, bgra8888, rgba8888 and abgr8888 regardless of endian, as it supports free component swizzling.
* fix mixed texgen/non-texgen with texgen modes requiring plane parameters ↵Roland Scheidegger2006-09-201-4/+89
| | | | (GL_OBJECT_LINEAR, GL_EYE_LINEAR). This is a chip limitation, try to hack it up regardless or use a tcl fallback in some cases. Might still produce wrong results if fixed up, but so far this corrects celestia ring shadows (in multitexture mode), doom3 (arb renderer), quake4 (arb renderer and some less visible bugs in r200 renderer), and even the remaining texgenmix broken case (this is pure luck though, it is easy to construct artifical cases where it will break).
* Always mark tex state atom as dirty when the texture image is dirty, this ↵Roland Scheidegger2006-09-131-4/+7
| | | | ensures texture cache gets flushed in case the new texture has the same offset as the old one (fixes glean pixelFormat test at least on r200).
* don't use derived value _ColorLogicOpEnabled as it's not current by the time ↵Roland Scheidegger2006-09-131-2/+2
| | | | we call the blend/logic op functions. Fixes glean logicOp test on r200.
* fix GL_REFLECTION_MAP texgen by not using tex matrix negation when lighting ↵Roland Scheidegger2006-09-132-5/+9
| | | | is not enabled (?). This fixes demos/cubemap as well as glean texCube test.
* make sure we upload the new vertex program if the program string changes.Roland Scheidegger2006-09-131-0/+2
|