summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* configure: s/Mesa/GLUT/ in a few placesHEADmasterBrian Paul2013-01-231-2/+2
| | | | | Note: there's a few other bits of Mesa-related configuration stuff in this file that should probably be cleaned out.
* Drop SCons.José Fonseca2011-07-112-113/+0
|
* Add enough of the autoconf/gmake build infrastructure to build glut.José Fonseca2011-07-11116-0/+8140
|
* scons: Revamp how to specify targets to build.José Fonseca2011-07-111-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.
* glut: Define eventParser for non-Windows only.Vinson Lee2011-07-111-1/+1
| | | | | Fixes this GCC warning on MinGW build. glut_input.c:295: warning: 'eventParser' defined but not used
* glut: Define markWindowHidden for non-Windows only.Vinson Lee2011-07-111-2/+2
| | | | | Fixes this GCC warning on MinGW build. glut_event.c:255: warning: 'markWindowHidden' defined but not used
* glut: Silence missing initializer warning.José Fonseca2011-07-111-1/+1
|
* glut: also check for GLX_ARB_multisampleNigel Stewart2011-07-112-8/+11
| | | | Signed-off-by: Brian Paul <brianp@vmware.com>
* glut: Remove duplicate symbol definition.José Fonseca2011-07-111-2/+0
|
* glut: Include X11 headers and libraries in SCons build.Vinson Lee2011-07-111-0/+1
| | | | Fixes Mac OS X SCons build.
* Remove support for GCC older than 3.3.0Ian Romanick2011-07-111-1/+1
| | | | Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
* glut: Add asserts to check for null pointer dereferences.Vinson Lee2011-07-111-0/+2
|
* Drop unused glut subdirectoriesKristian Høgsberg2011-07-1191-54558/+0
|
* Remove remaining miniglx referencesKristian Høgsberg2011-07-1114-1867/+0
|
* Remove GGI supportKristian Høgsberg2011-07-113-1271/+0
|
* Remove directfb supportKristian Høgsberg2011-07-1120-4189/+0
|
* glut: Silence uninitialized variable warning.Vinson Lee2011-07-111-1/+4
|
* glut: Silence uninitialized variable warning.Vinson Lee2011-07-111-0/+1
|
* scons: Use only the shared object name when linking progs.José Fonseca2011-07-111-0/+2
| | | | Otherwise the whole path gets baked into the executable.
* glut: Remove unnecessary headers.Vinson Lee2011-07-116-6/+0
|
* win32_menu: add missing parentheses in mapMenu()Roel Kluin2011-07-111-1/+1
| | | | | | | `|' has higher precedence than `?'. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
* Fix glut to work with -fvisibility=hiddenKristian Høgsberg2011-07-1111-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.
* scons: Build progs together with everything else.José Fonseca2011-07-111-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
* glut: Silent the glut*_ATEXIT_HACK defined but not used warnings.José Fonseca2011-07-111-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.
* glut: Prevent potential double free in menuVisualSetup.Vinson Lee2011-07-111-0/+5
|
* glut: fix incorrect Vista maximisation size due to WM_GETMINMAXINFO handlingBrian Paul2011-07-111-0/+5
| | | | See bug 23182.
* Use separate $(MINSTALL) for installing librariesDan Nicholson2011-07-113-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.
* Use variable library name in pkg-config output.Tom Fogal2011-07-114-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>
* glut: Fix broken font symbols when gcc visibility attributes used.José Fonseca2011-07-111-1/+1
|
* glut: Don't try to guess system headers.José Fonseca2011-07-111-17/+3
| | | | Just include them, especially such basic header as stdlib.h
* glut: Use the official WGL functions.José Fonseca2011-07-113-32/+9
| | | | | Especially using wglGetPixelFormat instead of GetPixelFormat causes problems with opengl32.dll and drivers that not hack around this issue.
* glut: DESCRIPTION .def clause deprecated.José Fonseca2011-07-111-6/+0
|
* glut: Minor cleanups.José Fonseca2011-07-113-4/+4
|
* glut: Automatic library linkage only on MSVC.José Fonseca2011-07-111-1/+1
|
* glut: Use a new define GLUT_STATIC to distinguish static builds.José Fonseca2011-07-111-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.
* glut: Ensure windows.h is included on windows.José Fonseca2011-07-111-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.
* glut: Do not rely on GLAPIENTRY symbol.José Fonseca2011-07-111-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
* glut: Don't include mesa_wgl.h on MinGW builds.José Fonseca2011-07-111-1/+4
| | | | | windows.h header recent MinGW versions already declare the WGL API, and including mesa_wgl.h actually cause build failures.
* glut: Unlist file.José Fonseca2011-07-111-1/+0
| | | | Again..
* glut: Fix build.José Fonseca2011-07-111-2/+1
|
* glut: List new source file in sconscript.José Fonseca2011-07-111-0/+1
|
* glut: added GLUT_PPM_FILE env var to dump first frame to a PPM fileBrian Paul2011-07-115-0/+94
| | | | | Set GLUT_PPM_FILE to the desired filename. The first frame rendered will be written to that file.
* Add more package metadata to the pkg-config filesDan Nicholson2011-07-114-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.
* glut: MinGW portability fixes.José Fonseca2011-07-116-4/+94
| | | | Still, it doesn't run as well as the glut binaries...
* glut: only call glFinish() in processWindowWorkList() for indirect contexts.Brian Paul2011-07-111-1/+6
| | | | Basically, do as the comment says.
* Fixed 'make install' for darwinJeremy Huddleston2011-07-111-1/+1
|
* glut: Remove EOF characters.José Fonseca2011-07-118-8/+0
|
* Apple: Cleaned up some linking and dylib ids issuesJeremy Huddleston2011-07-111-0/+1
|
* Always pass -linker and -ldflags to mklib for shared librariesDan Nicholson2011-07-111-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.
* Call mklib with $(SHELL) so the user controls the interpreterDan Nicholson2011-07-116-8/+7
| | | | | Respect the user's choice of shell when running mklib rather than always using /bin/sh.