summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* add more mess to the dynamic linking systemDaniel Borca2004-10-121-25/+35
|
* add newline to end of fileDaniel Borca2004-10-121-1/+1
|
* Fix strange white space that gcc didn't like.Felix Kuehling2004-10-111-1/+1
|
* Prefix operator and constructor keywords with two consequtive underscoresMichal Krol2004-10-111-327/+327
| | | | ( __ ). This will be more compatible with glslang spec.
* Enable draw_buffers only if GL_ARB_draw_buffers string isMichal Krol2004-10-111-1/+12
| | | | | present in GL_EXTENSIONS string. Parse OPTION ARB_draw_buffers.
* This statechange is vtx state, not tcl.Eric Anholt2004-10-091-1/+1
|
* Use the right FALLBACK macro for projtex so that projective textures actuallyEric Anholt2004-10-081-11/+7
| | | | cause a fallback, and simplify the tmu handling a little.
* Add fallback debugging (R128_DEBUG=fall) output, and set DO_DEBUG=1 by defaultEric Anholt2004-10-084-13/+52
| | | | | so that we can use the env var to get output. Add a no_rast driconf option to force software fallbacks.
* Don't compile WriteMonoDepthSpan if HAVE_HW_DEPTH_SPANS is defined -- it won'tEric Anholt2004-10-081-0/+2
| | | | | be used in that case, and it wanting WRITE_DEPTH was making r128 die on the undefined symbol.
* Add support for NV_blend_square, and print errors if an unsupported blendEric Anholt2004-10-083-10/+27
| | | | function is used.
* Massively cleaned up the code that calculates front/back/depth bufferIan Romanick2004-10-084-342/+126
| | | | | | pitch and size. Cut out a bunch of dead code. This fixes bugzilla #1555.
* Reject unsupported texture formats passed to glCompressedTexImage?D. ThisIan Romanick2004-10-081-0/+3
| | | | fixes Mesa bug #1028405.
* Apply Eric's stencil wrap patch (Eric Anholt)Alex Deucher2004-10-087-195/+147
|
* Add Roland Scheidegger's S3TC patch. This patch does not implement theEric Anholt2004-10-0725-44/+627
| | | | | | | | | | | | | | | | | (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.
* Fix emitting fog without secondary color and vice-versa.Felix Kuehling2004-10-071-19/+46
|
* *** empty log message ***Karl Schultz2004-10-061-0/+15
|
* more GL_ARB_draw_buffers updates from Michale KrolBrian Paul2004-10-062-63/+54
|
* fix GetVertexAttrib problemBrian Paul2004-10-061-1/+4
|
* Convert tdfxDDInitExtensions to use driInitExtensions.Ian Romanick2004-10-061-43/+55
|
* put Rush in the list of supported HWDaniel Borca2004-10-051-3/+3
|
* stencil wrap works, either HW or SW (Ian Romanick)Daniel Borca2004-10-051-4/+1
|
* enable 2_0 extensionsDaniel Borca2004-10-051-0/+1
|
* Use the driFillInModes utility function.Ian Romanick2004-10-041-85/+32
|
* Also export fbconfigs with 0/0 depth/stencil modes. This fixes "driverIan Romanick2004-10-041-4/+6
| | | | claims not to support visual 0xXX" warnings in X.org 6.8.1.
* Add some Savage3D stencil documentation based on discussions during theIan Romanick2004-10-041-0/+15
| | | | 20-Sep-2004 #dri-devel meeting.
* make clean should remove depend.bak too (Sérgio Moneiro Basto)Brian Paul2004-10-043-3/+4
|
* ARB_fp support for GL_ARB_draw_buffers (Karl Rasche)Brian Paul2004-10-044-9/+69
|
* Set MaxTextureImageUnits and MaxTextureCoordUnits to match MaxTextureUnits.Ian Romanick2004-10-041-0/+2
| | | | This fixes bugzilla #1511.
* The alpha post-scale and the RGB post-scale were mistakenly reversed.Ian Romanick2004-10-041-5/+9
|
* Remove empty r128_vb.h.Eric Anholt2004-10-031-0/+0
|
* put glapi_x86.S into the x86/ directoryBrian Paul2004-10-021-3/+3
|
* remove unused413 stuff, glDrawBuffersARB uses that slot nowBrian Paul2004-10-023-4/+1
|
* GL_ARB_draw_buffersBrian Paul2004-10-021-1/+2
|
* fix _DrawDestMask[0][0] typosBrian Paul2004-10-021-2/+2
|
* added support for GL_ARB_draw_buffersBrian Paul2004-10-0260-1817/+2153
|
* fix indentationBrian Paul2004-10-021-12/+6
|
* fix a commentBrian Paul2004-10-021-2/+2
|
* bump version to 6.3Brian Paul2004-10-021-3/+3
|
* fix LoadProgramNV regression when I had fixed the RefCount bugBrian Paul2004-10-023-9/+12
|
* 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.
* Convert Rage 128 over to t_vertex.c. While it's slightly slower (10% in ipers)Eric Anholt2004-10-0214-786/+195
| | | | | | | | it's not that big of a deal in more normal apps, and axes a good bit of code. And I assume that t_vertex will only get faster. Removes ~43k from compiled binary. Tested with: quake3, ut, ipers, texcyl, chromium, tuxracer, neverball (kinda)
* Add an option for vertices emitted to be swapped CPU_TO_LE32, to be used by theEric Anholt2004-10-021-0/+7
| | | | r128 code.
* Cut out all of the old texture environment code and rewrote it fromIan Romanick2004-10-024-4759/+390
| | | | | | | | | scratch. There were just too many cut-and-paste errors in the code, and it was too hard to follow. This fixes Mesa bugzilla #1508. #1509 is probably also fixed, but I'd like to do some more testing before I close that particular bug. Additionally, this cuts almost 4,600 lines of code from the driver.
* Replace the numerous switch-statements to derive GL_COMBINE post-scaleIan Romanick2004-10-011-419/+208
| | | | | | | | state with a function. This function sets the bits correctly. Did some trivial refactoring on some of the GL_COMBINE code. First pass at replacing classic texture environments with GL_COMBINE. This is controlled by the EXPERIMENTAL_COMBINE_MODE define.
* Fix mesa solo with doublebuffered apps, the drawable index/stamp weren'tDave Airlie2004-10-011-4/+11
| | | | being updated properly..
* Factored out code for setting texture coordinate wrap bits. Added supportIan Romanick2004-09-302-24/+47
| | | | | | for GL_ARB_texture_mirrored_repeat. Enabled GL_NV_blend_square. It has always actually been supported. Removed redundant EXT versions of ARB extension strings.
* set span.y prior to each span write in draw_depth_pixels, like Karl's other fixBrian Paul2004-09-301-11/+11
|
* 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-3013-108/+95
| | | | | | | | | 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