summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated register in C++17HEADmasterKhem Raj2023-01-131-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>
* apple: Fix compatibility version and current version of meson build to be ↵Jeremy Huddleston Sequoia2022-06-171-0/+1
| | | | | | compatible with autotools build Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* pkgconfig: meson build should match autotools requiresKevin Bowling2021-07-081-0/+1
|
* pkgconfig: Drop unneeded lines from autotools buildKevin Bowling2021-07-081-2/+0
|
* pkgconfig: Depend on opengl when built with libglvndKevin Bowling2021-07-071-1/+1
|
* glu 9.0.2glu-9.0.2Matt Turner2021-06-242-3/+3
|
* Check the definition instead of the extension to which it belongsNicolas Caramelli2021-06-241-1/+3
| | | | Signed-off-by: Nicolas Caramelli <caramelli.devel@gmail.com>
* Remove glu_mangle.hMatt Turner2021-06-244-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).
* Makefile: Distribute Meson files as part of the dist tarballDylan Baker2021-06-231-0/+3
|
* Add Meson build systemDylan Baker2021-06-233-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.
* editorconfig: Add configuration for MesonDylan Baker2021-06-231-0/+6
|
* build: Add support for libglvndKevin Bowling2021-06-232-21/+39
|
* build: fix the debug parameter to properly handle --disable-debugLucas Stach2020-10-081-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>
* glu 9.0.1glu-9.0.1Matt Turner2019-07-231-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gmail.com>
* Switch from bz2 to xzMatt Turner2019-07-231-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gmail.com>
* libutil: Include stddef.h for NULLMatt Turner2019-07-231-0/+1
| | | | | | Fixes: #5 Reviewed-by: Eric Engestrom <eric@engestrom.ch>
* pkgconfig: Include -I path for glu itselfJohn Hein2019-07-231-0/+1
| | | | | | Fixes: #2 Reviewed-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Matt Turner <mattst88@gmail.com>
* Remove all uses of the register keyword.Krzysztof Kosiński2019-06-046-81/+79
| | | | This keyword no longer exists in C++17 and has long been a no-op.
* libutils/mipmap.c: Fixed possible memory leakAmarnath Valluri2016-06-101-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>
* Add -D(N)DEBUG to CFLAGS dependent on --enable-debugMatt Turner2013-02-211-3/+4
| | | | | Tested-by: Blaž Hrastnik <speed.the.bboy@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=61003
* glu: initialize PriorityQ::order field to NULL in pqNewPriorityQ()Mike Gorchak2013-01-021-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>
* build: Put correct thing in glu.pc's Requires:glu-9.0.0Matt Turner2012-09-172-1/+4
|
* build: Don't check for osmesa.h since it's not usedMatt Turner2012-09-171-3/+0
|
* build: Fix white spaceMatt Turner2012-09-171-3/+3
|
* build: Add --enable-debug configure flagMatt Turner2012-08-291-0/+7
| | | | Appends -g -O0 to CFLAGS and CXXFLAGS.
* Bump version to 9.0.0.Matt Turner2012-08-281-1/+1
|
* build: Update glu.pc.in now that its out of MesaMatt Turner2012-08-281-8/+6
|
* built: Add EXTRA_DIST and header installationMatt Turner2012-08-281-0/+110
|
* build: Check for and add visibility compiler flagsMatt Turner2012-08-282-3/+30
|
* build: Allow linking against OSMesa instead of libGLMatt Turner2012-08-282-6/+24
|
* Add .gitignoreMatt Turner2012-08-281-0/+48
|
* build: Set AM_C* instead of CFLAGS/CPPFLAGSMatt Turner2012-08-282-4/+10
|
* build: Use LT_PREREQ/LT_INIT instead of AC_PROG_LIBTOOLMatt Turner2012-08-281-1/+3
|
* build: Add '&component=GLU' to Bugzilla linkMatt Turner2012-08-281-1/+1
|
* build: Move glu.pc from AC_CONFIG_FILES to AC_OUTPUTMatt Turner2012-08-281-1/+1
|
* Add an autotools build system for libGLU.Kenneth Graunke2012-08-283-0/+208
| | | | Now that it's split out from Mesa, we don't have the old build system.
* glu: fix two Clang warningsLukas Rössler2012-05-212-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>
* glu: Fix deprecated conversion from string constant to ‘char*’ warning.José Fonseca2011-11-092-2/+2
|
* glu: Fix build on mingw-w64.José Fonseca2011-08-301-0/+6
|
* glu: Fix _GLUfuncptr typedef.zhigang gong2011-05-121-1/+1
| | | | | | | typedef void (GLAPIENTRYP _GLUfuncptr)(); causes the following warning: function declaration isn't a prototype. Signed-off-by: José Fonseca <jfonseca@vmware.com>
* sgi: Fix MSVC build.José Fonseca2011-04-272-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.
* glu: Fix linux buildJakob Bornecrantz2011-04-231-1/+1
|
* scons: Build glu.José Fonseca2011-04-2310-17/+45
|\
| * glu/sgi: Remove dead initialization in extract565rev.Vinson Lee2010-07-161-1/+1
| |
| * glu/sgi: Remove dead initialization in extract565.Vinson Lee2010-07-151-1/+1
| |
| * glu: Fix some compiler warnings in libtessNeil Roberts2010-06-308-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>
* Grammar and spelling fixesJeff Smith2010-03-122-2/+2
| | | | | Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
* Revert "glu/sgi: Set freed pointer to NULL."Vinson Lee2010-02-251-1/+0
| | | | | | | This commit breaks flightgear fgfs. A null pointer is dereferenced in the function MakeVertex. This reverts commit 9be414f4b93c763e1aee8f634a13721ae5d95fcd.
* glu/sgi: Set freed pointer to NULL.Vinson Lee2010-02-251-0/+1
|
* glu/sgi: Add assert to check for null pointer dereference.Vinson Lee2010-02-151-0/+1
|