summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-07-21glu 9.0.3HEADglu-9.0.3masterEric Engestrom1-1/+1
2023-07-21drop autotoolsEric Engestrom4-411/+0
2023-01-13Remove deprecated register in C++17Khem Raj1-2/+2
Fixes errors like src/libnurbs/internals/varray.cc:76:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register long ds = sgn(arc->tail()[0] - arc->prev->tail()[0]); ^~~~~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-06-17apple: Fix compatibility version and current version of meson build to be ↵Jeremy Huddleston Sequoia1-0/+1
compatible with autotools build Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2021-07-08pkgconfig: meson build should match autotools requiresKevin Bowling1-0/+1
2021-07-08pkgconfig: Drop unneeded lines from autotools buildKevin Bowling1-2/+0
2021-07-07pkgconfig: Depend on opengl when built with libglvndKevin Bowling1-1/+1
2021-06-24glu 9.0.2glu-9.0.2Matt Turner2-3/+3
2021-06-24Check the definition instead of the extension to which it belongsNicolas Caramelli1-1/+3
Signed-off-by: Nicolas Caramelli <caramelli.devel@gmail.com>
2021-06-24Remove glu_mangle.hMatt Turner4-95/+2
Long ago when GLU lived in the Mesa repository, there was "name mangling" support that allowed you to build Mesa and GLU with all exported symbols' names "mangled". That is, the symbol names would typically be prefixed with an 'm' so that they would not collide with the system's OpenGL implementation. When GLU was split out into its own repository in 2012 we didn't bring over the name mangling support. No one has noticed this lack of functionality since, to my knowledge. Remove the name mangling header (which was unexpectedly licensed under the GPL).
2021-06-23Makefile: Distribute Meson files as part of the dist tarballDylan Baker1-0/+3
2021-06-23Add Meson build systemDylan Baker3-0/+164
This should be on par with the autoconf build. Like autoconf it defauilts to generating both a shared and static library. I have intentionally not used the pkg-config template, and used Meson's pkg-config generator instad. This provides dependency and include tracking that would otherwise have to be done manually.
2021-06-23editorconfig: Add configuration for MesonDylan Baker1-0/+6
2021-06-23build: Add support for libglvndKevin Bowling2-21/+39
2020-10-08build: fix the debug parameter to properly handle --disable-debugLucas Stach1-2/+5
Right now the the enableval isn't checked, so the debug options are added for --enable-debug and --disable-debug, which is quite surprising for a user. Fix this to properly handle the disable case. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
2019-07-23glu 9.0.1glu-9.0.1Matt Turner1-1/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2019-07-23Switch from bz2 to xzMatt Turner1-1/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2019-07-23libutil: Include stddef.h for NULLMatt Turner1-0/+1
Fixes: #5 Reviewed-by: Eric Engestrom <eric@engestrom.ch>
2019-07-23pkgconfig: Include -I path for glu itselfJohn Hein1-0/+1
Fixes: #2 Reviewed-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Matt Turner <mattst88@gmail.com>
2019-06-04Remove all uses of the register keyword.Krzysztof Kosiński6-81/+79
This keyword no longer exists in C++17 and has long been a no-op.
2016-06-10libutils/mipmap.c: Fixed possible memory leakAmarnath Valluri1-0/+2
In case of malloc() failure memory allocated for both 'srcImage' and 'dstImage' is leaked. Patch simplified by Brian Paul. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96480 Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2013-02-21Add -D(N)DEBUG to CFLAGS dependent on --enable-debugMatt Turner1-3/+4
Tested-by: Blaž Hrastnik <speed.the.bboy@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=61003
2013-01-02glu: initialize PriorityQ::order field to NULL in pqNewPriorityQ()Mike Gorchak1-0/+1
pqNewPriorityQ() function creates and setups PriorityQ structure, all except for the field "order". It is filled later in function pqInit(). Depending on vertices of polygon which must be tesselated there possible following situation, pqDeletePriorityQ() is called right after pqNewPriorityQ() function. pqNewPriorityQ() tries to free memory using pq->order as pointer, which is unitialized at this point. Signed-off-by: Brian Paul <brianp@vmware.com>
2012-09-17build: Put correct thing in glu.pc's Requires:glu-9.0.0Matt Turner2-1/+4
2012-09-17build: Don't check for osmesa.h since it's not usedMatt Turner1-3/+0
2012-09-17build: Fix white spaceMatt Turner1-3/+3
2012-08-29build: Add --enable-debug configure flagMatt Turner1-0/+7
Appends -g -O0 to CFLAGS and CXXFLAGS.
2012-08-28Bump version to 9.0.0.Matt Turner1-1/+1
2012-08-28build: Update glu.pc.in now that its out of MesaMatt Turner1-8/+6
2012-08-28built: Add EXTRA_DIST and header installationMatt Turner1-0/+110
2012-08-28build: Check for and add visibility compiler flagsMatt Turner2-3/+30
2012-08-28build: Allow linking against OSMesa instead of libGLMatt Turner2-6/+24
2012-08-28Add .gitignoreMatt Turner1-0/+48
2012-08-28build: Set AM_C* instead of CFLAGS/CPPFLAGSMatt Turner2-4/+10
2012-08-28build: Use LT_PREREQ/LT_INIT instead of AC_PROG_LIBTOOLMatt Turner1-1/+3
2012-08-28build: Add '&component=GLU' to Bugzilla linkMatt Turner1-1/+1
2012-08-28build: Move glu.pc from AC_CONFIG_FILES to AC_OUTPUTMatt Turner1-1/+1
2012-08-28Add an autotools build system for libGLU.Kenneth Graunke3-0/+208
Now that it's split out from Mesa, we don't have the old build system.
2012-05-21glu: fix two Clang warningsLukas Rössler2-2/+2
This patch removes two Clang warnings in GLU: The first one seems to be an actual bug in mapdesc.cc: Clang complains that sizeof(dest) will return the size of REAL*[MAXCOORDS], instead of the intended REAL[MAXCOORDS][MAXCOORDS]. The second one is just cosmetic because Clang doesn't like extra parentheses. NOTE: This is a candidate for the 8.0 branch Reviewed-by: Brian Paul <brianp@vmware.com>
2011-11-09glu: Fix deprecated conversion from string constant to ‘char*’ warning.José Fonseca2-2/+2
2011-08-30glu: Fix build on mingw-w64.José Fonseca1-0/+6
2011-05-12glu: Fix _GLUfuncptr typedef.zhigang gong1-1/+1
typedef void (GLAPIENTRYP _GLUfuncptr)(); causes the following warning: function declaration isn't a prototype. Signed-off-by: José Fonseca <jfonseca@vmware.com>
2011-04-27sgi: Fix MSVC build.José Fonseca2-1/+5
Including windows.h was ineffective on MSVC because we define the NOGDI macro, which skips the wingdi.h include. Unsetting NOGDI is also a bad idea because it causes all sort of symbol clashes with SGI code. The real problem is that WINGDAPI was not being defined, also due to NOGDI, so simply define it to blank if not done already. This seems to make everybody happy.
2011-04-23glu: Fix linux buildJakob Bornecrantz1-1/+1
2011-04-23scons: Build glu.José Fonseca10-17/+45
2010-07-16glu/sgi: Remove dead initialization in extract565rev.Vinson Lee1-1/+1
2010-07-15glu/sgi: Remove dead initialization in extract565.Vinson Lee1-1/+1
2010-06-30glu: Fix some compiler warnings in libtessNeil Roberts8-13/+37
When compiled with the more aggressive compiler warnings such as -Wshadow and -Wempty-body the libtess code gives a lot more warnings. This fixes the following issues: * The 'Swap' macro tries to combine multiple statements into one and then consume the trailing semicolon by using if(1){/*...*/}else. This gives warnings because the else part ends up with an empty statement. It also seems a bit dangerous because if the semicolon were missed then it would still be valid syntax but it would just ignore the following statement. This patch replaces it with the more common idiom do { /*...*/ } while(0). * 'free' was being used as a local variable name but this shadows the global function. This has been renamed to 'free_handle' * TRUE and FALSE were being unconditionally defined. Although this isn't currently a problem it seems better to guard them with #ifndef because it's quite common for them to be defined in other headers. https://bugs.freedesktop.org/show_bug.cgi?id=28845 Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-12Grammar and spelling fixesJeff Smith2-2/+2
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-02-25Revert "glu/sgi: Set freed pointer to NULL."Vinson Lee1-1/+0
This commit breaks flightgear fgfs. A null pointer is dereferenced in the function MakeVertex. This reverts commit 9be414f4b93c763e1aee8f634a13721ae5d95fcd.