summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Revert the move of lost_context setting to UNLOCK_HARDWARE that was done in theEric Anholt2004-08-174-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 yetBrian Paul2004-08-171-4/+7
|
* Fixed an assembler warning / error (depending on the version of GAS used).Ian Romanick2004-08-172-22/+6
| | | | Fixed a crash in the optimized pthreads dispatch path.
* Close some races with locking on R100 and R200 which could manifest as renderingEric Anholt2004-08-1715-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' commandsBrian Paul2004-08-161-5/+5
|
* Stupid me. I don't know why I moved the GLView.h here at first, but now I ↵Philippe Houdoin2004-08-162-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.
* cleanupDaniel Borca2004-08-165-37/+14
|
* fixed texture fetchers, fixed automatic mipmap generation, some cleanupDaniel Borca2004-08-161-22/+71
|
* fixed pixel drawing routines, some cleanupDaniel Borca2004-08-161-8/+142
|
* disabled stereo checking in wglChoosePixelFormatDaniel Borca2004-08-161-0/+5
|
* Remove unused HAVE_INDEX define.Eric Anholt2004-08-162-2/+0
|
* Update Visual Studio Project file for src tree updates.Karl Schultz2004-08-144-48/+36
|
* New Visual Studio project file for this directory.Karl Schultz2004-08-141-0/+197
|
* Minor tweaks to deal with vsnprintf and __FUNCTION__ on WIN32Karl Schultz2004-08-141-1/+8
|
* fix some memory leaks (bug #1002030)Brian Paul2004-08-146-42/+101
|
* Forgot to commit this valuable file! :-)Philippe Houdoin2004-08-141-0/+195
|
* Remove obsoleted BeOS-specific makefile as the main Makefile system nowPhilippe Houdoin2004-08-141-453/+0
| | | | support BeOS platform too.
* Obsoleted. Now, the BeOS targets build by main Makefiles chain.Philippe Houdoin2004-08-141-303/+0
|
* Silent compiler "variable may be used uninitialized" warnings.Philippe Houdoin2004-08-141-5/+6
|
* BeOS's _glthread_DECLARE_STATIC_MUTEX() couldn't be used outside a functionPhilippe Houdoin2004-08-141-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 Houdoin2004-08-142-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 treeDave Airlie2004-08-141-1/+1
|
* Move BeOS build into main Makefiles chain.Philippe Houdoin2004-08-141-5/+11
|
* bring over change from xorg trunk - let build on non-i386Dave Airlie2004-08-141-1/+1
|
* bring over build fix from xorg treeDave Airlie2004-08-141-0/+4
|
* Fix dri_util.c build with new headers.Eric Anholt2004-08-121-1/+1
| | | | Submitted by: John Lightsey <[email protected]>
* added some handy debug code (disabled)Brian Paul2004-08-101-0/+25
|
* added a few more debug printfs (disabled)Brian Paul2004-08-101-0/+14
|
* fix incorrect overflow detection when emitting R200_SS_MAT_1_SHININESSRoland Scheidegger2004-08-031-1/+1
|
* xorg-r200-uninitialized-variable-used.patch from Redhat xorgDave Airlie2004-07-311-1/+2
|
* disabled automatic mipmaps until we can handle 565 textures.Daniel Borca2004-07-291-0/+2
|
* fixed conflict between depth & alpha in 16bppDaniel Borca2004-07-291-1/+1
|
* disable W1 when single-texturingDaniel Borca2004-07-261-6/+6
|
* consistantly use unpack parameter, instead of ctx->Unpack (Daniel Borca)Brian Paul2004-07-261-26/+32
|
* Fixed hash table allocation to avoid an assertion failure due to aFelix Kuehling2004-07-261-5/+9
| | | | bad config file. Fixed two more typos.
* Rush is back on ZBUFFERDaniel Borca2004-07-261-49/+354
| | | | added DrawPixels555 and DrawPixels565
* use GL_CALL() macro (Andreas Stenglein)Brian Paul2004-07-241-20/+20
|
* new MESA_GLX_DEPTH_BITS env varBrian Paul2004-07-231-5/+26
|
* minor commentsBrian Paul2004-07-231-0/+2
|
* added support for MESA_GLX_FORCE_ALPHA env varBrian Paul2004-07-231-0/+4
|
* ALIGN16 macro repairsBrian Paul2004-07-233-18/+16
|
* fixed pixelpiped DrawBitmap / DrawPixels (clipping was upside-down)Daniel Borca2004-07-231-31/+28
|
* partial GL_BLEND for Voodoo1Daniel Borca2004-07-211-6/+16
|
* fixed a bug in clear routineDaniel Borca2004-07-211-4/+3
|
* fix compare w/ zero warnings (bug 988766)Brian Paul2004-07-202-6/+5
|
* error message fixups and some debug codeBrian Paul2004-07-201-2/+13
|
* fix compare w/ zero warnings (bug #988766)Brian Paul2004-07-202-9/+13
|
* GL_EXT_texture_env_add shouldn't be conditioned by multitex, or should it?Daniel Borca2004-07-201-1/+1
|
* trying vertex_program...Daniel Borca2004-07-191-1/+4
|
* several new bugsDaniel Borca2004-07-1912-1016/+1521
|