GLFW.jl icon indicating copy to clipboard operation
GLFW.jl copied to clipboard

Julia interface to GLFW, a multi-platform library for creating windows with OpenGL contexts and managing input and events.

Results 29 GLFW.jl issues
Sort by recently updated
recently updated
newest added

Hi, GLFW.jl is affected by the outdated libstdc++ issue. It's a problem that has been affecting several projects and has been documented in [at least one Discourse thread](https://discourse.julialang.org/t/glibcxx-3-4-26-not-found-in-rcall/29113/11). What happens...

The switch to the new JLL packages seems to cause problems for me and GLFW.jl. When running tests on GLFW master: ``` Updating `/tmp/jl_5BPbJ4/Project.toml` [f7f18e0c] + GLFW v3.2.1 [`~/.julia/dev/GLFW`] [8dfed614]...

I am building GLFW.jl on a Fedore 30 system. This uses Wayland graphics. I have had to install a boat load of X11 related RPMS and am still finding missing...

enhancement
OS: Linux
help wanted

Currently, it seems the user data is dedicated to callbacks: https://github.com/JuliaGL/GLFW.jl/blob/1fcbeaf2304cc4afde964d17b9b191a28ca7dedf/src/glfw3.jl#L501-L503 If a new user data pointer is registered, those callback APIs cannot work properly.

Using Julia 1.6.1 on Ubuntu 18.04 the following code fails: ``` julia> using GLFW; GLFW.Window() libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast...

> Read the GLFW documentation for detailed instructions on how to use the library. The Julia interface is almost identical to the underlying C interface, with a few notable differences:...

While it's useful to have this happen automatically, it also makes it difficult to use GLFW in a package that is running on a headless machine and only uses GLFW...

question
API break

Ideally it would take advantage of some of Julia's color or image interfaces.

enhancement
API addition

This i the output you get when running GLFW on a headless system: ```Julia ┌ Warning: GLFW.GLFWError(PLATFORM_ERROR::ErrorCode = 65544, "X11: RandR gamma ramp support seems broken") └ @ GLFW ~/.julia/packages/GLFW/pkSlg/src/GLFW.jl:38...

`ErrorCode` is already an enum. It can be rolled out to more of the constants. Candidates: - [x] Key - [x] Button actions (e.g. press, release) - [ ] Modifier...

enhancement
API addition