summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-01-23configure: s/Mesa/GLUT/ in a few placesHEADmasterBrian Paul1-2/+2
Note: there's a few other bits of Mesa-related configuration stuff in this file that should probably be cleaned out.
2011-07-11Drop SCons.José Fonseca2-113/+0
2011-07-11Add enough of the autoconf/gmake build infrastructure to build glut.José Fonseca116-0/+8140
2011-07-11scons: Revamp how to specify targets to build.José Fonseca1-1/+0
Use scons target and dependency system instead of ad-hoc options. Now is simply a matter of naming what to build. For example: scons libgl-xlib scons libgl-gdi scons graw-progs scons llvmpipe and so on. And there is also the possibility of scepcified subdirs, e.g. scons src/gallium/drivers If nothing is specified then everything will be build. There might be some rough corners over the next days. Please bare with me.
2011-07-11glut: Define eventParser for non-Windows only.Vinson Lee1-1/+1
Fixes this GCC warning on MinGW build. glut_input.c:295: warning: 'eventParser' defined but not used
2011-07-11glut: Define markWindowHidden for non-Windows only.Vinson Lee1-2/+2
Fixes this GCC warning on MinGW build. glut_event.c:255: warning: 'markWindowHidden' defined but not used
2011-07-11glut: Silence missing initializer warning.José Fonseca1-1/+1
2011-07-11glut: also check for GLX_ARB_multisampleNigel Stewart2-8/+11
Signed-off-by: Brian Paul <brianp@vmware.com>
2011-07-11glut: Remove duplicate symbol definition.José Fonseca1-2/+0
2011-07-11glut: Include X11 headers and libraries in SCons build.Vinson Lee1-0/+1
Fixes Mac OS X SCons build.
2011-07-11Remove support for GCC older than 3.3.0Ian Romanick1-1/+1
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2011-07-11glut: Add asserts to check for null pointer dereferences.Vinson Lee1-0/+2
2011-07-11Drop unused glut subdirectoriesKristian Høgsberg91-54558/+0
2011-07-11Remove remaining miniglx referencesKristian Høgsberg14-1867/+0
2011-07-11Remove GGI supportKristian Høgsberg3-1271/+0
2011-07-11Remove directfb supportKristian Høgsberg20-4189/+0
2011-07-11glut: Silence uninitialized variable warning.Vinson Lee1-1/+4
2011-07-11glut: Silence uninitialized variable warning.Vinson Lee1-0/+1
2011-07-11scons: Use only the shared object name when linking progs.José Fonseca1-0/+2
Otherwise the whole path gets baked into the executable.
2011-07-11glut: Remove unnecessary headers.Vinson Lee6-6/+0
2011-07-11win32_menu: add missing parentheses in mapMenu()Roel Kluin1-1/+1
`|' has higher precedence than `?'. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2011-07-11Fix glut to work with -fvisibility=hiddenKristian Høgsberg11-2/+20
The GLUTAPI #define used in the header file to mark the font structs visible wasn't kicking in because of the #define glutBitmap9By15 XXX prior to #include <GL/glut.h>. High quality code... worked around by copying the GLUTAPI specifier to the invidual C files.
2011-07-11scons: Build progs together with everything else.José Fonseca1-22/+44
This is a substantial reorganization, This particular commit enables: - building the progs for unices platforms - glew is now built as a shared library (it is the default, and it is inconvenient and pointless to shift away from that default) - all progs get built by default
2011-07-11glut: Silent the glut*_ATEXIT_HACK defined but not used warnings.José Fonseca1-6/+3
There are two ways to silent this: put inline keyword, or reimplement the hack as a #define. inline keyword actually varies slightly with compiler so I've opted by the latter.
2011-07-11glut: Prevent potential double free in menuVisualSetup.Vinson Lee1-0/+5
2011-07-11glut: fix incorrect Vista maximisation size due to WM_GETMINMAXINFO handlingBrian Paul1-0/+5
See bug 23182.
2011-07-11Use separate $(MINSTALL) for installing librariesDan Nicholson3-3/+3
The special feature of bin/minstall to copy symlinks is only ever needed when installing libraries which may have .so symlinks. All the headers and directories can use a normal install program. These two modes are separated as $(INSTALL) and $(MINSTALL) to allow the user (or autoconf) to override installing normal files as they please. An autoconf check for the install program has been added and will be used in preference to minstall when available. Fixes bug 16053.
2011-07-11Use variable library name in pkg-config output.Tom Fogal4-4/+6
Previously the pkg-config output files would contain e.g. `-lGL' and `-lGLU', even if the user modified their configuration to build libraries with different names. This modifies the pkg-config inputs, and corresponding makery, so that modifying the output library name will cause the appropriate updated name to appear in the pkg-config `-l' option. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2011-07-11glut: Fix broken font symbols when gcc visibility attributes used.José Fonseca1-1/+1
2011-07-11glut: Don't try to guess system headers.José Fonseca1-17/+3
Just include them, especially such basic header as stdlib.h
2011-07-11glut: Use the official WGL functions.José Fonseca3-32/+9
Especially using wglGetPixelFormat instead of GetPixelFormat causes problems with opengl32.dll and drivers that not hack around this issue.
2011-07-11glut: DESCRIPTION .def clause deprecated.José Fonseca1-6/+0
2011-07-11glut: Minor cleanups.José Fonseca3-4/+4
2011-07-11glut: Automatic library linkage only on MSVC.José Fonseca1-1/+1
2011-07-11glut: Use a new define GLUT_STATIC to distinguish static builds.José Fonseca1-2/+2
_DLL is defined by MSVC when building against a DLL version of the CRT library. It bears no relation to whether we are building a DLL or not. That is, we can build a DLL against a static CRT, or a static lib against a dynamicaly linked CRT. See more detail at http://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx This gets DLL version of glut linking correctly both with MinGW and MSVC. PS: GL/gl.h (and others) must be fixed too.
2011-07-11glut: Ensure windows.h is included on windows.José Fonseca1-87/+4
Trying to override windows headers is a recipe for disaster. Especially when using with glew. Also the windows headers in recent MinGW are complete enough that they don't need patching up.
2011-07-11glut: Do not rely on GLAPIENTRY symbol.José Fonseca1-3/+10
GLEW does some defining/undefining of GLAPIENTRY making it unreliable. GLEW should also be fixed, but removing the dependency on this symbol. This also restores the ability for GLUT to be used with -fvisibility=hidden. The downside of this is that ld warns of: Warning: size of symbol `glutBitmapXXXXX' changed from 4 in glut_xxx.o to 16 in glut_xxxx.o Due to the fonts being declared void * (*4 bytes), but defined as 16byte static structure. I'll fix that in a later commit. See also commits: - f321f16e83cae427d6496c11955fd1c898d0395c - d084982240bafba0169c4a6cacf02d45d6cfd8c1
2011-07-11glut: Don't include mesa_wgl.h on MinGW builds.José Fonseca1-1/+4
windows.h header recent MinGW versions already declare the WGL API, and including mesa_wgl.h actually cause build failures.
2011-07-11glut: Unlist file.José Fonseca1-1/+0
Again..
2011-07-11glut: Fix build.José Fonseca1-2/+1
2011-07-11glut: List new source file in sconscript.José Fonseca1-0/+1
2011-07-11glut: added GLUT_PPM_FILE env var to dump first frame to a PPM fileBrian Paul5-0/+94
Set GLUT_PPM_FILE to the desired filename. The first frame rendered will be written to that file.
2011-07-11Add more package metadata to the pkg-config filesDan Nicholson4-4/+14
The pkg-config files have been filled in more thoroughly to allow users to use mesa more effectively. By adding metadata to Requires.private, Libs.private and Cflags, we can ensure that all the libraries and headers will be found in all situations. However, the full substitutions are only done when using the configure script. This also fixes the glu pkg-config file to account for using GL or OSMesa. Fixes bug 18161.
2011-07-11glut: MinGW portability fixes.José Fonseca6-4/+94
Still, it doesn't run as well as the glut binaries...
2011-07-11glut: only call glFinish() in processWindowWorkList() for indirect contexts.Brian Paul1-1/+6
Basically, do as the comment says.
2011-07-11Fixed 'make install' for darwinJeremy Huddleston1-1/+1
2011-07-11glut: Remove EOF characters.José Fonseca8-8/+0
2011-07-11Apple: Cleaned up some linking and dylib ids issuesJeremy Huddleston1-0/+1
2011-07-11Always pass -linker and -ldflags to mklib for shared librariesDan Nicholson1-2/+3
This just makes the use of mklib more consistent throughout Mesa where we always want to pass the linker and LDFLAGS when we might be making a shared library.
2011-07-11Call mklib with $(SHELL) so the user controls the interpreterDan Nicholson6-8/+7
Respect the user's choice of shell when running mklib rather than always using /bin/sh.