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
2015-10-12 19:11:21 +02:00
CMake Fixed finding of PowerVR SDK libraries. 2015-07-28 14:14:31 +02:00
deps Fix example build errors on VS2013 and earlier 2015-08-16 03:24:39 +02:00
docs Clarify GLU deprecation 2015-10-12 19:05:21 +02:00
examples Remove options from gears example 2015-08-09 18:16:58 +02:00
include/GLFW Remove stale remark 2015-10-10 22:16:27 +02:00
src Fix monitor disappearing on OS X with AGS 2015-10-12 18:42:18 +02:00
tests Add window refresh events logging to iconify test 2015-09-07 16:32:10 +02:00
.gitignore Replaced the various cursor tests with a sane one. 2015-07-16 17:48:59 +02:00
cmake_uninstall.cmake.in Formatting. 2012-08-19 02:33:43 +02:00
CMakeLists.txt Make all EGL functions dynamically loaded 2015-08-25 02:24:42 +02:00
COPYING.txt Updated COPYING. 2010-09-07 17:55:11 +02:00
README.md Update changelog 2015-10-12 19:11:21 +02:00

GLFW

Introduction

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

Version 3.1.2 adds fixes for a large number of bugs that together affect all supported platforms, as well as dynamic loading work that simplifies compilation and linking.

If you are new to GLFW, you may find the introductory 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.

Note that a number of source files have been added or renamed in 3.1, which may require you to update any custom build files you have.

Compiling GLFW

See the Compiling GLFW guide in the GLFW documentation.

Using GLFW

See the Building programs that use GLFW guide in the GLFW documentation.

Reporting bugs

Bugs are reported to our issue tracker. Please always include the name and version of the OS where the bug occurs and the version of GLFW used. If you have cloned it, include the commit ID used.

If it's a build issue, please also include the build log and the name and version of your development environment.

If it's a context creation issue, please also include the make and model of your graphics card and the version of your driver.

This will help both us and other people experiencing the same bug.

Dependencies

GLFW bundles a number of dependencies in the deps/ directory.

Changelog

  • Made all client API functions dynamically loaded
  • Changed minimum required CMake version to 2.8.12
  • Replaced GLU with linmath.h in example programs
  • Merged all cursor test programs into the cursor program
  • Removed all mention of GLU in examples, build files and package dependencies
  • Bugfix: Initialization failed on headless systems
  • Bugfix: The cached current context could get out of sync
  • Bugfix: glfwIconifyWindow did not restore the original video mode for full screen windows created with GLFW_AUTO_ICONIFY
  • [Win32] Renamed hybrid GPU override compile-time option to _GLFW_USE_HYBRID_HPG and added support for AMD PowerXpress systems
  • [Win32] Bugfix: glfwGetVideoModes included unusable modes on some systems
  • [Win32] Bugfix: glfwWaitEvents would return directly for focused windows in disabled cursor mode
  • [Cocoa] Bugfix: The cached NSScreen for a monitor could get out of sync
  • [Cocoa] Bugfix: The GLFW_AUTO_ICONIFY window hint was ignored
  • [Cocoa] Bugfix: Resizing a window to its minimum size would segfault
  • [Cocoa] Bugfix: Creating or showing a window would make its context current
  • [Cocoa] Bugfix: Joysticks connected after glfwInit were not detected
  • [Cocoa] Bugfix: Cursor creation failed unless a window had been created.
  • [Cocoa] Bugfix: Window refresh events were not generated by iconification or restoration
  • [Cocoa] Bugfix: The primary monitor would get reported as disconnected when entering full screen on a dual-GPU machine with automatic graphics switching
  • [X11] Bugfix: glfwInit would segfault on systems without RandR
  • [X11] Bugfix: The response to _NET_WM_PING was sent to the wrong window
  • [X11] Bugfix: Character input via XIM did not work in many cases
  • [X11] Bugfix: No fallback existed for missing _NET_ACTIVE_WINDOW support
  • [X11] Bugfix: Some significant window focus events were ignored
  • [X11] Bugfix: The GLFW_AUTO_ICONIFY window hint was ignored
  • [X11] Bugfix: The original video mode was not restored on iconification of full screen windows
  • [X11] Bugfix: GLFW_ARROW_CURSOR selected the wrong cursor image
  • [X11] Bugfix: The GLFW_DECORATED hint was not ignored for full screen
  • [X11] Bugfix: glfwWaitEvents did not handle EINTR for select
  • [X11] Bugfix: glfwWaitEvents could return when no events were available
  • [X11] Bugfix: XkbGetKeyboard fails on XWayland
  • [X11] Bugfix: Character input did not work correctly for non-UTF-8 locales
  • [X11] Bugfix: Long input sequences generated by IMEs were discarded
  • [WGL] Made all WGL functions dynamically loaded
  • [WGL] Removed GLFW_USE_DWM_SWAP_INTERVAL compile-time option
  • [WGL] Bugfix: Swap interval was ignored when DWM was enabled
  • [WGL] Bugfix: Failure to find a pixel format was reported incorrectly
  • [GLX] Added dependency on libdl on systems where it provides dlopen
  • [GLX] Made all GLX functions dynamically loaded
  • [GLX] Removed _GLFW_HAS_GLXGETPROCADDRESS* and _GLFW_HAS_DLOPEN compile-time options
  • [GLX] Bugfix: Failure to find a GLXFBConfig was reported incorrectly
  • [EGL] Made all EGL functions dynamically loaded
  • [EGL] Bugfix: glfwGetProcAddress did not return the addresses of core functions
  • [EGL] Bugfix: Failure to find an EGLConfig was reported incorrectly
  • [NSGL] Bugfix: Failure to find a pixel format was reported incorrectly

Contact

The official website for GLFW is glfw.org. There 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 support forum, and the IRC channel #glfw 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 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
  • Martin Capitanio
  • Chi-kwan Chan
  • Lambert Clara
  • Andrew Corrigan
  • Noel Cower
  • Jarrod Davis
  • Olivier Delannoy
  • Paul R. Deppe
  • Michael Dickens
  • Jonathan Dummer
  • Ralph Eastwood
  • Siavash Eliasi
  • Michael Fogleman
  • Gerald Franz
  • GeO4d
  • Marcus Geelnard
  • Eloi Marín Gratacós
  • Stefan Gustavson
  • Sylvain Hellegouarch
  • Matthew Henry
  • heromyth
  • Lucas Hinderberger
  • Paul Holden
  • Aaron Jacobs
  • Toni Jovanoski
  • Arseny Kapoulkine
  • Osman Keskin
  • Cameron King
  • Peter Knut
  • Eric Larson
  • Robin Leffmann
  • Glenn Lewis
  • Shane Liesegang
  • Eyal Lotem
  • Дмитри Малышев
  • Martins Mozeiko
  • Tristam MacDonald
  • Hans Mackowiak
  • 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
  • Emmanuel Gil Peyrot
  • Cyril Pichard
  • Pieroman
  • Jorge Rodriguez
  • Ed Ropple
  • Aleksey Rybalkin
  • Riku Salminen
  • Brandon Schaefer
  • Sebastian Schuberth
  • Matt Sealey
  • SephiRok
  • Steve Sexton
  • Systemcluster
  • Dmitri Shuralyov
  • Daniel Skorupski
  • Bradley Smith
  • Julian Squires
  • Johannes Stein
  • Justin Stoecker
  • Elviss Strazdins
  • Nathan Sweet
  • TTK-Bandit
  • Sergey Tikhomirov
  • A. Tombs
  • Samuli Tuomola
  • urraka
  • Jari Vetoniemi
  • Ricardo Vieira
  • Simon Voordouw
  • Torsten Walluhn
  • Patrick Walton
  • 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