summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-10-02If an application cleared before any state had been emitted, that clear wouldEric Anholt
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.
2004-10-02Convert Rage 128 over to t_vertex.c. While it's slightly slower (10% in ipers)Eric Anholt
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)
2004-10-02Add an option for vertices emitted to be swapped CPU_TO_LE32, to be used by theEric Anholt
r128 code.
2004-10-02Cut out all of the old texture environment code and rewrote it fromIan Romanick
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.
2004-10-01minor updates and improvementsKarl Schultz
2004-10-01Add the glut project to the demos workspace.Karl Schultz
2004-10-01Remove glut project from the Mesa workspace. This allows users to buildKarl Schultz
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.
2004-10-01Add HP shared lib configs.Karl Schultz
2004-10-01HP shared lib configKarl Schultz
2004-10-01Replace the numerous switch-statements to derive GL_COMBINE post-scaleIan Romanick
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.
2004-10-01fix problems in previous versionKarl Schultz
2004-10-01Enable builds on AIX 64-bitKarl Schultz
2004-10-01Fix mesa solo with doublebuffered apps, the drawable index/stamp weren'tDave Airlie
being updated properly..
2004-09-30Factored out code for setting texture coordinate wrap bits. Added supportIan Romanick
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.
2004-09-30set span.y prior to each span write in draw_depth_pixels, like Karl's other fixBrian Paul
2004-09-30Bugzilla #1058: Fix some potential 64bit pointer issues by storing differencesEric Anholt
between pointers in appropriate types. Submitted by: Ronny V. Vindenes <s864@ii.uib.no>
2004-09-30OK, one more time. Simplify the state-backup system by just storing the fullEric Anholt
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
2004-09-28Fix bug in glDrawPixels when writing color indexed images on color indexedKarl Schultz
devices. In draw_index_pixels(), use the correct variables for the span Y and span end values.
2004-09-28Initial revisionNicolai Haehnle
2004-09-28use GLuint instead of uintDaniel Borca
2004-09-27version bumpBrian Paul
2004-09-27change include of glx_mangle.h to match other headersBrian Paul
2004-09-27remove beos/*.h files from tarball listBrian Paul
2004-09-27bump minor version to 2Brian Paul
2004-09-27VBO RefCount fix (David Reveman)Brian Paul
2004-09-27stencil wrap works, either HW or SW (Ian Romanick)Daniel Borca
2004-09-25Bump driver_date for today's fixes.Eric Anholt
2004-09-25Can't bail in sisDDLogicOpCode when logicop is off, because it's called withEric Anholt
GL_COPY to turn off logicop. Fixes glean's logicop test.
2004-09-25Triangle stipple is a fallback, since we don't have code for the stippling.Eric Anholt
Doesn't seem to help with glean's paths test, but I'm pretty sure it's correct.
2004-09-25Correct a couple of comments.Eric Anholt
2004-09-25Fix SiS AGP vertex dispatch by not trying to emit 0 vertices, which would hangEric Anholt
the hardware. Re-enable AGP by default.
2004-09-25Add sis to the list of DRI drivers, since it had already been converted to theEric Anholt
new interface.
2004-09-25Refactor the linux-dri config files so that linux-dri-x86 inherits fromEric Anholt
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.
2004-09-25The previous code would emit a full set of state during the first EmitState onEric Anholt
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
2004-09-25Fix texturing in quake3. Some code was left over from the dirty/clean listEric Anholt
setup that now removed atoms from the atomlist on texture deletion.
2004-09-25Bump DRIVER_DATE for yesterday's changes.Eric Anholt
2004-09-24moved to demos/ directoryBrian Paul
2004-09-24moved in from the tests/ directory to include in distroBrian Paul
2004-09-24updated osmesa infoBrian Paul
2004-09-24patches for clearing hw depth buffers from software fallback (Nicolai Haehnle)Brian Paul
2004-09-24added (back!) option to use non-packedcolorDaniel Borca
2004-09-24-O -Wall warnings cleanups in r200.Eric Anholt
2004-09-24Clean up some warnings in the R100 driver with -O -Wall.Eric Anholt
2004-09-24Remove an unnecessary calculation of the dest pointer.Eric Anholt
2004-09-23don't test for NULL pixels pointer here, do that in the 'store' routines ↵Brian Paul
after validating PBO address
2004-09-23removed hacked GL tokens, fixed a printfBrian Paul
2004-09-23added a comment in BindTextureBrian Paul
2004-09-23just some comments and formatting changesBrian Paul
2004-09-23fix for Erics new emit state code, rework out the dest pointerDave Airlie
after we check the buffer
2004-09-22The previous code would emit a full set of state during the first EmitState onEric Anholt
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.