|
|
|
@ -38,10 +38,10 @@ that specific monitor. |
|
|
|
|
|
|
|
|
|
@subsection news_30_unicode Unicode support |
|
|
|
|
|
|
|
|
|
All string arguments to GLFW functions and all strings returned by GLFW use the |
|
|
|
|
UTF-8 encoding. This includes the window title, error string, clipboard text, |
|
|
|
|
monitor and joystick names as well as the extension function arguments (as ASCII |
|
|
|
|
is a subset of UTF-8). |
|
|
|
|
All string arguments to GLFW functions and all strings returned by GLFW now use |
|
|
|
|
the UTF-8 encoding. This includes the window title, error string, clipboard |
|
|
|
|
text, monitor and joystick names as well as the extension function arguments (as |
|
|
|
|
ASCII is a subset of UTF-8). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@subsection news_30_clipboard Clipboard text I/O |
|
|
|
@ -58,7 +58,7 @@ GLFW now supports setting and reading back the gamma ramp of monitors, with the |
|
|
|
|
glfwSetGamma, which generates a ramp from a gamma value and then sets it. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@subsection news_30_gles OpenGL ES and EGL support |
|
|
|
|
@subsection news_30_gles OpenGL ES support |
|
|
|
|
|
|
|
|
|
GLFW now supports the creation of OpenGL ES contexts, by setting the |
|
|
|
|
`GLFW_CLIENT_API` window hint to `GLFW_OPENGL_ES_API`, where creation of such |
|
|
|
@ -67,8 +67,11 @@ driver must provide support in a way usable by GLFW. Modern nVidia and Intel |
|
|
|
|
drivers support creation of OpenGL ES context using the GLX and WGL APIs, while |
|
|
|
|
AMD provides an EGL implementation instead. |
|
|
|
|
|
|
|
|
|
GLFW now has an (experimental) EGL context creation back end, which can be |
|
|
|
|
selected through CMake options. |
|
|
|
|
|
|
|
|
|
@subsection news_30_egl (Experimental) EGL support |
|
|
|
|
|
|
|
|
|
GLFW now has an experimental EGL context creation back end that can be selected |
|
|
|
|
through CMake options. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@subsection news_30_hidpi High-DPI support |
|
|
|
@ -89,20 +92,20 @@ an error code and a description string. |
|
|
|
|
|
|
|
|
|
@subsection news_30_wndptr Per-window user pointer |
|
|
|
|
|
|
|
|
|
Each window object has a user-defined pointer, retrieved with @ref |
|
|
|
|
Each window now has a user-defined pointer, retrieved with @ref |
|
|
|
|
glfwGetWindowUserPointer and set with @ref glfwSetWindowUserPointer, to make it |
|
|
|
|
easier to integrate GLFW into C++ code. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@subsection news_30_iconifyfun Window iconification callback |
|
|
|
|
|
|
|
|
|
Each window object has a callback for iconification and restoration events, |
|
|
|
|
Each window now has a callback for iconification and restoration events, |
|
|
|
|
which is set with @ref glfwSetWindowIconifyCallback. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@subsection news_30_wndposfun Window position callback |
|
|
|
|
|
|
|
|
|
Each window object has a callback for position events, which is set with @ref |
|
|
|
|
Each window now has a callback for position events, which is set with @ref |
|
|
|
|
glfwSetWindowPosCallback. |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -113,7 +116,7 @@ The position of a window can now be retrieved using @ref glfwGetWindowPos. |
|
|
|
|
|
|
|
|
|
@subsection news_30_focusfun Window focus callback |
|
|
|
|
|
|
|
|
|
Windows now have a callback for focus events, which is set with @ref |
|
|
|
|
Each windows now has a callback for focus events, which is set with @ref |
|
|
|
|
glfwSetWindowFocusCallback. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|