Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert the move of lost_context setting to UNLOCK_HARDWARE that was done in the | Eric Anholt | 2004-08-17 | 4 | -28/+45 |
| | | | | | | | | | | last commit. I've been convinced by keithw that it's sufficient, and put a note in the code about it. Close another race for state in the Clear functions. I made the situation worse in my last commit, but this should fix things. Might be a slight performance hit, which could be regained by splitting the R*_FIREVERTICES calls in r*Clear up so that the EmitState doesn't happen in a separate new cmdbuf. | ||||
* | don't enable the float texture and GLhalf pixel extensions yet | Brian Paul | 2004-08-17 | 1 | -4/+7 |
| | |||||
* | Fixed an assembler warning / error (depending on the version of GAS used). | Ian Romanick | 2004-08-17 | 2 | -22/+6 |
| | | | | Fixed a crash in the optimized pthreads dispatch path. | ||||
* | Close some races with locking on R100 and R200 which could manifest as rendering | Eric Anholt | 2004-08-17 | 15 | -30/+118 |
| | | | | | | | | | | | | | | | | | | | | errors on r100 and rendering errors and hangs on r200 (same for R100 without OLD_PACKETS). If a command buffer filled after some state (EmitState or a VBPNTR write) was emitted, the lock was grabbed, the buffer flushed, a new buffer prepared, and the lock dropped. Another client could come in, set its own state as part of rendering, and when the first client flushed the rendering commands depending on the previous state, it got the 2nd client's state. This is fixed by checking for enough space before beginning a set of state emits and rendering, and flushing the buffer first if so. This guarantees that the buffer won't wrap. Also, move the "lost_context = 1" from the end of cmdbuf flushing to UNLOCK_HARDWARE for clarity (at a minimum) that any time the lock is dropped, state may get overwritten. We don't have enough information at the point of the LOCK_HARDWARE to reset our state to the last UNLOCK_HARDWARE point in the case that we did lose our context, but saving the information to rebuild that state may be a useful optimization (ipers data suggests up to 5%). | ||||
* | whitespace clean-up, new 'clean' commands | Brian Paul | 2004-08-16 | 1 | -5/+5 |
| | |||||
* | Stupid me. I don't know why I moved the GLView.h here at first, but now I ↵ | Philippe Houdoin | 2004-08-16 | 2 | -193/+1 |
| | | | | | | | | | | | know why I shouldn't: Official BeOS GLView.h defines a virtual ErrorCallback(GLenum) method, assuming a unsigned long GLenum. But under Mesa, GLenum is unsigned int. To keep binary compatibility, BeOS apps including Mesa GL/gl.h MUST include *our* GLView.h, or linker will report a missing ErrorCallback(unsigned int) symbol. Glup. | ||||
* | cleanup | Daniel Borca | 2004-08-16 | 5 | -37/+14 |
| | |||||
* | fixed texture fetchers, fixed automatic mipmap generation, some cleanup | Daniel Borca | 2004-08-16 | 1 | -22/+71 |
| | |||||
* | fixed pixel drawing routines, some cleanup | Daniel Borca | 2004-08-16 | 1 | -8/+142 |
| | |||||
* | disabled stereo checking in wglChoosePixelFormat | Daniel Borca | 2004-08-16 | 1 | -0/+5 |
| | |||||
* | Remove unused HAVE_INDEX define. | Eric Anholt | 2004-08-16 | 2 | -2/+0 |
| | |||||
* | Update Visual Studio Project file for src tree updates. | Karl Schultz | 2004-08-14 | 4 | -48/+36 |
| | |||||
* | New Visual Studio project file for this directory. | Karl Schultz | 2004-08-14 | 1 | -0/+197 |
| | |||||
* | Minor tweaks to deal with vsnprintf and __FUNCTION__ on WIN32 | Karl Schultz | 2004-08-14 | 1 | -1/+8 |
| | |||||
* | fix some memory leaks (bug #1002030) | Brian Paul | 2004-08-14 | 6 | -42/+101 |
| | |||||
* | Forgot to commit this valuable file! :-) | Philippe Houdoin | 2004-08-14 | 1 | -0/+195 |
| | |||||
* | Remove obsoleted BeOS-specific makefile as the main Makefile system now | Philippe Houdoin | 2004-08-14 | 1 | -453/+0 |
| | | | | support BeOS platform too. | ||||
* | Obsoleted. Now, the BeOS targets build by main Makefiles chain. | Philippe Houdoin | 2004-08-14 | 1 | -303/+0 |
| | |||||
* | Silent compiler "variable may be used uninitialized" warnings. | Philippe Houdoin | 2004-08-14 | 1 | -5/+6 |
| | |||||
* | BeOS's _glthread_DECLARE_STATIC_MUTEX() couldn't be used outside a function | Philippe Houdoin | 2004-08-14 | 1 | -6/+9 |
| | | | | | because she called create_sem(). Now the semaphore creation is made at first _glthread_LOCK_MUTEX() call. | ||||
* | Fix a bug that set RGBA bits length always to 0 (reported by Marcin Konicki). | Philippe Houdoin | 2004-08-14 | 2 | -211/+232 |
| | | | | | | | | | PPC byte order now supported (thanks Nathan Whitehorn). Double buffering is now always forced. Unlock the BGLView looper only if needed. Should fix the GLUT-based apps crash at window closing. SwapBuffers() now can wait for next vertical retrace. And several other minor changes... | ||||
* | build fix from XFree86 tree | Dave Airlie | 2004-08-14 | 1 | -1/+1 |
| | |||||
* | Move BeOS build into main Makefiles chain. | Philippe Houdoin | 2004-08-14 | 1 | -5/+11 |
| | |||||
* | bring over change from xorg trunk - let build on non-i386 | Dave Airlie | 2004-08-14 | 1 | -1/+1 |
| | |||||
* | bring over build fix from xorg tree | Dave Airlie | 2004-08-14 | 1 | -0/+4 |
| | |||||
* | Fix dri_util.c build with new headers. | Eric Anholt | 2004-08-12 | 1 | -1/+1 |
| | | | | Submitted by: John Lightsey <[email protected]> | ||||
* | added some handy debug code (disabled) | Brian Paul | 2004-08-10 | 1 | -0/+25 |
| | |||||
* | added a few more debug printfs (disabled) | Brian Paul | 2004-08-10 | 1 | -0/+14 |
| | |||||
* | fix incorrect overflow detection when emitting R200_SS_MAT_1_SHININESS | Roland Scheidegger | 2004-08-03 | 1 | -1/+1 |
| | |||||
* | xorg-r200-uninitialized-variable-used.patch from Redhat xorg | Dave Airlie | 2004-07-31 | 1 | -1/+2 |
| | |||||
* | disabled automatic mipmaps until we can handle 565 textures. | Daniel Borca | 2004-07-29 | 1 | -0/+2 |
| | |||||
* | fixed conflict between depth & alpha in 16bpp | Daniel Borca | 2004-07-29 | 1 | -1/+1 |
| | |||||
* | disable W1 when single-texturing | Daniel Borca | 2004-07-26 | 1 | -6/+6 |
| | |||||
* | consistantly use unpack parameter, instead of ctx->Unpack (Daniel Borca) | Brian Paul | 2004-07-26 | 1 | -26/+32 |
| | |||||
* | Fixed hash table allocation to avoid an assertion failure due to a | Felix Kuehling | 2004-07-26 | 1 | -5/+9 |
| | | | | bad config file. Fixed two more typos. | ||||
* | Rush is back on ZBUFFER | Daniel Borca | 2004-07-26 | 1 | -49/+354 |
| | | | | added DrawPixels555 and DrawPixels565 | ||||
* | use GL_CALL() macro (Andreas Stenglein) | Brian Paul | 2004-07-24 | 1 | -20/+20 |
| | |||||
* | new MESA_GLX_DEPTH_BITS env var | Brian Paul | 2004-07-23 | 1 | -5/+26 |
| | |||||
* | minor comments | Brian Paul | 2004-07-23 | 1 | -0/+2 |
| | |||||
* | added support for MESA_GLX_FORCE_ALPHA env var | Brian Paul | 2004-07-23 | 1 | -0/+4 |
| | |||||
* | ALIGN16 macro repairs | Brian Paul | 2004-07-23 | 3 | -18/+16 |
| | |||||
* | fixed pixelpiped DrawBitmap / DrawPixels (clipping was upside-down) | Daniel Borca | 2004-07-23 | 1 | -31/+28 |
| | |||||
* | partial GL_BLEND for Voodoo1 | Daniel Borca | 2004-07-21 | 1 | -6/+16 |
| | |||||
* | fixed a bug in clear routine | Daniel Borca | 2004-07-21 | 1 | -4/+3 |
| | |||||
* | fix compare w/ zero warnings (bug 988766) | Brian Paul | 2004-07-20 | 2 | -6/+5 |
| | |||||
* | error message fixups and some debug code | Brian Paul | 2004-07-20 | 1 | -2/+13 |
| | |||||
* | fix compare w/ zero warnings (bug #988766) | Brian Paul | 2004-07-20 | 2 | -9/+13 |
| | |||||
* | GL_EXT_texture_env_add shouldn't be conditioned by multitex, or should it? | Daniel Borca | 2004-07-20 | 1 | -1/+1 |
| | |||||
* | trying vertex_program... | Daniel Borca | 2004-07-19 | 1 | -1/+4 |
| | |||||
* | several new bugs | Daniel Borca | 2004-07-19 | 12 | -1016/+1521 |
| |