aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200
Commit message (Collapse)AuthorAgeFilesLines
* Calculate render inputs for tcl stage correctly (hint: they aren't theKeith Whitwell2005-05-131-1/+32
| | | | same as tnl->render_inputs). Fixes recent tcl problems.
* Refactor COMMON_SOURCES up to Makefile.templateAdam Jackson2005-05-051-12/+0
|
* Add drirenderbuffer.c to COMMON_SOURCESAdam Jackson2005-05-041-0/+1
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-047-28/+145
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* First pass at updating these drivers with pipeline_stage struct changes.Keith Whitwell2005-04-221-75/+5
|
* add support for user-configurable brilinear filtering on r200Roland Scheidegger2005-03-157-10/+37
|
* precedence precedence precedence.. add some bracketsDave Airlie2005-02-271-1/+1
|
* Add a dri config option to enable the max texture level hackDave Airlie2005-02-263-4/+13
| | | | make ycbcr depend on a CHIPSET define .. needs to be filled in though
* s/0/NULL/ (Jeff Muizelaar)Brian Paul2005-02-1712-23/+23
|
* remove extern (Jeff Muizelaar)Brian Paul2005-02-171-3/+3
|
* add some missing texture formats and bits from r200 docsDave Airlie2005-02-151-0/+8
|
* add texture micro and macro tiling to radeon/r200 driver. This can improve ↵Roland Scheidegger2005-02-105-46/+106
| | | | performance up to 15% in texture-intensive applications. Convert the driver to use the correct blit format and blit width instead of fixed blit format and blit width when uploading textures to make it work.
* add the new RADEON_CUBIC_OFFSET/FACES state packets/registers to radeon (and ↵Roland Scheidegger2005-02-101-0/+6
| | | | r200) sanity code
* (Andreas Stenglein) fix projected textures with swtcl, they need the w ↵Roland Scheidegger2005-02-102-2/+11
| | | | coordinate of the vertex (bugzilla #1648)
* SUBPIXEL fixes from DieterKeith Whitwell2005-02-081-2/+2
|
* Call _mesa_ResizeBuffersMESA() in r200Viewport(), fixes incorrect renderingMichel Dänzer2005-02-081-0/+3
| | | | in bzflag 2.0. (Alexander E. Patrakov)
* Bug #2428: #ifdef GLX_DIRECT_RENDERING in DRI drivers is pointless.Adam Jackson2005-01-3111-38/+0
|
* (Stephane Marchesin, me) Add support for color (framebuffer) tiling to the ↵Roland Scheidegger2005-01-268-35/+67
| | | | radeon and r200 driver
* Parallel build fix. Multiword variables on the target side of a : getAdam Jackson2005-01-081-2/+4
| | | | | | expanded into individual rules for each word, so parallel builds will start multiple instances to create the server/ symlinks and fail when they already exist.
* Also PUBLICize the config option tableAdam Jackson2004-12-161-1/+1
|
* Mark __driCreateNewScreen PUBLICAdam Jackson2004-12-151-0/+1
|
* uint*t -> u_int*t changesAlan Hourihane2004-12-144-10/+10
|
* Get linux-solo dependencies building correctly,Keith Whitwell2004-12-091-1/+1
| | | | Make sure symlinks are built in driver directories before running makedepend.
* back out Keiths last checkin - for Solo the include order is importantDave Airlie2004-12-091-3/+7
|
* (Stephane Marchesin, me) add hyperz support to radeon and r200 drivers. Only ↵Roland Scheidegger2004-12-088-7/+64
| | | | fast z clear and z buffer compression are supported for now, hierarchical-z is not. Still problems with multiple apps and z/stencil readback, which is why hyperz is disabled per default. Also add the new point sprite packet drm 1.13 accepts to the sanity code.
* Improve the behaviour of the build system wrt depend files.Keith Whitwell2004-12-081-5/+4
| | | | | | | | - Remove the -Y option for makedepend, so that the standard directories are searched - No longer pipe the multiple errors that the -Y option caused into /dev/null -- we want to know about these failures. - Fix up a few other misc makedepend failures.
* fix depth/stencil readback if coordinates are larger than 1023 ↵Roland Scheidegger2004-12-081-2/+2
| | | | (https://bugs.freedesktop.org/show_bug.cgi?id=2010). Should now work up to 2047, which is the current limit for 3d rendering.
* only enable GL_MESA_ycbcr_texture for real r200 chips, not the derivatives, ↵Roland Scheidegger2004-12-031-1/+5
| | | | since yuv textures do not work for some reason on the other chips.
* silence warningsAlan Hourihane2004-12-021-8/+13
|
* Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().Brian Paul2004-11-271-5/+0
| | | | | | | | Now, the driver's Viewport routine should call _mesa_ResizeBuffersMESA() if necessary. Cleaned up code related to GLframebuffer width/height initialization. Set initial viewport/scissor params in _mesa_make_current2(), instead of in the drivers' MakeCurrent functions.
* revert enabling of hw quads for swtcl. It lead to problems with quad_strips, ↵Roland Scheidegger2004-11-231-2/+2
| | | | since they'll get reduced to quads sometimes if hw quads are enabled. But this needs more thought, since it looks like clipped primitives will always be emitted as polys, so the reduced primitives for triangles, quads, quads_strips, polys all need to be the same, otherwise get lockups with for instance the olympic test. Render templates would probably need to be changed for this to work.
* enable hw quad primitive for swtclRoland Scheidegger2004-11-121-2/+2
|
* make render_quads_verts call EMIT_PRIM with the arguments in the right order,Adam Jackson2004-11-121-1/+1
| | | | | and enable hardware quads on r200 and radeon. samples/prim renders quads correctly now.
* GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul2004-11-101-2/+2
| | | | | | | and ignored for 1D and 2D images. Need to pass in image dimensions (1,2,3) to the _mesa_image_address() function. This change gets propogated to some other routines. Also added new _mesa_image_address[123]d() convenience functions.
* add some chip idsRoland Scheidegger2004-11-101-3/+16
|
* enable GL_EXT_fog_coord. Calculate fog factors and submit them instead of ↵Roland Scheidegger2004-11-039-9/+266
| | | | fog coords (it seems the chip cannot do fog factor computation when not using fragment depth as fog coord source). vtxfmt uses fallback for now (most code present but some magic would be needed if replaying vertices is necessary later on).
* Big-endian fixes for R200 sw TCL path.Ian Romanick2004-10-231-0/+21
|
* Fix compile errors when DEBUG is defined.Ian Romanick2004-10-181-2/+2
|
* Add code to support projective texturing and fix mixed enabling of textureEric Anholt2004-10-1611-270/+265
| | | | | | | | | | | | | | | coordinate generation. Original code by Roland Schiedegger, with changes by myself. While here, ensure that the swtcl path does tnl_install_attrs enough when fog/specular are being (en/dis)abled. Notable effects: - projtex test works with TCL and is closer with swtcl (Bugzilla #1461) - 8/9 squares work in texgenmix instead of 3. - texcyl "reflect" mode works (GL_SPHERE_MAP is now a fallback -- unclear if the hardware can actually support it). - flickering in doom3 replaced by just plain darkness. - blocktube fixed (Bugzilla #984) - fixes stex3d
* Always turn on the TAM_DEBUG3=0x6 workaround on real r200s. It appears thatEric Anholt2004-10-161-2/+8
| | | | | | | the current cases for turning it on were insufficient (Bugzilla #1519, 729, 814) and it has no significant performance impact. Performance tested with quake3 in GL_LINEAR mode both with and without anisotropy, with the workaround always on or always off.
* Add support for optimized versions of the code underlying ReadPixelsIan Romanick2004-10-141-62/+16
| | | | | | | | | (and DrawPixels). The R200, R128, and Unichrome drivers get support in this commit. Other drivers would be easy enough to add for people that have the cards. The DRI (CVS) build will need to be updated to account for the new source files.
* This statechange is vtx state, not tcl.Eric Anholt2004-10-091-1/+1
|
* Add Roland Scheidegger's S3TC patch. This patch does not implement theEric Anholt2004-10-075-8/+186
| | | | | | | | | | | | | | | | | (patented) S3TC/DXTC algorithms, but adds an option to dlopen a library module providing functions to do so. Because it uses dlopen, it is only enabled if USE_EXTERNAL_DXTN_LIB=1 is defined (which is only in linux-dri config, so far). It adds support for S3TC to several DRI drivers, and adds a DRI config option to force enabling S3TC even if the software compression/decompression is unavailable. This may allow people to use apps that require S3TC even though they don't have a license to implement the patented material themselves, if those apps use precompressed textures. Ideally we would get permission from the current holder of the patents to implement the algorithm in Mesa, at which point the dlopen mess could go away. Until then, this allows some to run applications they couldn't otherwise, and hopefully will provide us with more push to get the final step of getting that permission done.
* Prevent Y-offset from exceeding valid range in texture upload code. ThisIan Romanick2004-10-071-0/+8
| | | | fixes bugzilla #960.
* added support for GL_ARB_draw_buffersBrian Paul2004-10-022-3/+3
|
* If an application cleared before any state had been emitted, that clear wouldEric Anholt2004-10-022-4/+9
| | | | | | | | happen before any state had been set, causing a hang later on. Fix this by calling r200Flush instead of FIREVERTICES (which checks if any state has been emitted but not flushed, before calling Flush) in r200Clear. While here, add some more debugging info which was useful, and remove an unnecessary save/restore in BackUpAndEmit.
* Bugzilla #1058: Fix some potential 64bit pointer issues by storing differencesEric Anholt2004-09-301-3/+3
| | | | | | between pointers in appropriate types. Submitted by: Ronny V. Vindenes <[email protected]>
* OK, one more time. Simplify the state-backup system by just storing the fullEric Anholt2004-09-307-59/+53
| | | | | | | | | state in a ready-to-emit cmdbuf, which avoids the issue Nicolai Haehnle reported where the check() could return differently during backup-and-emit than it should have if it were called at the right time. Move the lit emission before most of the TCL state emission on r200, which fixes neverball issues. Tested with: r100/r200 with neverball, tuxracer, chromium, quake3, ipers
* Fix texturing in quake3. Some code was left over from the dirty/clean listEric Anholt2004-09-252-6/+3
| | | | setup that now removed atoms from the atomlist on texture deletion.
* Bump DRIVER_DATE for yesterday's changes.Eric Anholt2004-09-251-1/+1
|