TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

GLFW 3.3 Is Released

124 点作者 dmitshur大约 6 年前

9 条评论

klodolph大约 6 年前
For those who wonder what GLFW is... if you want to play with OpenGL or Vulkan, make a graphics demo, or make a game, GLFW is a library that frees you from having to deal with the nuances of Win32&#x2F;X11&#x2F;etc, wrangles keyboard inputs and other things across platforms.<p>It is similar to LibSDL, but is more lightweight and GPU-centric. GLFW is designed more with greenfield projects in mind, whereas LibSDL was designed from the beginning to help with porting existing code. (They are both excellent libraries.)
评论 #19674334 未加载
评论 #19674878 未加载
评论 #19676514 未加载
评论 #19676045 未加载
bryanphe大约 6 年前
Very excited for this release! GLFW is part of the foundation for a UI framework we&#x27;re building called Revery [1] and there are several features in 3.3 that will be useful for us - transparent framebuffers, headless backend via OSMesa (important for CI &#x2F; automation), and high-DPI improvements.<p>GLFW takes a lot of the pain out of cross-platform GPU development, and I&#x27;ve found the API simple and intuitive to work with. For those looking to play with it - the LearnOpenGL tutorial series [2] is excellent, and uses GLFW for managing a window and getting an OpenGL context.<p>Thank you maintainers for your work on it!<p>- [1] Revery: <a href="https:&#x2F;&#x2F;github.com&#x2F;revery-ui&#x2F;revery" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;revery-ui&#x2F;revery</a><p>- [2] LearnOpenGL: <a href="https:&#x2F;&#x2F;learnopengl.com&#x2F;Getting-started&#x2F;Creating-a-window" rel="nofollow">https:&#x2F;&#x2F;learnopengl.com&#x2F;Getting-started&#x2F;Creating-a-window</a>
评论 #19675820 未加载
minxomat大约 6 年前
Nice to see this is still in development. I wrote GLWF bindings for two languages and it was pretty easy to grok. It&#x27;s also absolutely essential if you want to have an UI in a language without support for GUIs (like golang). Just use the OpenGL backend for the immediate mode UI lib of your choice (dear-imgui, nuklear, ...) and GLFW for the window setup and you&#x27;re golden.
planteen大约 6 年前
Excellent! I&#x27;ve been using GLFW_TRANSPARENT_FRAMEBUFFER for over a year, but kept having to do builds out of Git to get support. It will be nice when this new library trickles into Linux distros over the next year.
eikenberry大约 6 年前
&quot;GLFW is an Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan development on the desktop. It provides a simple API for creating windows, contexts and surfaces, receiving input and events.&quot;
binarycrusader大约 6 年前
As a nice complement to GLFW, there&#x27;s also bgfx which can be configured to use GLFW:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;bkaradzic&#x2F;bgfx" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bkaradzic&#x2F;bgfx</a>
enriquto大约 6 年前
Can somebody explain what are the advantages of glfw over freeglut? (other than the non-issue of &quot;being&quot; old)<p>I am using freeglut for casual opengl code, and I see no problem with it. Is there anything that I am missing?
评论 #19675050 未加载
评论 #19675046 未加载
jokoon大约 6 年前
Finally, I was waiting for this release, they fixed an annoying click event bug on Linux.<p>Hard to know why this bug had to wait so long for a fix. Where are the delays coming from?
floatboth大约 6 年前
Dynamic loading of backends, i.e. supporting X11 and Wayland with the same build (PR #1338) didn&#x27;t make it :(