From 6f96777a4a030ff520796595855aae6807109487 Mon Sep 17 00:00:00 2001 From: anatoly techtonik Date: Sun, 15 Jan 2017 22:20:19 +0300 Subject: [PATCH 01/40] glewinfo output is a .txt file --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3a6c344..877bdde 100644 --- a/README.md +++ b/README.md @@ -125,8 +125,8 @@ Alternative toolchain: `SYSTEM=msys, SYSTEM=msys-win32, SYSTEM=msys-win64` ## glewinfo `glewinfo` is a command-line tool useful for inspecting the capabilities of an -OpenGL implementation and GLEW support for that. Please include the output of -`glewinfo` with bug reports, as appropriate. +OpenGL implementation and GLEW support for that. Please include `glewinfo.txt` +with bug reports, as appropriate. --------------------------- GLEW Extension Info From 7f510379f6c6d8bff1aa5beded99f0582c29096a Mon Sep 17 00:00:00 2001 From: Julian Squires Date: Sun, 26 Mar 2017 15:44:59 -0400 Subject: [PATCH 02/40] Fix perl @INC for scripts which include make.pl In perl 5.26, and some earlier perls that have been proactively patched (Debian's perl 5.24, for example), '.' was removed from @INC for security reasons. For details, see: http://blogs.perl.org/users/todd_rinaldo/2016/11/how-removing-from-inc-is-about-to-break-cpan.html https://www.masteringperl.org/2017/01/perl-v5-26-removes-from-inc-but-dont-think-youre-safe/ et cetera. This breaks the generation scripts which source make.pl with do 'bin/make.pl' Although this might be indicative that it's time to refactor these scripts, I opted for the simplest possible fix for now: restoring '.' to @INC in each script that depends on make.pl. --- auto/bin/make_def_fun.pl | 1 + auto/bin/make_def_var.pl | 1 + auto/bin/make_enable_index.pl | 1 + auto/bin/make_header.pl | 1 + auto/bin/make_html.pl | 1 + auto/bin/make_index.pl | 1 + auto/bin/make_info.pl | 1 + auto/bin/make_info_list.pl | 1 + auto/bin/make_init.pl | 1 + auto/bin/make_initd.pl | 1 + auto/bin/make_list.pl | 1 + auto/bin/make_list2.pl | 1 + auto/bin/make_str.pl | 1 + auto/bin/make_struct_fun.pl | 1 + auto/bin/make_struct_var.pl | 1 + 15 files changed, 15 insertions(+) diff --git a/auto/bin/make_def_fun.pl b/auto/bin/make_def_fun.pl index 2ed8b4e..49f7e7e 100755 --- a/auto/bin/make_def_fun.pl +++ b/auto/bin/make_def_fun.pl @@ -10,6 +10,7 @@ use strict; use warnings; +use lib '.'; do 'bin/make.pl'; # function pointer declaration diff --git a/auto/bin/make_def_var.pl b/auto/bin/make_def_var.pl index 7c8bc5f..b1868e8 100755 --- a/auto/bin/make_def_var.pl +++ b/auto/bin/make_def_var.pl @@ -10,6 +10,7 @@ use strict; use warnings; +use lib '.'; do 'bin/make.pl'; my @extlist = (); diff --git a/auto/bin/make_enable_index.pl b/auto/bin/make_enable_index.pl index 226612d..b5f7261 100755 --- a/auto/bin/make_enable_index.pl +++ b/auto/bin/make_enable_index.pl @@ -10,6 +10,7 @@ use strict; use warnings; +use lib '.'; do 'bin/make.pl'; ## diff --git a/auto/bin/make_header.pl b/auto/bin/make_header.pl index 5c7f94a..3a73efb 100755 --- a/auto/bin/make_header.pl +++ b/auto/bin/make_header.pl @@ -10,6 +10,7 @@ use strict; use warnings; +use lib '.'; do 'bin/make.pl'; # token diff --git a/auto/bin/make_html.pl b/auto/bin/make_html.pl index 486e7fd..59305bd 100755 --- a/auto/bin/make_html.pl +++ b/auto/bin/make_html.pl @@ -10,6 +10,7 @@ use strict; use warnings; +use lib '.'; do 'bin/make.pl'; #--------------------------------------------------------------------------------------- diff --git a/auto/bin/make_index.pl b/auto/bin/make_index.pl index bfaf300..1d2b5d4 100755 --- a/auto/bin/make_index.pl +++ b/auto/bin/make_index.pl @@ -10,6 +10,7 @@ use strict; use warnings; +use lib '.'; do 'bin/make.pl'; ## diff --git a/auto/bin/make_info.pl b/auto/bin/make_info.pl index 78295fc..78e8f82 100755 --- a/auto/bin/make_info.pl +++ b/auto/bin/make_info.pl @@ -10,6 +10,7 @@ use strict; use warnings; +use lib '.'; do 'bin/make.pl'; #--------------------------------------------------------------------------------------- diff --git a/auto/bin/make_info_list.pl b/auto/bin/make_info_list.pl index 5bc65fa..e27d36a 100755 --- a/auto/bin/make_info_list.pl +++ b/auto/bin/make_info_list.pl @@ -10,6 +10,7 @@ use strict; use warnings; +use lib '.'; do 'bin/make.pl'; #--------------------------------------------------------------------------------------- diff --git a/auto/bin/make_init.pl b/auto/bin/make_init.pl index 343a1ad..7f7d3aa 100755 --- a/auto/bin/make_init.pl +++ b/auto/bin/make_init.pl @@ -10,6 +10,7 @@ use strict; use warnings; +use lib '.'; do 'bin/make.pl'; #------------------------------------------------------------------------------- diff --git a/auto/bin/make_initd.pl b/auto/bin/make_initd.pl index 35c3b5d..0521726 100755 --- a/auto/bin/make_initd.pl +++ b/auto/bin/make_initd.pl @@ -10,6 +10,7 @@ use strict; use warnings; +use lib '.'; do 'bin/make.pl'; ## Output declarations for the _glewInit_[extension] functions defined diff --git a/auto/bin/make_list.pl b/auto/bin/make_list.pl index ef1d81e..a5e8ec7 100755 --- a/auto/bin/make_list.pl +++ b/auto/bin/make_list.pl @@ -10,6 +10,7 @@ use strict; use warnings; +use lib '.'; do 'bin/make.pl'; #--------------------------------------------------------------------------------------- diff --git a/auto/bin/make_list2.pl b/auto/bin/make_list2.pl index 572fdc9..26d3d3d 100755 --- a/auto/bin/make_list2.pl +++ b/auto/bin/make_list2.pl @@ -10,6 +10,7 @@ use strict; use warnings; +use lib '.'; do 'bin/make.pl'; #--------------------------------------------------------------------------------------- diff --git a/auto/bin/make_str.pl b/auto/bin/make_str.pl index 6673a80..8859585 100755 --- a/auto/bin/make_str.pl +++ b/auto/bin/make_str.pl @@ -10,6 +10,7 @@ use strict; use warnings; +use lib '.'; do 'bin/make.pl'; my @extlist = (); diff --git a/auto/bin/make_struct_fun.pl b/auto/bin/make_struct_fun.pl index 3eedafe..661c302 100755 --- a/auto/bin/make_struct_fun.pl +++ b/auto/bin/make_struct_fun.pl @@ -10,6 +10,7 @@ use strict; use warnings; +use lib '.'; do 'bin/make.pl'; # function pointer declaration diff --git a/auto/bin/make_struct_var.pl b/auto/bin/make_struct_var.pl index c88b559..802ae49 100755 --- a/auto/bin/make_struct_var.pl +++ b/auto/bin/make_struct_var.pl @@ -10,6 +10,7 @@ use strict; use warnings; +use lib '.'; do 'bin/make.pl'; my @extlist = (); From d77479401d98b63ec2737467b8b0458d2231d212 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sun, 23 Apr 2017 09:20:49 +1000 Subject: [PATCH 03/40] For cmake build, opt into Mac OS X rpath mode, bump version to 2.8.12 --- build/cmake/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/cmake/CMakeLists.txt b/build/cmake/CMakeLists.txt index f192009..c6beafc 100644 --- a/build/cmake/CMakeLists.txt +++ b/build/cmake/CMakeLists.txt @@ -4,12 +4,13 @@ endif () project (glew) -cmake_minimum_required (VERSION 2.8.7) +cmake_minimum_required (VERSION 2.8.12) include(GNUInstallDirs) if (COMMAND cmake_policy) cmake_policy (SET CMP0003 NEW) + cmake_policy (SET CMP0042 NEW) endif() set(CMAKE_DEBUG_POSTFIX d) From a9e50908a1cb3a7f6a7e58bcb4ed6d1ecf7937ee Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sun, 23 Apr 2017 09:34:57 +1000 Subject: [PATCH 04/40] For cmake build, skip X11 check for Windows and Apple OSX --- build/cmake/CMakeLists.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/build/cmake/CMakeLists.txt b/build/cmake/CMakeLists.txt index c6beafc..8ec3ac5 100644 --- a/build/cmake/CMakeLists.txt +++ b/build/cmake/CMakeLists.txt @@ -37,6 +37,14 @@ set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) +find_package (OpenGL REQUIRED) + +# X11 required when builing visualinfo and glewinfo, +# but not for Windows or Apple OSX platforms +if (BUILD_UTILS AND NOT WIN32 AND NOT APPLE) + find_package (X11) +endif() + if (WIN32) set (GLEW_LIB_NAME glew32) else () @@ -44,11 +52,6 @@ else () set (DLL_PREFIX lib) endif () -find_package (OpenGL REQUIRED) -#X11 is only required when builing utils/ -if(BUILD_UTILS) - find_package (X11) -endif() set (GLEW_LIBRARIES ${OPENGL_LIBRARIES}) add_definitions (-DGLEW_NO_GLU) From b34af4d1e334102cd68d9b58573f1a7a29300d9d Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sun, 23 Apr 2017 10:55:00 +1000 Subject: [PATCH 05/40] Tidy-up for Mac makefile build configs --- config/Makefile.darwin | 5 ++--- config/Makefile.darwin-gcc6 | 3 +-- config/Makefile.darwin-ppc | 9 +++++---- config/Makefile.darwin-universal | 3 +-- config/Makefile.darwin-x86_64 | 6 +++--- 5 files changed, 12 insertions(+), 14 deletions(-) diff --git a/config/Makefile.darwin b/config/Makefile.darwin index 945e062..924adfc 100644 --- a/config/Makefile.darwin +++ b/config/Makefile.darwin @@ -2,9 +2,9 @@ GLEW_DEST = /usr/local NAME = $(GLEW_NAME) CC = cc LD = cc -CFLAGS.EXTRA = -dynamic -fno-common +CFLAGS.EXTRA += -dynamic -fno-common CFLAGS.EXTRA += -std=c89 -pedantic -#CFLAGS.EXTRA += -no-cpp-precomp +CFLAGS.EXTRA += -fPIC LDFLAGS.EXTRA = ifneq (undefined, $(origin GLEW_APPLE_GLX)) CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX' @@ -16,7 +16,6 @@ LDFLAGS.STATIC = LDFLAGS.DYNAMIC = WARN = -Wall -W POPT = -Os -CFLAGS.EXTRA += -fPIC BIN.SUFFIX = LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib LIB.DEVLNK = lib$(NAME).dylib diff --git a/config/Makefile.darwin-gcc6 b/config/Makefile.darwin-gcc6 index 3a04101..fe06b4c 100644 --- a/config/Makefile.darwin-gcc6 +++ b/config/Makefile.darwin-gcc6 @@ -6,10 +6,10 @@ CC = gcc-6 LD = gcc-6 CFLAGS.EXTRA = -dynamic -fno-common CFLAGS.EXTRA += -std=c89 +CFLAGS.EXTRA += -fPIC # Lots of warnings with -pedantic # warning: ISO C forbids conversion of object pointer to function pointer type #CFLAGS.EXTRA += -pedantic -#CFLAGS.EXTRA += -no-cpp-precomp LDFLAGS.EXTRA = ifneq (undefined, $(origin GLEW_APPLE_GLX)) CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX' @@ -21,7 +21,6 @@ LDFLAGS.STATIC = LDFLAGS.DYNAMIC = WARN = -Wall -W POPT = -Os -CFLAGS.EXTRA += -fPIC BIN.SUFFIX = LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib LIB.DEVLNK = lib$(NAME).dylib diff --git a/config/Makefile.darwin-ppc b/config/Makefile.darwin-ppc index d511585..9fbaadd 100644 --- a/config/Makefile.darwin-ppc +++ b/config/Makefile.darwin-ppc @@ -1,11 +1,13 @@ -# Note: PPC is no longer actively maintained for GLEW, but this configuration +# Note: Mac PPC is obsolete but the configuration # is here for reference. GLEW_DEST = /usr/local NAME = $(GLEW_NAME) CC = cc LD = cc -CFLAGS.EXTRA = -arch ppc -dynamic -fno-common -#CFLAGS.EXTRA += -no-cpp-precomp +CFLAGS.EXTRA += -arch ppc +CFLAGS.EXTRA += -dynamic -fno-common +CFLAGS.EXTRA += -std=c89 -pedantic +CFLAGS.EXTRA += -fPIC LDFLAGS.EXTRA = -arch ppc ifneq (undefined, $(origin GLEW_APPLE_GLX)) CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX' @@ -17,7 +19,6 @@ LDFLAGS.STATIC = LDFLAGS.DYNAMIC = WARN = -Wall -W POPT = -Os -CFLAGS.EXTRA += -fPIC BIN.SUFFIX = LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib LIB.DEVLNK = lib$(NAME).dylib diff --git a/config/Makefile.darwin-universal b/config/Makefile.darwin-universal index 7bc4c4c..9fe8b67 100644 --- a/config/Makefile.darwin-universal +++ b/config/Makefile.darwin-universal @@ -10,7 +10,7 @@ LIBTOOL = libtool -static -o STRIP = CFLAGS.EXTRA = -dynamic -fno-common CFLAGS.EXTRA += -std=c89 -pedantic -#CFLAGS.EXTRA += -no-cpp-precomp +CFLAGS.EXTRA += -fPIC CFLAGS.EXTRA += -arch i386 -arch x86_64 LDFLAGS.EXTRA = -arch i386 -arch x86_64 ifneq (undefined, $(origin GLEW_APPLE_GLX)) @@ -22,7 +22,6 @@ endif LDFLAGS.DYNAMIC = WARN = -Wall -W POPT = -Os -CFLAGS.EXTRA += -fPIC BIN.SUFFIX = LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib LIB.DEVLNK = lib$(NAME).dylib diff --git a/config/Makefile.darwin-x86_64 b/config/Makefile.darwin-x86_64 index 1833438..3bce8e0 100644 --- a/config/Makefile.darwin-x86_64 +++ b/config/Makefile.darwin-x86_64 @@ -2,9 +2,10 @@ GLEW_DEST = /usr/local NAME = $(GLEW_NAME) CC = cc LD = cc -CFLAGS.EXTRA = -arch x86_64 -dynamic -fno-common +CFLAGS.EXTRA += -arch x86_64 +CFLAGS.EXTRA += -dynamic -fno-common CFLAGS.EXTRA += -std=c89 -pedantic -#CFLAGS.EXTRA += -no-cpp-precomp +CFLAGS.EXTRA += -fPIC LDFLAGS.EXTRA = -arch x86_64 ifneq (undefined, $(origin GLEW_APPLE_GLX)) CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX' @@ -16,7 +17,6 @@ LDFLAGS.STATIC = LDFLAGS.DYNAMIC = WARN = -Wall -W POPT = -Os -CFLAGS.EXTRA += -fPIC BIN.SUFFIX = LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib LIB.DEVLNK = lib$(NAME).dylib From 2906c1c10f103ee38400a8c59000ec0748182a42 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sun, 23 Apr 2017 11:14:01 +1000 Subject: [PATCH 06/40] OSX makefile refinements - only require GLU in GLEW_APPLE_GLX=1 mode, use -std=c99 for X11/GLX --- config/Makefile.darwin | 5 ++++- config/Makefile.darwin-gcc6 | 6 ++++-- config/Makefile.darwin-ppc | 5 ++++- config/Makefile.darwin-universal | 5 ++++- config/Makefile.darwin-x86_64 | 5 ++++- 5 files changed, 20 insertions(+), 6 deletions(-) diff --git a/config/Makefile.darwin b/config/Makefile.darwin index 924adfc..8030f05 100644 --- a/config/Makefile.darwin +++ b/config/Makefile.darwin @@ -3,13 +3,16 @@ NAME = $(GLEW_NAME) CC = cc LD = cc CFLAGS.EXTRA += -dynamic -fno-common -CFLAGS.EXTRA += -std=c89 -pedantic +CFLAGS.EXTRA += -pedantic CFLAGS.EXTRA += -fPIC LDFLAGS.EXTRA = ifneq (undefined, $(origin GLEW_APPLE_GLX)) +CFLAGS.EXTRA += -std=c99 CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX' LDFLAGS.GL = -L/usr/X11R6/lib -lGL -lX11 else +CFLAGS.EXTRA += -std=c89 +GLEW_NO_GLU = -DGLEW_NO_GLU LDFLAGS.GL = -framework OpenGL endif LDFLAGS.STATIC = diff --git a/config/Makefile.darwin-gcc6 b/config/Makefile.darwin-gcc6 index fe06b4c..ecb61b3 100644 --- a/config/Makefile.darwin-gcc6 +++ b/config/Makefile.darwin-gcc6 @@ -4,17 +4,19 @@ GLEW_DEST = /usr/local NAME = $(GLEW_NAME) CC = gcc-6 LD = gcc-6 -CFLAGS.EXTRA = -dynamic -fno-common -CFLAGS.EXTRA += -std=c89 +CFLAGS.EXTRA += -dynamic -fno-common CFLAGS.EXTRA += -fPIC # Lots of warnings with -pedantic # warning: ISO C forbids conversion of object pointer to function pointer type #CFLAGS.EXTRA += -pedantic LDFLAGS.EXTRA = ifneq (undefined, $(origin GLEW_APPLE_GLX)) +CFLAGS.EXTRA += -std=c99 CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX' LDFLAGS.GL = -L/usr/X11R6/lib -lGL -lX11 else +CFLAGS.EXTRA += -std=c89 +GLEW_NO_GLU = -DGLEW_NO_GLU LDFLAGS.GL = -framework OpenGL endif LDFLAGS.STATIC = diff --git a/config/Makefile.darwin-ppc b/config/Makefile.darwin-ppc index 9fbaadd..7a41736 100644 --- a/config/Makefile.darwin-ppc +++ b/config/Makefile.darwin-ppc @@ -6,13 +6,16 @@ CC = cc LD = cc CFLAGS.EXTRA += -arch ppc CFLAGS.EXTRA += -dynamic -fno-common -CFLAGS.EXTRA += -std=c89 -pedantic +CFLAGS.EXTRA += -pedantic CFLAGS.EXTRA += -fPIC LDFLAGS.EXTRA = -arch ppc ifneq (undefined, $(origin GLEW_APPLE_GLX)) +CFLAGS.EXTRA += -std=c99 CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX' LDFLAGS.GL = -L/usr/X11R6/lib -lGL -lX11 else +CFLAGS.EXTRA += -std=c89 +GLEW_NO_GLU = -DGLEW_NO_GLU LDFLAGS.GL = -framework OpenGL endif LDFLAGS.STATIC = diff --git a/config/Makefile.darwin-universal b/config/Makefile.darwin-universal index 9fe8b67..f2412e3 100644 --- a/config/Makefile.darwin-universal +++ b/config/Makefile.darwin-universal @@ -9,14 +9,17 @@ AR = LIBTOOL = libtool -static -o STRIP = CFLAGS.EXTRA = -dynamic -fno-common -CFLAGS.EXTRA += -std=c89 -pedantic +CFLAGS.EXTRA += -pedantic CFLAGS.EXTRA += -fPIC CFLAGS.EXTRA += -arch i386 -arch x86_64 LDFLAGS.EXTRA = -arch i386 -arch x86_64 ifneq (undefined, $(origin GLEW_APPLE_GLX)) +CFLAGS.EXTRA += -std=c99 CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX' LDFLAGS.GL = -L/usr/X11R6/lib -lGL -lX11 else +CFLAGS.EXTRA += -std=c89 +GLEW_NO_GLU = -DGLEW_NO_GLU LDFLAGS.GL = -framework OpenGL endif LDFLAGS.DYNAMIC = diff --git a/config/Makefile.darwin-x86_64 b/config/Makefile.darwin-x86_64 index 3bce8e0..dbed967 100644 --- a/config/Makefile.darwin-x86_64 +++ b/config/Makefile.darwin-x86_64 @@ -4,13 +4,16 @@ CC = cc LD = cc CFLAGS.EXTRA += -arch x86_64 CFLAGS.EXTRA += -dynamic -fno-common -CFLAGS.EXTRA += -std=c89 -pedantic +CFLAGS.EXTRA += -pedantic CFLAGS.EXTRA += -fPIC LDFLAGS.EXTRA = -arch x86_64 ifneq (undefined, $(origin GLEW_APPLE_GLX)) +CFLAGS.EXTRA += -std=c99 CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX' LDFLAGS.GL = -L/usr/X11R6/lib -lGL -lX11 else +CFLAGS.EXTRA += -std=c89 +GLEW_NO_GLU = -DGLEW_NO_GLU LDFLAGS.GL = -framework OpenGL endif LDFLAGS.STATIC = From 925722f91060a0a19acbf1a209cd7b96ed390c19 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sun, 23 Apr 2017 11:23:12 +1000 Subject: [PATCH 07/40] OSX cmake refinement - no Requires: glu in glew.pc --- build/cmake/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/cmake/CMakeLists.txt b/build/cmake/CMakeLists.txt index 8ec3ac5..8077929 100644 --- a/build/cmake/CMakeLists.txt +++ b/build/cmake/CMakeLists.txt @@ -192,6 +192,12 @@ set (version ${GLEW_VERSION}) set (libname ${GLEW_LIB_NAME}) set (cflags) set (requireslib glu) + +# Mac OSX has no glu.pc unless optional X11/GLX is installed +if (APPLE) + set (requireslib) +endif () + configure_file (${GLEW_DIR}/glew.pc.in ${GLEW_DIR}/glew.pc @ONLY) install(FILES ${GLEW_DIR}/glew.pc From a82b9845342d8325076600ba032d243b6befa7a3 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sun, 23 Apr 2017 11:51:09 +1000 Subject: [PATCH 08/40] Add support for GLEW_INCLUDE to allow including glew.h from a custom location --- auto/src/glew_head.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/auto/src/glew_head.c b/auto/src/glew_head.c index b8c6854..d153cde 100644 --- a/auto/src/glew_head.c +++ b/auto/src/glew_head.c @@ -1,4 +1,8 @@ +#ifndef GLEW_INCLUDE #include +#else +#include GLEW_INCLUDE +#endif #if defined(GLEW_OSMESA) # define GLAPI extern From 60139a6cfb511b80e56a0496355e727846d3e859 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sun, 23 Apr 2017 12:16:50 +1000 Subject: [PATCH 09/40] Initial draft of release notes for upcoming GLEW 2.0.1 --- auto/doc/log.html | 64 +++++++++++++++++++++++++++++++++++++++++++- auto/src/header.html | 2 +- 2 files changed, 64 insertions(+), 2 deletions(-) diff --git a/auto/doc/log.html b/auto/doc/log.html index 8b6313e..c51fef1 100644 --- a/auto/doc/log.html +++ b/auto/doc/log.html @@ -2,7 +2,69 @@
    -
  • 2.2.0 [07-24-16] +
  • 2.0.1 (upcoming) +
      +
    • Enhancements: +
        +
      • Improved Mac OSX build support +
      • Improved cmake build support +
      +
    + +
      +
    • Bug fixes: +
        +
      • Resovled crash when glXGetCurrentDisplay() is NULL +
      • CMake: only install PDB files with MSVC +
      • wglGetProcAddress crash with NOGDI defined +
      • Mac: using -Os rather than -O2 +
      +
    + +
      +
    • New extensions: +
        +
      • GL_AMD_gpu_shader_half_float +
      • GL_AMD_shader_ballot +
      • GL_ARB_gl_spirv +
      • GL_EGL_KHR_context_flush_control +
      • GL_INTEL_conservative_rasterization +
      • GL_MESA_shader_integer_functions +
      • GL_NVX_blend_equation_advanced_multi_draw_buffers +
      • GL_NV_gpu_multicast +
      • EGL_ARM_implicit_external_sync +
      • EGL_EXT_gl_colorspace_bt2020_linear +
      • EGL_EXT_gl_colorspace_bt2020_pq +
      • EGL_EXT_gl_colorspace_scrgb_linear +
      • EGL_EXT_image_dma_buf_import_modifiers +
      • EGL_EXT_pixel_format_float +
      • EGL_EXT_surface_SMPTE2086_metadata +
      • EGL_KHR_context_flush_control +
      • EGL_KHR_no_config_context +
      • EGL_KHR_stream_attrib +
      • EGL_MESA_platform_surfaceless +
      • EGL_NV_stream_cross_display +
      • EGL_NV_stream_cross_object +
      • EGL_NV_stream_cross_partition +
      • EGL_NV_stream_cross_process +
      • EGL_NV_stream_cross_system +
      • EGL_NV_stream_fifo_next +
      • EGL_NV_stream_fifo_synchronous +
      • EGL_NV_stream_frame_limits +
      • EGL_NV_stream_remote +
      • EGL_NV_stream_reset +
      • EGL_NV_stream_socket +
      • EGL_NV_stream_socket_inet +
      • EGL_NV_stream_socket_unix +
      • WGL_EXT_colorspace +
      +
    + +
+ +
+