# GLFW
[![Build status](https://travis-ci.org/glfw/glfw.svg?branch=master)](https://travis-ci.org/glfw/glfw)
[![Build status](https://ci.appveyor.com/api/projects/status/0kf0ct9831i5l6sp/branch/master?svg=true)](https://ci.appveyor.com/project/elmindreda/glfw)
[![Coverity Scan](https://scan.coverity.com/projects/4884/badge.svg)](https://scan.coverity.com/projects/glfw-glfw)
## 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](https://opensource.org/licenses/Zlib).
This is version 3.2.1, which adds support for statically linking the Vulkan
loader and fixes for a number of bugs that together affect all supported
platforms.
See the [downloads](http://www.glfw.org/download.html) 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](https://github.com/glfw/glfw/releases) with source and binary archives.
If you are new to GLFW, you may find the
[tutorial](http://www.glfw.org/docs/latest/quick.html) for GLFW
3 useful. If you have used GLFW 2 in the past, there is a
[transition guide](http://www.glfw.org/docs/latest/moving.html) 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 OS X 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](http://www.glfw.org/download.html) available for all compilers
supported on that platform.
See the [compilation guide](http://www.glfw.org/docs/latest/compile.html) in the
documentation for more information.
## Using GLFW
See the [building application guide](http://www.glfw.org/docs/latest/build.html)
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](http://www.glfw.org/docs/latest/compat.html)
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.
- [getopt\_port](https://github.com/kimgr/getopt_port/) for examples
with command-line options
- [TinyCThread](https://github.com/tinycthread/tinycthread) for threaded
examples
- An OpenGL 3.2 core loader generated by
[glad](https://github.com/Dav1dde/glad) for examples using modern OpenGL
- [linmath.h](https://github.com/datenwolf/linmath.h) for linear algebra in
examples
- [Vulkan headers](https://www.khronos.org/registry/vulkan/) for Vulkan tests
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](http://doxygen.org/). If CMake
does not find Doxygen, the documentation will not be generated when you build.
## Reporting bugs
Bugs are reported to our [issue tracker](https://github.com/glfw/glfw/issues).
Please check the [contribution
guide](https://github.com/glfw/glfw/blob/master/.github/CONTRIBUTING.md) for
information on what to include when reporting a bug.
## Changelog
- Added on-demand loading of Vulkan and context creation API libraries
- Added `_GLFW_VULKAN_STATIC` build macro to make the library use the Vulkan
loader linked statically into the application (#820)
- Bugfix: Single compilation unit builds failed due to naming conflicts (#783)
- Bugfix: The range checks for `glfwSetCursorPos` used the wrong minimum (#773)
- Bugfix: Defining `GLFW_INCLUDE_VULKAN` when compiling the library did not
fail with the expected error message (#823)
- Bugfix: Inherited value of `CMAKE_MODULE_PATH` was clobbered (#822)
- [Win32] Bugfix: `glfwSetClipboardString` created an unnecessary intermediate
copy of the string
- [Win32] Bugfix: Examples failed to build on Visual C++ 2010 due to C99 in
`linmath.h` (#785)
- [Win32] Bugfix: The first shown window ignored the `GLFW_MAXIMIZED` hint
when the process was provided a `STARTUPINFO` (#780)
- [Cocoa] Bugfix: Event processing would segfault on some machines due to
a previous distributed notification listener not being fully
removed (#817,#826)
- [Cocoa] Bugfix: Some include statements were duplicated (#838)
- [X11] Bugfix: Window size limits were ignored if the minimum or maximum size
was set to `GLFW_DONT_CARE` (#805)
- [X11] Bugfix: Input focus was set before window was visible, causing
`BadMatch` on some non-reparenting WMs (#789,#798)
- [X11] Bugfix: `glfwGetWindowPos` and `glfwSetWindowPos` operated on the
window frame instead of the client area (#800)
- [WGL] Added reporting of errors from `WGL_ARB_create_context` extension
- [GLX] Bugfix: Dynamically loaded entry points were not verified
- [EGL] Added `lib` prefix matching between EGL and OpenGL ES library binaries
- [EGL] Bugfix: Dynamically loaded entry points were not verified
## Contact
On [glfw.org](http://www.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](http://discourse.glfw.org/), and the `#glfw` IRC channel on
[Freenode](http://freenode.net/).
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](https://github.com/glfw/glfw/issues) 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
- 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
- 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
- Emman
没有合适的资源?快使用搜索试试~ 我知道了~
qtOpenGLDemo2.rar
共1536个文件
tlog:291个
obj:162个
html:158个
需积分: 13 30 下载量 2 浏览量
2017-12-24
22:57:04
上传
评论
收藏 21.25MB RAR 举报
温馨提示
Qt编译下的windows c++ opengl 工程模版 1.编译环境QtCreator 2.编译器mingw530_32 3.glad文件 4.glfw3.2.1的源文件,带有mingw编译的库 修改: 1.增加VAO,VBO,SHADERPROGRAM 画三角形 作者:红模仿 QQ:21497936 日期:2017年12月24日
资源推荐
资源详情
资源评论
收起资源包目录
qtOpenGLDemo2.rar (1536个子文件)
objects.a 161KB
objects.a 146KB
objects.a 146KB
libglfw3.a 144KB
objects.a 143KB
objects.a 141KB
objects.a 141KB
objects.a 138KB
objects.a 134KB
objects.a 134KB
objects.a 120KB
objects.a 119KB
objects.a 119KB
objects.a 119KB
objects.a 118KB
objects.a 118KB
objects.a 117KB
objects.a 117KB
objects.a 117KB
objects.a 117KB
objects.a 115KB
objects.a 115KB
objects.a 114KB
objects.a 113KB
objects.a 112KB
objects.a 112KB
CMakeDetermineCompilerABI_C.bin 48KB
CMakeDetermineCompilerABI_C.bin 45KB
feature_tests.bin 45KB
vulkan.c 87KB
glad.c 85KB
glad.c 85KB
glad.c 83KB
x11_window.c 77KB
win32_window.c 49KB
particles.c 35KB
glfwinfo.c 31KB
x11_init.c 31KB
wl_window.c 31KB
window.c 26KB
mir_window.c 25KB
win32_joystick.c 25KB
context.c 23KB
wgl_context.c 23KB
egl_context.c 23KB
wl_init.c 22KB
glx_context.c 21KB
xkb_unicode.c 21KB
events.c 20KB
boing.c 19KB
CMakeCCompilerId.c 18KB
CMakeCCompilerId.c 18KB
input.c 18KB
win32_init.c 16KB
heightmap.c 16KB
x11_monitor.c 15KB
splitview.c 15KB
tinycthread.c 13KB
monitor.c 13KB
win32_monitor.c 12KB
wave.c 12KB
vulkan.c 10KB
mir_init.c 10KB
gears.c 10KB
linux_joystick.c 9KB
cursor.c 9KB
iconify.c 8KB
getopt.c 8KB
wl_monitor.c 7KB
monitors.c 7KB
mir_monitor.c 6KB
init.c 6KB
joysticks.c 6KB
tearing.c 6KB
reopen.c 5KB
sharing.c 5KB
simple.c 5KB
gamma.c 5KB
msaa.c 4KB
windows.c 4KB
clipboard.c 4KB
icon.c 4KB
threads.c 4KB
empty.c 3KB
timeout.c 3KB
posix_time.c 3KB
win32_tls.c 2KB
posix_tls.c 2KB
win32_time.c 2KB
title.c 2KB
cocoa_time.c 2KB
feature_tests.c 722B
cmake.check_cache 86B
cmake.check_cache 86B
Makefile.cmake 6KB
cmake_install.cmake 5KB
cmake_install.cmake 4KB
glfw3Targets.cmake 3KB
glfw3Targets.cmake 3KB
CMakeCCompiler.cmake 3KB
共 1536 条
- 1
- 2
- 3
- 4
- 5
- 6
- 16
资源评论
长沙红胖子Qt(长沙创微智科)
- 粉丝: 14w+
- 资源: 218
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功