Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | If an application cleared before any state had been emitted, that clear would | Eric Anholt | 2004-10-02 | 2 | -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 Anholt | 2004-10-02 | 14 | -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 the | Eric Anholt | 2004-10-02 | 1 | -0/+7 |
| | | | | r128 code. | ||||
* | Cut out all of the old texture environment code and rewrote it from | Ian Romanick | 2004-10-02 | 4 | -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. | ||||
* | minor updates and improvements | Karl Schultz | 2004-10-01 | 1 | -11/+28 |
| | |||||
* | Add the glut project to the demos workspace. | Karl Schultz | 2004-10-01 | 1 | -0/+138 |
| | |||||
* | Remove glut project from the Mesa workspace. This allows users to build | Karl Schultz | 2004-10-01 | 1 | -26/+11 |
| | | | | | | this entire workspace by only unzipping MesaLib.zip. The project will be moved to the demos workspace, which is contained in the MesaDemos zip file. | ||||
* | Add HP shared lib configs. | Karl Schultz | 2004-10-01 | 1 | -0/+2 |
| | |||||
* | HP shared lib config | Karl Schultz | 2004-10-01 | 2 | -0/+53 |
| | |||||
* | Replace the numerous switch-statements to derive GL_COMBINE post-scale | Ian Romanick | 2004-10-01 | 1 | -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 problems in previous version | Karl Schultz | 2004-10-01 | 1 | -3/+3 |
| | |||||
* | Enable builds on AIX 64-bit | Karl Schultz | 2004-10-01 | 3 | -1/+53 |
| | |||||
* | Fix mesa solo with doublebuffered apps, the drawable index/stamp weren't | Dave Airlie | 2004-10-01 | 1 | -4/+11 |
| | | | | being updated properly.. | ||||
* | Factored out code for setting texture coordinate wrap bits. Added support | Ian Romanick | 2004-09-30 | 2 | -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 fix | Brian Paul | 2004-09-30 | 1 | -11/+11 |
| | |||||
* | Bugzilla #1058: Fix some potential 64bit pointer issues by storing differences | Eric Anholt | 2004-09-30 | 1 | -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 full | Eric Anholt | 2004-09-30 | 13 | -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 | ||||
* | Fix bug in glDrawPixels when writing color indexed images on color indexed | Karl Schultz | 2004-09-28 | 1 | -2/+2 |
| | | | | | devices. In draw_index_pixels(), use the correct variables for the span Y and span end values. | ||||
* | Initial revision | Nicolai Haehnle | 2004-09-28 | 28 | -0/+8258 |
| | |||||
* | use GLuint instead of uint | Daniel Borca | 2004-09-28 | 1 | -1/+1 |
| | |||||
* | version bump | Brian Paul | 2004-09-27 | 1 | -1/+1 |
| | |||||
* | change include of glx_mangle.h to match other headers | Brian Paul | 2004-09-27 | 1 | -3/+3 |
| | |||||
* | remove beos/*.h files from tarball list | Brian Paul | 2004-09-27 | 1 | -1/+0 |
| | |||||
* | bump minor version to 2 | Brian Paul | 2004-09-27 | 1 | -1/+1 |
| | |||||
* | VBO RefCount fix (David Reveman) | Brian Paul | 2004-09-27 | 2 | -0/+10 |
| | |||||
* | stencil wrap works, either HW or SW (Ian Romanick) | Daniel Borca | 2004-09-27 | 1 | -4/+1 |
| | |||||
* | Bump driver_date for today's fixes. | Eric Anholt | 2004-09-25 | 1 | -1/+1 |
| | |||||
* | Can't bail in sisDDLogicOpCode when logicop is off, because it's called with | Eric Anholt | 2004-09-25 | 1 | -3/+0 |
| | | | | GL_COPY to turn off logicop. Fixes glean's logicop test. | ||||
* | Triangle stipple is a fallback, since we don't have code for the stippling. | Eric Anholt | 2004-09-25 | 1 | -1/+1 |
| | | | | Doesn't seem to help with glean's paths test, but I'm pretty sure it's correct. | ||||
* | Correct a couple of comments. | Eric Anholt | 2004-09-25 | 1 | -2/+2 |
| | |||||
* | Fix SiS AGP vertex dispatch by not trying to emit 0 vertices, which would hang | Eric Anholt | 2004-09-25 | 3 | -3/+5 |
| | | | | the hardware. Re-enable AGP by default. | ||||
* | Add sis to the list of DRI drivers, since it had already been converted to the | Eric Anholt | 2004-09-25 | 1 | -4/+4 |
| | | | | new interface. | ||||
* | Refactor the linux-dri config files so that linux-dri-x86 inherits from | Eric Anholt | 2004-09-25 | 2 | -32/+16 |
| | | | | | | | linux-dri. Turn on -O by default (-O2 provides a slight improvement in performance, at a large cost to debuggability). Turn off -fPIC on x86 by default. Turn on -Wall, to catch more stupid mistakes. This could be both done cleaner, and done for more config files, but it works for me for now. | ||||
* | The previous code would emit a full set of state during the first EmitState on | Eric Anholt | 2004-09-25 | 10 | -150/+177 |
| | | | | | | | | | | | | a new cmdbuf, to ensure that state wasn't lost across UNLOCK/LOCK pairs (in the case of context switching). This was rather inefficient. Instead, after flushing a cmdbuf, mark the state as needing to be saved on unlock. Then, at the beginning of flushing a cmdbuf, if we actually have lost the context, go back and emit a new cmdbuf with the full set of state, before continuing with the cmdbuf flush. Provides a 10-15% improvement in ipers performance in my tests, along with other apps. Tested with: ipers, glxgears, quake3 | ||||
* | Fix texturing in quake3. Some code was left over from the dirty/clean list | Eric Anholt | 2004-09-25 | 2 | -6/+3 |
| | | | | setup that now removed atoms from the atomlist on texture deletion. | ||||
* | Bump DRIVER_DATE for yesterday's changes. | Eric Anholt | 2004-09-25 | 1 | -1/+1 |
| | |||||
* | moved to demos/ directory | Brian Paul | 2004-09-24 | 2 | -577/+0 |
| | |||||
* | moved in from the tests/ directory to include in distro | Brian Paul | 2004-09-24 | 2 | -0/+572 |
| | |||||
* | updated osmesa info | Brian Paul | 2004-09-24 | 1 | -12/+9 |
| | |||||
* | patches for clearing hw depth buffers from software fallback (Nicolai Haehnle) | Brian Paul | 2004-09-24 | 4 | -10/+117 |
| | |||||
* | added (back!) option to use non-packedcolor | Daniel Borca | 2004-09-24 | 8 | -4/+203 |
| | |||||
* | -O -Wall warnings cleanups in r200. | Eric Anholt | 2004-09-24 | 5 | -6/+12 |
| | |||||
* | Clean up some warnings in the R100 driver with -O -Wall. | Eric Anholt | 2004-09-24 | 3 | -4/+16 |
| | |||||
* | Remove an unnecessary calculation of the dest pointer. | Eric Anholt | 2004-09-24 | 1 | -2/+1 |
| | |||||
* | don't test for NULL pixels pointer here, do that in the 'store' routines ↵ | Brian Paul | 2004-09-23 | 1 | -6/+9 |
| | | | | after validating PBO address | ||||
* | removed hacked GL tokens, fixed a printf | Brian Paul | 2004-09-23 | 1 | -9/+1 |
| | |||||
* | added a comment in BindTexture | Brian Paul | 2004-09-23 | 1 | -0/+4 |
| | |||||
* | just some comments and formatting changes | Brian Paul | 2004-09-23 | 1 | -32/+36 |
| | |||||
* | fix for Erics new emit state code, rework out the dest pointer | Dave Airlie | 2004-09-23 | 1 | -0/+3 |
| | | | | after we check the buffer | ||||
* | The previous code would emit a full set of state during the first EmitState on | Eric Anholt | 2004-09-22 | 8 | -125/+168 |
| | | | | | | | | | | | | | a new cmdbuf, to ensure that state wasn't lost across UNLOCK/LOCK pairs (in the case of context switching). This was rather inefficient. Instead, after flushing a cmdbuf, mark the state as needing to be saved on UNLOCK. Then, at the beginning of flushing a cmdbuf, if we actually have lost the context, go back and emit a new cmdbuf with the full set of state, before continuing with the cmdbuf flush. Also, remove the dirty/clean atom lists, since atoms are emitted in a fixed order these days, and go with a simpler single list. Provides a 14% improvement in ipers performance in my tests, along with other apps. |