nigels-com/glew: The OpenGL Extension Wrangler Library

文章推薦指數: 80 %
投票人數:10人

The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library. GLEW provides efficient run-time mechanisms ... Skiptocontent {{message}} nigels-com / glew Public Notifications Fork 513 Star 2.1k TheOpenGLExtensionWranglerLibrary License Viewlicense 2.1k stars 513 forks Star Notifications Code Issues 51 Pullrequests 4 Discussions Actions Projects 0 Security Insights More Code Issues Pullrequests Discussions Actions Projects Security Insights Thiscommitdoesnotbelongtoanybranchonthisrepository,andmaybelongtoaforkoutsideoftherepository. master Branches Tags Couldnotloadbranches Nothingtoshow {{refName}} default Couldnotloadtags Nothingtoshow {{refName}} default 42 branches 20 tags Code Latestcommit nigels-com README:travis-ciisnolongerrelevant … 2c4c183 Apr2,2022 README:travis-ciisnolongerrelevant 2c4c183 Gitstats 1,168 commits Files Permalink Failedtoloadlatestcommitinformation. Type Name Latestcommitmessage Committime auto Removeunnecessarycode Apr2,2022 build cmake:Installeglew.h Feb8,2022 config Make:Remove32bitsupportfromuniversalbuild Feb9,2022 doc Fixvarioustypos Dec19,2021 src visualinfo:EGLnotsupportedyet,erroroutmoreclearly Oct4,2021 .gitattributes InitialEGLcoreandextensionsupportwithPythonegl.xmlspecparser Feb6,2016 .gitignore AddVisualStudio2015and2017projectfiles Nov18,2017 .lgtm.yml Renamelgtm.ymltohidethefile Nov26,2020 .travis.yml CMake:PreferGLVNDifavailable Mar21,2021 LICENSE.txt Seteol-styletonativeformischeadersandtextfiles Oct7,2009 Makefile Disablestrippingindebug-modebuilds Oct4,2021 README.md README:travis-ciisnolongerrelevant Apr2,2022 cmake-testbuild.sh build:cmake-testbuildtoworkonOSXandwithCMake<3.0 Jul12,2015 glew.pc.in Extendglew.pcoutputtomentionGLlinking(-frameworkonOSX) Mar16,2019 Viewcode GLEW-TheOpenGLExtensionWranglerLibrary TableofContents Downloads Recentsnapshots Build LinuxandMac UsingGNUMake Installbuildtools Build LinuxEGL LinuxOSMesa Linuxmingw-w64 Usingcmake Installbuildtools Build Windows VisualStudio MSYS/Mingw MSYS2/Mingw-w64 glewinfo CodeGeneration Authors Contributions CopyrightandLicensing README.md GLEW-TheOpenGLExtensionWranglerLibrary TheOpenGLExtensionWranglerLibrary(GLEW)isacross-platformopen-sourceC/C++extensionloadinglibrary.GLEWprovidesefficientrun-timemechanismsfordeterminingwhichOpenGLextensionsaresupportedonthetargetplatform.OpenGLcoreandextensionfunctionalityisexposedinasingleheaderfile.GLEWhasbeentestedonavarietyofoperatingsystems,includingWindows,Linux,MacOSX,FreeBSD,Irix,andSolaris. http://glew.sourceforge.net/ https://github.com/nigels-com/glew TableofContents Downloads Recentsnapshots Build LinuxandMac UsingGNUMake Installbuildtools Build LinuxEGL LinuxOSMesa Linuxmingw-w64 Usingcmake Installbuildtools Build Windows VisualStudio MSYS/Mingw MSYS2/Mingw-w64 glewinfo CodeGeneration Authors Contributions CopyrightandLicensing Downloads Currentreleaseis2.2.0. (ChangeLog) Sourcesavailableas ZIPor TGZ. Windowsbinariesfor32-bitand64-bit. Recentsnapshots Snapshotsmaycontainnewfeatures,bug-fixesornewOpenGLextensionsaheadoftested,officialreleases. glew-20220402.tgzGLEW2.2.0-withfixforglCreateProgressFenceNVX Build Itishighlyrecommendedtobuildfromatgzorzipreleasesnapshot. Thecodegenerationworkflowisacomplexbrewofgnumake,perlandpython,thatworksbestonLinuxorMac. ThecodegenerationisknowntoworkonWindowsusingMSYS2. Formostend-usersofGLEWtheofficialreleasesarethebestchoice,withfirstclasssupport. LinuxandMac UsingGNUMake GNUmakeistheprimarybuildsystemforGLEW,historically. Itincludestargetsforbuildingthesourcesandheaders,formaintenancepurposes. Installbuildtools Debian/Ubuntu/Mint:$sudoapt-getinstallbuild-essentiallibxmu-devlibxi-devlibgl-dev RedHat/CentOS/Fedora:$sudoyuminstalllibXmu-devellibXi-devellibGL-devel FreeBSD:#pkginstallxorglang/gccgitcmakegmakebashpythonperl5 Build $make $sudomakeinstall $makeclean Targets:all,glew.lib(sub-targets:glew.lib.shared,glew.lib.static),glew.bin,clean,install,uninstall Variables:SYSTEM=linux-clang,GLEW_DEST=/usr/local,STRIP= Note:youmayneedtocallmakeintheautofolderfirst LinuxEGL $sudoaptinstalllibegl1-mesa-dev $makeSYSTEM=linux-egl LinuxOSMesa $sudoaptinstalllibosmesa-dev $makeSYSTEM=linux-osmesa Linuxmingw-w64 $sudoaptinstallmingw-w64 $makeSYSTEM=linux-mingw32 $makeSYSTEM=linux-mingw64 Usingcmake Thecmakebuildismostlycontributormaintained. Duetothemultitudeofusecasesthisismaintainedonabesteffortbasis. Pullrequestsarewelcome. CMake2.8.12orhigherisrequired. Installbuildtools Debian/Ubuntu/Mint:$sudoapt-getinstallbuild-essentiallibxmu-devlibxi-devlibgl-devcmakegit RedHat/CentOS/Fedora:$sudoyuminstalllibXmu-devellibXi-devellibGL-develcmakegit Build $cdbuild $cmake./cmake $make-j4 Target Description glew Buildtheglewsharedlibrary. glew_s Buildtheglewstaticlibrary. glewinfo Buildtheglewinfoexecutable(requiresBUILD_UTILStobeON). visualinfo Buildthevisualinfoexecutable(requiresBUILD_UTILStobeON). install InstallallenabledtargetsintoCMAKE_INSTALL_PREFIX. clean Cleanupbuildartifacts. all Buildallenabledtargets(defaulttarget). Variables Description BUILD_UTILS Buildtheglewinfoandvisualinfoexecutables. GLEW_REGAL BuildinRegalmode. GLEW_OSMESA Buildinoff-screenMesamode. BUILD_FRAMEWORK BuildasMacOSXFramework.SettingCMAKE_INSTALL_PREFIXto/Library/Frameworksisrecommended. Windows VisualStudio UsetheprovidedVisualStudioprojectfileinbuild/vc15/ Projectsforvc6,vc10,vc12andvc14arealsoprovided MSYS/Mingw AvailablefromMingw Requirements:bash,make,gcc $mingw32-make $mingw32-makeinstall $mingw32-makeinstall.all Alternativetoolchain:SYSTEM=mingw-win32 MSYS2/Mingw-w64 AvailablefromMsys2and/orMingw-w64 Requirements:bash,make,gcc $pacman-Sgccmakemingw-w64-i686-gccmingw-w64-x86_64-gcc $make $makeinstall $makeinstall.all Alternativetoolchain:SYSTEM=msys,SYSTEM=msys-win32,SYSTEM=msys-win64 glewinfo glewinfoisacommand-linetoolusefulforinspectingthecapabilitiesofan OpenGLimplementationandGLEWsupportforthat.Pleaseincludeglewinfo.txt withbugreports,asappropriate. --------------------------- GLEWExtensionInfo --------------------------- GLEWversion2.0.0 Reportingcapabilitiesofpixelformat3 RunningonaIntel(R)HDGraphics3000fromIntel OpenGLversion3.1.0-Build9.17.10.4229issupported GL_VERSION_1_1:OK --------------- GL_VERSION_1_2:OK --------------- glCopyTexSubImage3D:OK glDrawRangeElements:OK glTexImage3D:OK glTexSubImage3D:OK ... CodeGeneration AUnixorMacenvironmentisneededforbuildingGLEWfromscratchto includenewextensions,orcustomizethecodegeneration.Theextension dataisregeneratedfromthetoplevelsourcedirectorywith: makeextensions AnalternativetogeneratingtheGLEWsourcesfromscratchisto downloadapre-generated(unsupported)snapshot: https://sourceforge.net/projects/glew/files/glew/snapshots/ Authors GLEWiscurrentlymaintainedbyNigelStewart withbugfixes,newOpenGLextensionsupportandnewreleases. GLEWwasdevelopedbyMilanIkits andMarceloMagallon. AaronLefohn,JoeKniss,andChrisWymanwerethefirstusersandalso assistedwiththedesignanddebuggingprocess. TheacronymGLEWoriginatesfromAaronLefohn. PasiKärkkäinenidentifiedandfixedseveralproblemswith GLXandSDL.NateRobinscreatedthewglinfoutility,to whichmodificationsweremadebyMichaelWimmer. Contributions GLEWwelcomescommunitycontributions.Typicallytheseareco-ordinated viaIssuesor PullRequestsinthe GitHubwebinterface. Besuretomentionplatformandcompilertoolchaindetailswhenfiling abugreport.Theoutputofglewinfocanbequiteusefulfordiscussion also. GenerallyGLEWisusuallyreleasedonceayear,aroundthetimeoftheSiggraph computergraphicsconference.Ifyou'renotusingthecurrentrelease versionofGLEW,besuretocheckiftheissueorbugisfixedthere. CopyrightandLicensing GLEWisoriginallyderivedfromtheEXTGLprojectbyLevPovalahev. Thesourcecodeislicensedunderthe ModifiedBSDLicense,the Mesa3-DLicense(MIT)andthe KhronosLicense(MIT). Theautomaticcodegenerationscriptsarereleasedunderthe GNUGPL. About TheOpenGLExtensionWranglerLibrary Topics c opengl glx egl glew wgl glewinfo visualinfo Resources Readme License Viewlicense Stars 2.1k stars Watchers 135 watching Forks 513 forks Releases 3 GLEW2.2.0 Latest Jan10,2021 +2releases Packages0 Nopackagespublished Contributors59 +48contributors Languages C 30.2% HTML 19.8% C++ 14.2% Perl 10.2% Shell 8.6% Makefile 8.5% Other 8.5% Youcan’tperformthatactionatthistime. Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession. Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.



請為這篇文章評分?