# 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 natively supports Windows, macOS and Linux and other Unix-like systems.
Experimental implementations for the Wayland protocol and the Mir display server
are available but not yet officially supported.
GLFW is licensed under the [zlib/libpng
license](http://www.glfw.org/license.html).
The latest stable release is version 3.2.1.
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.
The [version history](http://www.glfw.org/changelog.html) lists all user-visible
changes for every release.
This is a development branch for version 3.3, which is _not yet described_.
Pre-release documentation is available [here](http://www.glfw.org/docs/3.3/).
The `master` branch is the stable integration branch and _should_ always compile
and run on all supported platforms, although details of newly added features may
change until they have been included in a release. New features and many bug
fixes live in [other branches](https://github.com/glfw/glfw/branches/all) until
they are stable enough to merge.
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,
OSMesa) 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 [pre-compiled Windows binaries](http://www.glfw.org/download.html)
available for all supported compilers.
See the [compilation guide](http://www.glfw.org/docs/latest/compile.html) for
more information about how to compile GLFW yourself.
## Using GLFW
See the [documentation](http://www.glfw.org/docs/latest/) for tutorials, guides
and the API reference.
## Contributing to GLFW
See the [contribution
guide](https://github.com/glfw/glfw/blob/master/docs/CONTRIBUTING.md) for
more information.
## System requirements
GLFW supports Windows XP and later and macOS 10.7 and later. Linux and other
Unix-like systems running the X Window System are supported even without
a desktop environment or modern extensions, although some features require
a running window or clipboard manager. The OSMesa backend requires Mesa 6.3.
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 (experimental) Wayland backend also depends on the `extra-cmake-modules`
package, which is used to generated Wayland protocol headers.
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
- [Nuklear](https://github.com/vurtun/nuklear) for test and example UI
- [stb\_image\_write](https://github.com/nothings/stb) for writing images to disk
- [Vulkan headers](https://www.khronos.org/registry/vulkan/) for Vulkan tests
The Vulkan example additionally requires the LunarG Vulkan SDK to be installed,
or it will not be included in the build. On macOS you need to provide the path
to the SDK manually as it has no standard installation location.
The documentation is generated with [Doxygen](http://doxygen.org/) if CMake can
find that tool.
## 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/docs/CONTRIBUTING.md) for
information on what to include when reporting a bug.
## Changelog
- Added `glfwGetError` function for querying the last error code and its
description (#970)
- Added `glfwUpdateGamepadMappings` function for importing gamepad mappings in
SDL\_GameControllerDB format (#900)
- Added `glfwJoystickIsGamepad` function for querying whether a joystick has
a gamepad mapping (#900)
- Added `glfwGetJoystickGUID` function for querying the SDL compatible GUID of
a joystick (#900)
- Added `glfwGetGamepadName` function for querying the name provided by the
gamepad mapping (#900)
- Added `glfwGetGamepadState` function, `GLFW_GAMEPAD_*` and `GLFWgamepadstate`
for retrieving gamepad input state (#900)
- Added `glfwGetWindowContentScale`, `glfwGetMonitorContentScale` and
`glfwSetWindowContentScaleCallback` for DPI-aware rendering
(#235,#439,#677,#845,#898)
- Added `glfwRequestWindowAttention` function for requesting attention from the
user (#732,#988)
- Added `glfwGetKeyScancode` function that allows retrieving platform dependent
scancodes for keys (#830)
- Added `glfwSetWindowMaximizeCallback` and `GLFWwindowmaximizefun` for
receiving window maximization events (#778)
- Added `glfwSetWindowAttrib` function for changing window attributes (#537)
- Added `glfwGetJoystickHats` function for querying joystick hats
(#889,#906,#934)
- Added `glfwInitHint` for setting initialization hints
- Added `glfwWindowHintString` for setting string type window hints (#893,#1139)
- Added `glfwGetWindowOpacity` and `glfwSetWindowOpacity` for controlling whole
window transparency (#1089)
- Added `glfwSetMonitorUserPointer` and `glfwGetMonitorUserPointer` for
per-monitor user pointers
- Added `glfwSetJoystickUserPointer` and `glfwGetJoystickUserPointer` for
per-joystick user pointers
- Added `glfwGetX11SelectionString` and `glfwSetX11SelectionString`
functions for accessing X11 primary selection (#894,#1056)
- Added headless [OSMesa](http://mesa3d.org/osmesa.html) backend (#850)
- Added definition of `GLAPIENTRY` to public header
- Added `GLFW_TRANSPARENT_FRAMEBUFFER` window hint and attribute for controlling
per-pixel framebuffer transparency (#197,#663,#715,#723,#1078)
- Added `GLFW_HOVERED` window attribute for polling cursor hover state (#1166)
- Added `GLFW_CENTER_CURSOR` window hint for controlling cursor centering
(#749,#842)
- Added `GLFW_JOYSTICK_HAT_BUTTONS` init hint (#889)
- Added `GLFW_LOCK_KEY_MODS` input mode and `GLFW_MOD_*_LOCK` mod bits (#946)
- Added macOS specific `GLFW_COCOA_RETINA_FRAMEBUFFER` window hint
- Added macOS specific `GLFW_COCOA_FRAME_NAME` window hint (#195)
- Added macOS specific `GLFW_COCOA_GRAPHICS_SWITCHING` window hint (#377,#935)
- Added macOS specific `GLFW_COCOA_CHDIR_RESOURCES` init hint
- Added macOS specific `GLFW_COCOA_MENUBAR` init hint
- Added X11 specific `GLFW_X11_
没有合适的资源?快使用搜索试试~ 我知道了~
Open3D:Open3D的
共1899个文件
cpp:616个
h:499个
py:173个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 25 下载量 134 浏览量
2021-05-10
17:27:54
上传
评论
收藏 89.86MB ZIP 举报
温馨提示
Open3D:3D数据处理的现代库 | | | | | | | | Open3D是一个开放源代码库,支持快速开发处理3D数据的软件。 Open3D前端在C ++和Python中公开了一组经过精心选择的数据结构和算法。 后端经过高度优化,并设置为并行化。 我们欢迎开源社区的贡献。 Open3D的核心功能包括: 3D数据结构 3D数据处理算法 场景重建 表面对齐 3D可视化 基于物理的渲染(PBR) 使用PyTorch和TensorFlow的3D机器学习支持 核心3D操作的GPU加速 在C ++和Python中可用 有关更多信息,请访问。 Python快速入门 预先构建的pip和conda软件包支持带有Python 3.6、3.7和3.8的Ubuntu 18.04 +,macOS 10.14+和Windows 10(64位)。 # Install Open3D stable re
资源推荐
资源详情
资源评论
收起资源包目录
Open3D:Open3D的 (1899个子文件)
make.bat 646B
bld.bat 107B
cloud_bin_0.fpfh.bin 1006KB
cloud_bin_0.d32.bin 976KB
cloud_bin_1.fpfh.bin 892KB
cloud_bin_1.d32.bin 865KB
glew.c 1.18MB
glewinfo.c 651KB
tinyfiledialogs.c 146KB
x11_window.c 94KB
glad.c 88KB
win32_window.c 60KB
rply.c 54KB
wl_window.c 47KB
x11_init.c 41KB
visualinfo.c 40KB
wl_init.c 40KB
input.c 35KB
window.c 32KB
mir_window.c 29KB
win32_joystick.c 26KB
context.c 25KB
egl_context.c 24KB
wgl_context.c 24KB
xkb_unicode.c 22KB
glx_context.c 22KB
win32_init.c 20KB
x11_monitor.c 15KB
win32_monitor.c 15KB
monitor.c 14KB
tinycthread.c 13KB
linux_joystick.c 12KB
vulkan.c 11KB
osmesa_context.c 11KB
mir_init.c 10KB
lzf_c.c 9KB
init.c 8KB
getopt.c 8KB
null_window.c 8KB
mir_monitor.c 7KB
lzf_d.c 6KB
wl_monitor.c 6KB
convert.c 5KB
posix_thread.c 3KB
win32_thread.c 3KB
posix_time.c 3KB
sconvert.c 2KB
win32_time.c 2KB
null_monitor.c 2KB
cocoa_time.c 2KB
null_init.c 2KB
null_joystick.c 2KB
dump.c 1KB
Assets.car 84KB
setup.cfg 144B
.clang-format 178B
find_dependencies.cmake 48KB
FindLAPACKE.cmake 16KB
mkl.cmake 10KB
make_python_package.cmake 6KB
zeromq_build.cmake 4KB
FindPytorch.cmake 4KB
webrtc_build.cmake 4KB
Findlibusb-1.0.cmake 3KB
webrtc_common.cmake 3KB
librealsense.cmake 3KB
ippicv.cmake 3KB
filament_download.cmake 3KB
FindTensorflow.cmake 3KB
check_cpp_style.cmake 3KB
libjpeg-turbo.cmake 3KB
tbb.cmake 2KB
filament_build.cmake 2KB
assimp.cmake 2KB
azure_kinect.cmake 2KB
faiss_build.cmake 2KB
stdgpu.cmake 2KB
FindVulkan.cmake 2KB
webrtc_download.cmake 1KB
libpng.cmake 1KB
civetweb.cmake 1KB
jsoncpp.cmake 1KB
FindOSMesa.cmake 1KB
zlib.cmake 1KB
openblas.cmake 1KB
boost.cmake 1KB
GenerateMappings.cmake 1KB
FindXKBCommon.cmake 1KB
FindMir.cmake 988B
FindWaylandProtocols.cmake 915B
FindPythonExecutable.cmake 871B
FindTBB.cmake 870B
iterative_build_examples.cmake 771B
x86_64-w64-mingw32.cmake 592B
i686-pc-mingw32.cmake 586B
i686-w64-mingw32.cmake 582B
FindCUB.cmake 580B
amd64-mingw32msvc.cmake 566B
i586-mingw32msvc.cmake 561B
Findparallelstl.cmake 530B
共 1899 条
- 1
- 2
- 3
- 4
- 5
- 6
- 19
资源评论
- chaospoet02021-06-29111111111111111111
- weixin_563206252022-12-08感谢大佬分享的资源,对我启发很大,给了我新的灵感。
cestZOE
- 粉丝: 27
- 资源: 4547
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功