Camilla Berglund
3cfc400cf9
Simplified source file comment headers.
ago%!(EXTRA string=12 years)
Camilla Berglund
194e22dbbe
Fixed retrieval of OpenGL 1.0 and 1.1 on WGL.
ago%!(EXTRA string=12 years)
Camilla Berglund
d82f068f7e
Reintroduced manual framebuffer config selection.
...
The default behavior of WGL, EGL and GLX is to choose a config that has
/at least/ the specified number of bits, whereas the GLFW 2 behavior was
to choose the closest match with very few hard constraints. Moving the
responsibility of finding the supported minimum values to the client was
problematic, as there's no way to enumerate supported configurations,
forcing the client to perform multiple (and slow) window/context
creation attempts. Not even the currently set defaults (24-bit color
and depth, 8-bit stencil) is universally supported, as bug reports show.
ago%!(EXTRA string=12 years)
Camilla Berglund
4a2a00766c
TLS key cleanup.
ago%!(EXTRA string=12 years)
Camilla Berglund
f06a700307
Renamed support directory to deps.
ago%!(EXTRA string=12 years)
Camilla Berglund
cd2b6eb83c
Replaced __declspec(thread) with TlsAlloc.
...
Variables created within a DLL with __declspec(thread) may not get a TLS
slot on Windows XP, leading to segfaults on use. Moving to TlsAlloc
works around this.
ago%!(EXTRA string=12 years)
Camilla Berglund
a8ea120cae
Removed internal fbconfig enum and selection.
ago%!(EXTRA string=13 years)
Camilla Berglund
b72a97d531
Renamed global struct and substructs.
...
Renamed _glfwLibrary to _glfw and made all substructs lower-case, making
global variable names easier to read and type. Partially inspired by the
internal naming conventions of glwt.
ago%!(EXTRA string=13 years)
Camilla Berglund
10cc85343a
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
b934cdf573
Begun preparations for Win32 EGL support.
ago%!(EXTRA string=13 years)
Camilla Berglund
7493bbe0c8
Removed X11 prefix from EGL and GLX files.
ago%!(EXTRA string=13 years)
Camilla Berglund
74488bec67
Further isolated X11-specific parts of EGL code.
ago%!(EXTRA string=13 years)
Camilla Berglund
0ca1e67d7a
Moved X11-specific defines to X11 header.
ago%!(EXTRA string=13 years)
Camilla Berglund
edd554c115
Added support for EGL_KHR_create_context.
ago%!(EXTRA string=13 years)
Camilla Berglund
e9c82a82b2
Added eglext.h header.
ago%!(EXTRA string=13 years)
Camilla Berglund
fd4967b01a
Removed superfluous casts.
ago%!(EXTRA string=13 years)
Camilla Berglund
251964f84f
Began decoupling EGL code from X11.
ago%!(EXTRA string=13 years)
Camilla Berglund
be12cbca15
Added separate platform headers for EGL and GLX.
ago%!(EXTRA string=13 years)
Cloudef
5cf8b8d3fa
Remove useless define
ago%!(EXTRA string=13 years)
Cloudef
2815630688
Reflect X visual changes to EGL code
ago%!(EXTRA string=13 years)
Cloudef
819b09d479
Add member struct defines for window's context members so code can be shared
ago%!(EXTRA string=13 years)
Cloudef
812ebe200d
Add EGL X11 platform header
ago%!(EXTRA string=13 years)
Camilla Berglund
aa328c0bbd
Added support for GLX_MESA_swap_interval.
ago%!(EXTRA string=13 years)
Camilla Berglund
73622a2f3c
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
322407ae9f
Moved X11 gamma ramp termination to gamma module.
ago%!(EXTRA string=13 years)
Camilla Berglund
1a37788143
Moved X11 gamma ramp init to gamma module.
ago%!(EXTRA string=13 years)
Camilla Berglund
a22fbf7e9b
Moved remaining X visual management into opengl module.
ago%!(EXTRA string=13 years)
Camilla Berglund
f77c8f8b21
Made GLX extension management global instead of per-window.
ago%!(EXTRA string=13 years)
Camilla Berglund
9614b9b22f
Moved OpenGL init and terminate to opengl module.
ago%!(EXTRA string=13 years)
Camilla Berglund
49dfbe86b2
Moved the majority of GLX code into opengl module.
ago%!(EXTRA string=13 years)
Camilla Berglund
21e77fe1a6
Split platform-specific global data.
ago%!(EXTRA string=13 years)
Camilla Berglund
f231ed37f0
Re-worked and fixed X11 clipboard support.
ago%!(EXTRA string=13 years)
Camilla Berglund
e0c4d81e46
Added function for processing only pending events.
ago%!(EXTRA string=13 years)
Camilla Berglund
fcd67c69ec
Simplified clipboard cache layout.
ago%!(EXTRA string=13 years)
Camilla Berglund
b8676f01db
Clarified clipboard format atom use.
ago%!(EXTRA string=13 years)
Camilla Berglund
d55616661d
Removed support for primary and secondary selections.
ago%!(EXTRA string=13 years)
Camilla Berglund
76615bf237
Moved EWMH logic to library init.
ago%!(EXTRA string=13 years)
Camilla Berglund
61264339a7
Simplified X11 screen handling.
ago%!(EXTRA string=13 years)
Camilla Berglund
e4328af790
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
06074bc698
Added support for _NET_WM_ICON_NAME.
ago%!(EXTRA string=14 years)
Camilla Berglund
78c135606a
Removed error made superfluous by our glxext.h header.
ago%!(EXTRA string=14 years)
Hanmac
1be6f17c66
add _NET_WM_NAME to the hasEWMGH check
ago%!(EXTRA string=14 years)
Marcel Metz
f228d23024
Moved platform specific monitor list creation part to separate functions.
ago%!(EXTRA string=14 years)
Marcel Metz
6f970f5753
Made monitor list cleanup shared.
ago%!(EXTRA string=14 years)
Camilla Berglund
9738728298
Reshuffling, formatting and shortening.
ago%!(EXTRA string=14 years)
Marcel Metz
f89feefa46
Added define guards for XRandR code.
ago%!(EXTRA string=14 years)
Marcel Metz
426df42d00
Replaced display with monitor in monitor related api.
ago%!(EXTRA string=14 years)
Marcel Metz
58d4323ece
Implemented display aware glfwVideoModes function for X11 XRandR and win32.
ago%!(EXTRA string=14 years)
Marcel Metz
beacbb3447
Implemented display iteration for x11. Added attributes and queries for physical size, name and logical position. Updated test executable.
ago%!(EXTRA string=14 years)
Camilla Berglund
a98c66c8cb
Added glext header explanation.
ago%!(EXTRA string=14 years)