aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* check for either GL_NV_vertex_program or GL_ARB_vertex_program for some enablesBrian Paul2004-08-181-12/+13
|
* updates from JoukBrian Paul2004-08-183-9/+11
|
* 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
|
* Add glutGetProcAddress(). Not all GLUT version 5 APIs are supported yet, ↵Philippe Houdoin2004-08-163-40/+204
| | | | | | thought. -> #define GLUT_API_VERSION 4.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
|
* Clearer guard message text.Philippe Houdoin2004-08-162-2/+2
|
* 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
|
* Remove obsoleted BeOS-specific makefiles.Philippe Houdoin2004-08-143-148/+56
| | | | | Add a makefile to build old Mesa GLU, whatever it worth. Add a guard to stop building libGLU.so on BeOS, as it's build into libGL.so.
* Add a guard to stop building libGLU.so under BeOS, as it's build into libGL.so.Philippe Houdoin2004-08-141-2/+10
|
* 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.
* Replaced the .cpp-ized (for build issue) common GLUT source files by theirPhilippe Houdoin2004-08-142-1874/+0
| | | | | standard .c version. Remove unused libglut.def.
* Replaced the .cpp-ized (for build issue) common GLUT source files by theirPhilippe Houdoin2004-08-1418-233/+2135
| | | | | standard .c version. Remove outdated Makefile.orig.
* Update to Jake Hamby's BeOS GLUT 3.7 port.Philippe Houdoin2004-08-1419-169/+1103
|
* Move to $(TOP)/configs/default-based makefile.Philippe Houdoin2004-08-141-113/+84
|
* 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 from Rogelio Serrano for miniglx double bufferingJon Smirl2004-08-091-7/+8
|
* 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
|