Camilla Löwy
731ff91acd
WGL: Add support for WGL_EXT_colorspace
ago%!(EXTRA string=8 years)
Camilla Löwy
32eb50b75e
Move to Vulkan style function typedefs
...
PFN_FunctionName is more readable than SCREAMSOUP_T.
Context creation API function typedefs are kept as-is where the original
header provided them, for compatibility and familiarity reasons.
ago%!(EXTRA string=9 years)
Camilla Löwy
f4d0c83181
Paperwork done
ago%!(EXTRA string=9 years)
Camilla Berglund
53fafad915
Start 3.3
ago%!(EXTRA string=9 years)
Camilla Berglund
923568a279
Add support for WGL_ARB_create_context errors
ago%!(EXTRA string=9 years)
Camilla Berglund
6f313ff245
Win32: Use helper window to load WGL extensions
...
This removes window re-creation logic by performing the initial context
creation on the helper window, simplifying both window and context
creation and paving the way for attaching to existing window handles
without compromising on context or framebuffer hint support.
ago%!(EXTRA string=9 years)
Camilla Berglund
9a781cef53
Formatting
ago%!(EXTRA string=9 years)
Camilla Berglund
757eea2779
Update email address
ago%!(EXTRA string=9 years)
Camilla Berglund
6a8e169001
Update copyright notice year
ago%!(EXTRA string=9 years)
Camilla Berglund
ef80beab81
Add run-time context creation API selection
...
Fixes #145 .
ago%!(EXTRA string=9 years)
Camilla Berglund
f96d865b93
Cleanup
ago%!(EXTRA string=9 years)
Camilla Berglund
45efb935c5
Use more GLFWbool
ago%!(EXTRA string=10 years)
Camilla Berglund
12b6c56903
Add suffixes to platform specific helper functions
...
Also merge win32_tls.h into win32_platform.h.
ago%!(EXTRA string=10 years)
Camilla Berglund
0a3b5952e0
Make WGL backend more readable
ago%!(EXTRA string=10 years)
Camilla Berglund
d4079ad3a2
Move all context related members to _GLFWcontext
ago%!(EXTRA string=10 years)
Camilla Berglund
b22a0ec7d8
There is only one ICD
ago%!(EXTRA string=10 years)
Camilla Berglund
23bf1b530b
Move all WGL weirdness to Win32 code
ago%!(EXTRA string=10 years)
Camilla Berglund
bf7cce25dc
Replace external context and client API headers
ago%!(EXTRA string=10 years)
Camilla Berglund
0eccf75f65
Replace GL booleans with public macros
ago%!(EXTRA string=10 years)
Camilla Berglund
95a07f3340
Start 3.2
ago%!(EXTRA string=10 years)
Camilla Berglund
84b512c62c
Make all WGL functions dynamically loaded
ago%!(EXTRA string=10 years)
Camilla Berglund
04c057238b
Added support for EXT_framebuffer_sRGB.
...
Added sRGB extensions to standards conformance page.
ago%!(EXTRA string=10 years)
Camilla Berglund
ff67e06844
Added prefixes to header guard macros.
ago%!(EXTRA string=10 years)
Camilla Berglund
8309e0ecb0
Use DwmFlush when DWM is enabled.
...
Use DwmFlush instead of WGL_EXT_swap_control when desktop compositing is
enabled, to avoid the jitter of DWM and WGL vsync fighting.
Fixes #516 .
ago%!(EXTRA string=10 years)
Camilla Berglund
f8d80a936f
Internal header cleanup.
ago%!(EXTRA string=11 years)
Camilla Berglund
44c899ce70
Added support for GL_KHR_context_flush_control.
ago%!(EXTRA string=11 years)
Camilla Berglund
eaf3bd5ca4
Formatting.
ago%!(EXTRA string=11 years)
Camilla Berglund
12b28c4bb9
Fixed name of global context state macro.
ago%!(EXTRA string=11 years)
Camilla Berglund
7c925353a5
Renamed context module headers.
ago%!(EXTRA string=11 years)
Camilla Berglund
78efc18079
Split out TLS code into separate modules.
...
This allows the TLS code to be re-used by partial ports like EGL.
ago%!(EXTRA string=11 years)
Camilla Berglund
6d8e78cc95
Further separation of window and context.
...
The context related parts of _GLFWwndconfig have been moved to
_GLFWctxconfig and given better names. Window hint and attribute
members have been renamed to match.
ago%!(EXTRA string=12 years)
Camilla Berglund
611006af18
Updated API version in comment headers.
ago%!(EXTRA string=12 years)
Camilla Berglund
0163bc05d6
Moved internal context function declarations.
ago%!(EXTRA string=12 years)
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)