1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 12:18:51 -05:00
Fork of glfw with addition of premake build file. GLFW is a cross-platform OpenGL/Vulkan helper library (windows, contexts, input, etc)
Go to file
2016-10-25 21:25:04 +02:00
.github Documentation work 2016-08-12 01:57:17 +02:00
CMake Mir: Add cursor mode support 2016-09-07 16:49:29 +02:00
deps Cocoa: Fix macOS 10.12 deprecation warnings 2016-10-09 01:39:31 +02:00
docs Update default name from OS X to macOS 2016-10-20 00:53:37 +02:00
examples Cleanup 2016-09-07 16:49:28 +02:00
include/GLFW Update default name from OS X to macOS 2016-10-20 00:53:37 +02:00
src Win32: Poll only helper window messages at init 2016-10-25 21:25:04 +02:00
tests Rename joystick ID variables 2016-10-16 14:07:18 +02:00
.appveyor.yml Remove CRLF line endings 2016-02-18 14:22:11 +01:00
.gitignore Update .gitignore 2016-08-18 23:59:52 +02:00
.travis.yml Add build directory for CI 2016-02-04 15:51:20 +01:00
cmake_uninstall.cmake.in Formatting. 2012-08-19 02:33:43 +02:00
CMakeLists.txt Start 3.3 2016-08-18 23:55:49 +02:00
COPYING.txt Update email address 2016-06-01 21:25:20 +02:00
README.md Update default name from OS X to macOS 2016-10-20 00:53:37 +02:00

GLFW

Build status Build status Coverity Scan

Introduction

GLFW is an Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan application development. It provides a simple, platform-independent API for creating windows, contexts and surfaces, reading input, handling events, etc.

GLFW is licensed under the zlib/libpng license.

The latest stable release is version 3.2.1.

See the downloads page for details and files, or fetch the latest branch, which always points to the latest stable release. Each release starting with 3.0 also has a corresponding annotated tag with source and binary archives.

This is a development branch for version 3.3, which is not yet described.

If you are new to GLFW, you may find the tutorial for GLFW 3 useful. If you have used GLFW 2 in the past, there is a transition guide for moving to the GLFW 3 API.

Compiling GLFW

GLFW itself requires only the headers and libraries for your window system. It does not need the headers for any context creation API (WGL, GLX, EGL, NSGL) or rendering API (OpenGL, OpenGL ES, Vulkan) to enable support for them.

GLFW supports compilation on Windows with Visual C++ 2010 and later, MinGW and MinGW-w64, on macOS with Clang and on Linux and other Unix-like systems with GCC and Clang. It will likely compile in other environments as well, but this is not regularly tested.

There are also pre-compiled Windows binaries available for all compilers supported on that platform.

See the compilation guide in the documentation for more information.

Using GLFW

See the building application guide guide in the documentation for more information.

System requirements

GLFW supports Windows XP and later, OS X 10.7 Lion and later, and Linux and other Unix-like systems with the X Window System. Experimental implementations for the Wayland protocol and the Mir display server are available but not yet officially supported.

See the compatibility guide in the documentation for more information.

Dependencies

GLFW itself depends only on the headers and libraries for your window system.

The examples and test programs depend on a number of tiny libraries. These are located in the deps/ directory.

The Vulkan example additionally requires the Vulkan SDK to be installed, or it will not be included in the build.

The documentation is generated with Doxygen. If CMake does not find Doxygen, the documentation will not be generated when you build.

Reporting bugs

Bugs are reported to our issue tracker. Please check the contribution guide for information on what to include when reporting a bug.

Changelog

  • Added glfwGetKeyScancode function that allows retrieving platform dependent scancodes for keys (#830)
  • Added glfwSetWindowMaximizeCallback and GLFWwindowmaximizefun for receiving window maximization events (#778)
  • Bugfix: Calling glfwMaximizeWindow on a full screen window was not ignored
  • Bugfix: GLFW_INCLUDE_VULKAN could not be combined with the corresponding OpenGL and OpenGL ES header macros
  • [Win32] Bugfix: Undecorated windows could not be iconified by the user (#861)
  • [Cocoa] Bugfix: Disabling window aspect ratio would assert (#852)
  • [Cocoa] Bugfix: Window creation failed to set first responder (#876,#883)
  • [EGL] Added support for EGL_KHR_get_all_proc_addresses (#871)

Contact

On glfw.org you can find the latest version of GLFW, as well as news, documentation and other information about the project.

If you have questions related to the use of GLFW, we have a forum, and the #glfw IRC channel on Freenode.

If you have a bug to report, a patch to submit or a feature you'd like to request, please file it in the issue tracker on GitHub.

Finally, if you're interested in helping out with the development of GLFW or porting it to your favorite platform, join us on the forum, GitHub or IRC.

Acknowledgements

GLFW exists because people around the world donated their time and lent their skills.

  • Bobyshev Alexander
  • artblanc
  • arturo
  • Matt Arsenault
  • Keith Bauer
  • John Bartholomew
  • Niklas Behrens
  • Niklas Bergström
  • Doug Binks
  • blanco
  • Kyle Brenneman
  • Martin Capitanio
  • Chi-kwan Chan
  • Lambert Clara
  • Andrew Corrigan
  • Noel Cower
  • Jarrod Davis
  • Olivier Delannoy
  • Paul R. Deppe
  • Michael Dickens
  • Роман Донченко
  • Mario Dorn
  • Jonathan Dummer
  • Ralph Eastwood
  • Siavash Eliasi
  • Michael Fogleman
  • Gerald Franz
  • Mário Freitas
  • GeO4d
  • Marcus Geelnard
  • Eloi Marín Gratacós
  • Stefan Gustavson
  • Sylvain Hellegouarch
  • Matthew Henry
  • heromyth
  • Lucas Hinderberger
  • Paul Holden
  • Warren Hu
  • IntellectualKitty
  • Aaron Jacobs
  • Erik S. V. Jansson
  • Toni Jovanoski
  • Arseny Kapoulkine
  • Osman Keskin
  • Cameron King
  • Peter Knut
  • Christoph Kubisch
  • Eric Larson
  • Robin Leffmann
  • Glenn Lewis
  • Shane Liesegang
  • Eyal Lotem
  • Дмитри Малышев
  • Martins Mozeiko
  • Tristam MacDonald
  • Hans Mackowiak
  • Zbigniew Mandziejewicz
  • Kyle McDonald
  • David Medlock
  • Bryce Mehring
  • Jonathan Mercier
  • Marcel Metz
  • Jonathan Miller
  • Kenneth Miller
  • Bruce Mitchener
  • Jack Moffitt
  • Jeff Molofee
  • Jon Morton
  • Pierre Moulon
  • Julian Møller
  • Kamil Nowakowski
  • Ozzy
  • Andri Pálsson
  • Peoro
  • Braden Pellett
  • Arturo J. Pérez
  • Orson Peters
  • Emmanuel Gil Peyrot
  • Cyril Pichard
  • Pieroman
  • Philip Rideout
  • Jorge Rodriguez
  • Ed Ropple
  • Aleksey Rybalkin
  • Riku Salminen
  • Brandon Schaefer
  • Sebastian Schuberth
  • Matt Sealey
  • SephiRok
  • Steve Sexton
  • Systemcluster
  • Yoshiki Shibukawa
  • Dmitri Shuralyov
  • Daniel Skorupski
  • Bradley Smith
  • Patrick Snape
  • Julian Squires
  • Johannes Stein
  • Michael Stocker
  • Justin Stoecker
  • Elviss Strazdins
  • Nathan Sweet
  • TTK-Bandit
  • Sergey Tikhomirov
  • Arthur Tombs
  • Ioannis Tsakpinis
  • Samuli Tuomola
  • urraka
  • Elias Vanderstuyft
  • Jari Vetoniemi
  • Ricardo Vieira
  • Nicholas Vitovitch
  • Simon Voordouw
  • Torsten Walluhn
  • Patrick Walton
  • Xo Wang
  • Jay Weisskopf
  • Frank Wille
  • yuriks
  • Santi Zupancic
  • Jonas Ådahl
  • Lasse Öörni
  • All the unmentioned and anonymous contributors in the GLFW community, for bug reports, patches, feedback, testing and encouragement