summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300
AgeCommit message (Collapse)Author
2006-10-18Want to stop passing x/y/width/height to Clear() function.Brian Paul
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.
2006-10-15Use endianness test function provided by mesa.Jerome Glisse
Use the _mesa_little_endian helper function insted of the MESA_BIG_ENDIAN flag. There is still place using this flag but we need to find how to submit 16bits elements on big endian computer.
2006-10-15Remove Driver.ResizeBuffers = _mesa_resize_framebuffer lines.Brian Paul
This is already done by the preceeding call to _mesa_init_driver_functions() which plugs in default functions like that.
2006-09-28Make driDrawableInitVBlank() initialize the sequence number.Michel Dänzer
This prevents the first wait for vertical blank from timing out when the X server has been running for a long time.
2006-09-26Remove r200 dependencyJerome Glisse
Remove r200 dependency from the code as r200 merged driver never worked (right ?) and we want to clean the code.
2006-09-26Remove r200 dependency.Jerome Glisse
Remove r200*.h files dependency.
2006-09-20try to use a 8888 texture format which will result in only a memcopy in ↵Roland Scheidegger
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.
2006-09-14Fallback if ColorLogicOp is enabled. Cleanup a bit the fallbackJerome Glisse
function.
2006-09-14Remove MESA_LITTLE_ENDIAN guard for code that seems to work fine on big endian.Michel Dänzer
2006-09-12Fix compilation warning.Jerome Glisse
2006-09-12Removing some of r200 dependency, cleaning up code a bit,Jerome Glisse
and fixing a couple of warning. More cleanup and shuffle to come. I have tested this change they might broke things especialy with r300_texstate.c change (format_x doesn't seems to be use at all by r300).
2006-09-04Managed to make a commit that can't build... Sorry again...Rune Petersen
2006-09-03add missing change to skip low impact RAST fallback...Rune Petersen
Sorry.
2006-08-31re-apply shader fix.Rune Petersen
appears to have been reverted by mistake.
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-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-26fix #8008Aapo Tahkola
2006-08-24fix bad casts, carry over r200 fix to check for null program string in ↵Brian Paul
r300_translate_vertex_shader()
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-15Enable support for GL_EXT_gpu_program_parameters for R300.Ian Romanick
2006-08-12gcc-4.1.1 compile fixAapo Tahkola
2006-08-11support shorts as vertex dataAapo Tahkola
2006-07-31fix #6991Aapo Tahkola
2006-07-27r300_emit.h cleanup.Jerome Glisse
Remove unused macro Replace LOCAL_VAR, PREFIX* Indent code Remove radeon redundant CP type 3 packet
2006-07-20Some structure renaming. Prefix vertex/fragment-related structs withBrian Paul
"gl_" to match other structs.
2006-07-15A small logic error.Rune Petersen
We need to call do_swizzle() when the scaler _or_ vector unit have a swizzle other 000/ZERO/111/ONE. This ensures that the gloss on banners in ut2004 is not angel-dependent (since when was banners glossy?).
2006-07-11_mesa_destroy_context() frees radeon->glCtx so we must not access it afterwardsTilman Sauerbeck
2006-07-09Fix #7195Aapo Tahkola
2006-07-05R300_RR_ROUTE_1 still needs to be initialized.Aapo Tahkola
2006-07-04Add R300_VAP_CNTL 0x2140 and cosmetic cleanup.Jerome Glisse
2006-07-03Add copyright header and minor cleanup.Jerome Glisse
2006-07-01initialize offset to avoid bogus warnings from valgrindTilman Sauerbeck
2006-06-30Vertex/fragment program patches (Rune Petersen)Brian Paul
2006-06-29Fix typo.Jerome Glisse
2006-06-29destroy left-over VBOs on shutdownTilman Sauerbeck
2006-06-29instead of messing with _TNL_LAST_GENERIC and _TNL_FIRST_GENERIC, use ↵Tilman Sauerbeck
_TNL_NUM_GENERIC. this fixes an off-by-one error (we didn't handle the final attribute)
2006-06-29cleanup, avoid magic valuesTilman Sauerbeck
2006-06-27Fix stencil clears that have caused problems with redbook/stencil, ↵Aapo Tahkola
tests/stencilwrap and ut2k4 adrenaline pills.
2006-06-27Fix generic vertex attribs (Rune Petersen)Aapo Tahkola
2006-06-23more cleanupsTilman Sauerbeck
2006-06-18no need to handle ARL in a special way, it's a generic scalar operation. ↵Tilman Sauerbeck
only tested on r300.
2006-06-18fix broken address register readsAapo Tahkola
2006-06-12Make r300 driver build with GL_APPLE_vertex_array_object changes.Ian Romanick
Sorry for the breakage. These changes are only build tested.
2006-06-11destroy the memory manager along with the contextTilman Sauerbeck
2006-06-08include tnl/tnl.h for _tnl_program_string()Tilman Sauerbeck
2006-06-08mark ARL operand as scalar (Roland Scheidegger)Tilman Sauerbeck