Commit Graph

3650 Commits

Author SHA1 Message Date
Brian Paul
d0bdae8a28 print internalFormat value in r200ChooseTextureFormat() error message 2004-08-25 17:36:34 +00:00
Brian Paul
a6c423d956 Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch 1015696) 2004-08-25 15:59:48 +00:00
Brian Paul
866286936a regenerated with license info 2004-08-25 15:33:49 +00:00
Brian Paul
0e9929ac10 Makefile for python-generated files (Ian Romanick) 2004-08-25 15:33:11 +00:00
Brian Paul
cd24885429 use version generated from the XML database 2004-08-25 15:22:35 +00:00
Brian Paul
d99e5505f3 fix MGL namespace warning (patch 1014800) 2004-08-25 15:20:56 +00:00
Brian Paul
9554411af6 return type for MapBuffer was not specified 2004-08-25 15:19:40 +00:00
Brian Paul
5920b722b7 Fix mgl name mangling (patch 1014800) 2004-08-25 15:10:51 +00:00
Brian Paul
86e001b78c Windows ICD driver code (patch 1014800) 2004-08-25 14:59:45 +00:00
Brian Paul
7c544d3685 fix a couple bad casts 2004-08-25 14:52:01 +00:00
Brian Paul
0ad6554338 print current config name before building src and progs 2004-08-25 14:49:41 +00:00
Brian Paul
3b550e1e3c work around a param bug (Adam Jackson) 2004-08-25 14:39:40 +00:00
Philippe Houdoin
f43cc67616 Disable x86 iround() version on BeOS with gcc < 2.95.x, as it choke GAS.
BTW, that's remove the requirement to build Mesa on BeOS with gcc 2.95.3.
Still recommanded for performance, thought ;-)
2004-08-24 08:54:04 +00:00
Felix Kuehling
c2530b5730 Converted the Savage driver to the new DRI interface and enabled compilation
in the Mesa tree.
2004-08-22 20:31:40 +00:00
Brian Paul
17386de1d9 cast to fix a warning (in disabled code anyway) 2004-08-22 17:24:27 +00:00
Brian Paul
bc3a5336d9 don't use __FUNCTION__ - not portable 2004-08-22 17:23:22 +00:00
Brian Paul
370b47802e check if __mips or _MIPS_ARCH is defined to set IEEE_ONE (bug 1003026) 2004-08-22 16:57:40 +00:00
Brian Paul
5f9c21ae67 also check for __hppa__ and hpux for IEEE support (bug 1003026) 2004-08-22 15:19:03 +00:00
Brian Paul
edfe0fe78b enabled GL_ARB_texture_rectangle 2004-08-20 14:21:20 +00:00
Daniel Borca
d4edb53201 hide GL_ARB_texture_compression from non-VSA cards 2004-08-20 08:34:30 +00:00
Brian Paul
b160cbf87a bump version to 6.2 2004-08-19 18:34:15 +00:00
Brian Paul
a1dad07249 don't check for ARB_texture_non_power_of_two for OpenGL 1.5 (Philipp Klaus Krause) 2004-08-19 18:33:13 +00:00
Jouk Jansen
b8e148c2c9 Committing in .
Missing .'s

 Modified Files:
 	Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/tnl/descrip.mms
 ----------------------------------------------------------------------
2004-08-19 14:21:18 +00:00
Daniel Borca
5d0efec190 why is GL_ARB_texture_env_combine different from EXT? 2004-08-19 06:59:05 +00:00
Daniel Borca
50a84ce41e "const int _nc" was really stupid... 2004-08-19 06:58:00 +00:00
Daniel Borca
55497973be cleanup 2004-08-19 06:56:51 +00:00
Daniel Borca
fd9757d3b9 silence compiler warnings 2004-08-19 06:51:48 +00:00
Brian Paul
efb2ade520 check for either GL_NV_vertex_program or GL_ARB_vertex_program for some enables 2004-08-18 18:45:25 +00:00
Brian Paul
e41460bf77 updates from Jouk 2004-08-18 14:47:16 +00:00
Eric Anholt
626f825bcc Revert the move of lost_context setting to UNLOCK_HARDWARE that was done in the
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.
2004-08-17 20:10:29 +00:00
Brian Paul
ffdea1ae80 don't enable the float texture and GLhalf pixel extensions yet 2004-08-17 19:25:55 +00:00
Ian Romanick
6fc61be869 Fixed an assembler warning / error (depending on the version of GAS used).
Fixed a crash in the optimized pthreads dispatch path.
2004-08-17 17:03:24 +00:00
Eric Anholt
6f3cc6a522 Close some races with locking on R100 and R200 which could manifest as rendering
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%).
2004-08-17 01:41:29 +00:00
Brian Paul
7e27ab4c6a whitespace clean-up, new 'clean' commands 2004-08-16 17:11:10 +00:00
Philippe Houdoin
479b3d0745 Add glutGetProcAddress(). Not all GLUT version 5 APIs are supported yet, thought.
-> #define GLUT_API_VERSION 4.5 ? ;-)
2004-08-16 08:46:38 +00:00
Philippe Houdoin
ac07d89fd3 Stupid me. I don't know why I moved the GLView.h here at first, but now I 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.
2004-08-16 08:39:36 +00:00
Daniel Borca
ddff352586 cleanup 2004-08-16 08:34:13 +00:00
Daniel Borca
624477afbb fixed texture fetchers, fixed automatic mipmap generation, some cleanup 2004-08-16 08:32:06 +00:00
Daniel Borca
cd643491ad fixed pixel drawing routines, some cleanup 2004-08-16 08:30:41 +00:00
Daniel Borca
616a5b64f9 disabled stereo checking in wglChoosePixelFormat 2004-08-16 08:01:43 +00:00
Philippe Houdoin
a95aba7d1f Clearer guard message text. 2004-08-16 07:46:28 +00:00
Eric Anholt
0de671f19a Remove unused HAVE_INDEX define. 2004-08-16 04:38:48 +00:00
Karl Schultz
931ef21c42 Update Visual Studio Project file for src tree updates. 2004-08-14 20:07:01 +00:00
Karl Schultz
7a7e04039e New Visual Studio project file for this directory. 2004-08-14 20:02:59 +00:00
Karl Schultz
cec756ae3a Minor tweaks to deal with vsnprintf and __FUNCTION__ on WIN32 2004-08-14 19:28:48 +00:00
Brian Paul
21841f0ae5 fix some memory leaks (bug #1002030) 2004-08-14 14:28:11 +00:00
Philippe Houdoin
f226191d52 Remove obsoleted BeOS-specific makefiles.
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.
2004-08-14 14:27:32 +00:00
Philippe Houdoin
92cb914321 Add a guard to stop building libGLU.so under BeOS, as it's build into libGL.so. 2004-08-14 14:24:48 +00:00
Philippe Houdoin
8c6f59ce54 Forgot to commit this valuable file! :-) 2004-08-14 14:22:35 +00:00
Philippe Houdoin
18985fb231 Remove obsoleted BeOS-specific makefile as the main Makefile system now
support BeOS platform too.
2004-08-14 10:49:31 +00:00