27 GLFW 4.0 sketchbook
Camilla Löwy edited this page 2020-07-03 18:29:37 +02:00

This is not a design document.

  • Add APIENTRY to GLFWproc
  • Add return value error indication where possible
  • Add enumerable controller objects
  • Add context objects
  • Replace character callbacks with text callback
  • Replace glfwGetWindowAttrib with accessors for run-time attributes
  • Replace empty events with custom events that carry a pointer
  • Put major version number in shared/dynamic library name
  • Possible adaption to positioning-less Wayland
  • Cleanup of float vs. double
  • Cleanup of signed vs. unsigned
  • Change default to compatibility profile
  • Possibly move to built-in config selection
  • Handle mouse button swapping
  • Rename joystick to controller
  • Rename GLFW_CLIENT_API to GLFW_CONTEXT_TYPE
  • Rename glfwGetVersion to glfwGetLibraryVersion
  • Rename GLFW_VERSION_* to GLFW_HEADER_VERSION_*
  • Change macOS prefix to MACOS
  • Separate video mode from window
  • Revert to map monitors to CRTCs unless major legacy Oculus clones appear
  • Make GLFW_DONT_CARE default for context version hints
  • Set GLFW_DONT_CARE to INT_MIN instead of -1
  • Sort video modes by width and then height instead of by area
  • Unify GLFW*proc to GLFWproc
  • Sane function pointer typedefs
  • Move to enums for tokens
  • Move error callback pointer to per-thread error struct
  • Sort out SRGB_CAPABLE vs. COLORSPACE
  • Make space between last key and GLFW_KEY_LAST
  • Remove focus behavior from glfwShowWindow
  • Remove glfwSetTime (rationale)
  • Remove window parameter of clipboard functions
  • Remove auto-iconification
  • Remove GLFW_CURSOR_HIDDEN
  • Return (English, l10n-able) known names for all known keys