# 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](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.
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](http://www.glfw.org/docs/latest/compile.html) guide in
the GLFW documentation.
## Using GLFW
See the
[Building programs that use GLFW](http://www.glfw.org/docs/latest/build.html)
guide in the GLFW documentation.
## Reporting bugs
Bugs are reported to our [issue tracker](https://github.com/glfw/glfw/issues).
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.
- [Khronos extension headers](https://www.opengl.org/registry/) for API
extension symbols used by GLFW
- [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
## Changelog
- Made all client API functions dynamically loaded
- Changed minimum required CMake version to 2.8.12
- Replaced GLU with [linmath.h](https://github.com/datenwolf/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
- [Cocoa] Bugfix: The original video modes were not restored when the
application was hidden
- [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](http://www.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](https://sourceforge.net/p/glfw/discussion/247562/), and the IRC
channel `#glfw` 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 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
-
没有合适的资源?快使用搜索试试~ 我知道了~
opengl缓存测试代码
共447个文件
html:154个
js:57个
c:55个
需积分: 0 0 下载量 192 浏览量
2023-06-06
15:14:17
上传
评论
收藏 37.89MB ZIP 举报
温馨提示
使用vs2017的opengl缓存测试
资源推荐
资源详情
资源评论
收起资源包目录
opengl缓存测试代码 (447个子文件)
gl3w.c 97KB
x11_window.c 64KB
glad.c 42KB
win32_window.c 37KB
particles.c 35KB
x11_init.c 30KB
mir_window.c 26KB
glfwinfo.c 23KB
wgl_context.c 22KB
wl_init.c 21KB
xkb_unicode.c 21KB
window.c 21KB
egl_context.c 20KB
context.c 20KB
events.c 19KB
glx_context.c 19KB
boing.c 18KB
input.c 16KB
heightmap.c 16KB
splitview.c 15KB
x11_monitor.c 15KB
wl_window.c 15KB
win32_init.c 14KB
tinycthread.c 13KB
monitor.c 12KB
wave.c 11KB
win32_monitor.c 11KB
gears.c 10KB
linux_joystick.c 9KB
cursor.c 8KB
getopt.c 8KB
iconify.c 7KB
wl_monitor.c 7KB
monitors.c 7KB
joysticks.c 6KB
tearing.c 6KB
init.c 5KB
mir_monitor.c 5KB
winmm_joystick.c 5KB
reopen.c 5KB
sharing.c 5KB
gamma.c 4KB
msaa.c 4KB
clipboard.c 4KB
threads.c 4KB
windows.c 4KB
empty.c 3KB
mir_init.c 3KB
posix_time.c 3KB
simple.c 3KB
win32_time.c 3KB
win32_tls.c 2KB
mach_time.c 2KB
posix_tls.c 2KB
title.c 2KB
FindWayland.cmake 3KB
FindXKBCommon.cmake 1KB
x86_64-w64-mingw32.cmake 593B
i686-pc-mingw32.cmake 587B
i686-w64-mingw32.cmake 583B
amd64-mingw32msvc.cmake 567B
i586-mingw32msvc.cmake 562B
FindGLESv1.cmake 445B
FindGLESv2.cmake 443B
FindMir.cmake 426B
FindEGL.cmake 397B
vdds.cpp 38KB
vbm.cpp 7KB
loadtexture.cpp 6KB
targa.cpp 4KB
LoadShaders.cpp 3KB
vermilion.cpp 2KB
main.cpp 1KB
doxygen.css 25KB
extra.css 5KB
extra.css 5KB
search.css 4KB
tabs.css 1KB
Browse.VC.db 37.47MB
window.dox 31KB
moving.dox 20KB
input.dox 18KB
intro.dox 13KB
compile.dox 13KB
build.dox 12KB
context.dox 11KB
quick.dox 11KB
news.dox 10KB
compat.dox 9KB
rift.dox 7KB
monitor.dox 6KB
internal.dox 4KB
main.dox 2KB
OpenglTestBuffer.exe 193KB
OpenglTestBuffer.exe 83KB
OpenglTestBuffer.vcxproj.filters 1KB
glext.h 779KB
glext.h 754KB
glcorearb.h 235KB
gl3.h 199KB
共 447 条
- 1
- 2
- 3
- 4
- 5
资源评论
CplusOrange
- 粉丝: 1
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 参考nuc-i9拓展板的驱动应用模板代码
- OpenHarmony下的minicom工具
- 通信拓扑图标,包括数通、接入网、核心网等图标
- 课设毕设基于SSM的贝儿米幼儿教育管理系统-LW+PPT+源码可运行.zip
- Scratch 手速判断游戏:反弹之神.sb3
- M2M开发套件程序 2024-5-16
- 课设毕设基于SSM的宜佰丰超市进销存管理系统-LW+PPT+源码可运行.zip
- 课设毕设基于SSM的医院远程诊断系统-LW+PPT+源码可运行.zip
- 编码解码,(UTF16+UTF32+UTF8+ANSI)获取文本文件编码类型易语言源码
- 课设毕设基于SSM的网络视频播放器-LW+PPT+源码可运行.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功