Camilla Berglund
0c0bb28d39
Allow setting swap interval to zero on DWM.
ago%!(EXTRA string=12 years)
Camilla Berglund
ed98e06651
Clarified WGL missing OpenGL error.
ago%!(EXTRA string=12 years)
Camilla Berglund
f54b4e174d
Fixed error code for missing GLES.
ago%!(EXTRA string=12 years)
Camilla Berglund
3cfc400cf9
Simplified source file comment headers.
ago%!(EXTRA string=12 years)
siavash
0463e196b4
Cleanup of size_t use.
ago%!(EXTRA string=12 years)
Camilla Berglund
1c80e99008
Added forcing of swap interval on DWM composition.
ago%!(EXTRA string=12 years)
Camilla Berglund
7a03ca8dbc
Removed superflous casts of allocated memory.
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
77e4c61190
Fixed broken WGL error detection.
...
Context creation was attempted even if no valid pixel formats had been
found during enumeration.
ago%!(EXTRA string=12 years)
Camilla Berglund
5da6a903f9
Fixed MinGW warning.
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
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
51ee3a5c0a
No swap interval on composition.
ago%!(EXTRA string=12 years)
Camilla Berglund
719b60dd2b
Added macros for library initialization check.
ago%!(EXTRA string=13 years)
Camilla Berglund
d97dddc8c4
Simplified function comment headers.
ago%!(EXTRA string=13 years)
Camilla Berglund
107e20233d
Fixed incomplete function renaming.
ago%!(EXTRA string=13 years)
Camilla Berglund
3e78570a31
Removed duplicate documentation.
...
The public, platform, native, event and utility functions are already
documented in-source. Having duplicate documentation inevitably means
having them contradict one another. Furthermore, most of the function
descriptions simply repeated the name of the function.
ago%!(EXTRA string=13 years)
Camilla Berglund
20a4ecf175
Added missing WGL pixel format error check.
ago%!(EXTRA string=13 years)
Camilla Berglund
3a871b9edb
Added EGL errors to output, added EGL init to Win32.
ago%!(EXTRA string=13 years)
Camilla Berglund
9b6fb32dc2
Fixed copypaste errors in format selection.
ago%!(EXTRA string=13 years)
Camilla Berglund
cc45a9e53d
Updated native API and merged into related files.
ago%!(EXTRA string=13 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
1790194828
Renamed _glfwInputError and moved to event API.
ago%!(EXTRA string=13 years)
Camilla Berglund
bd31ea0a69
WGL context option cleanup.
ago%!(EXTRA string=13 years)
Camilla Berglund
3f5843f500
Renamed tokens used for other client APIs.
ago%!(EXTRA string=13 years)
Camilla Berglund
1eef0f0869
Renamed context module files.
ago%!(EXTRA string=13 years)
Camilla Berglund
b934cdf573
Begun preparations for Win32 EGL support.
ago%!(EXTRA string=13 years)
Camilla Berglund
06c191feea
Updated error codes to better reflect multi-API support.
ago%!(EXTRA string=13 years)
Camilla Berglund
2a166c5086
Removed glfwCopyContext to map better against EGL.
ago%!(EXTRA string=13 years)
Camilla Berglund
467d501621
Cleanup of context clearing during window destruction.
ago%!(EXTRA string=13 years)
Camilla Berglund
550b0c177d
Added missing initial value.
ago%!(EXTRA string=13 years)
Camilla Berglund
38cad9aff0
Added client API window hint.
...
This is cherry-picked from the EGL branch in preparation for the EGL backend.
ago%!(EXTRA string=13 years)
Camilla Berglund
e10d935efe
API tag and error message cleanup.
ago%!(EXTRA string=13 years)
Camilla Berglund
6399fb19fd
Included malloc.h from files using malloc on Win32.
ago%!(EXTRA string=13 years)
Camilla Berglund
18a5aba8f1
Implemented TLS for all platforms.
ago%!(EXTRA string=13 years)
Camilla Berglund
5ce704e60c
Added missing include.
ago%!(EXTRA string=13 years)
Camilla Berglund
9e4bc36dd8
Initial TLS implementation (Cocoa broken).
ago%!(EXTRA string=13 years)
Camilla Berglund
585a840329
Added window parameter to glfwSwapBuffers.
ago%!(EXTRA string=13 years)
Camilla Berglund
aff30d0baa
Renamed window creation/destruction functions.
...
Renamed glfwOpenWindow to glfwCreateWindow.
Renamed glfwCloseWindow to glfwDestroyWindow.
Renamed glfwOpenWindowHint to glfwWindowHint.
ago%!(EXTRA string=13 years)
Camilla Berglund
053737e660
Use OpenGL to get default framebuffer properties.
ago%!(EXTRA string=13 years)
Camilla Berglund
3a72f33541
Removed GLFW_ACCELERATED window parameter.
ago%!(EXTRA string=13 years)
Camilla Berglund
fc74a5533e
Moved WGL context logic into OpenGL module.
ago%!(EXTRA string=13 years)
Camilla Berglund
ed9890f110
Fixed typecast warning.
ago%!(EXTRA string=13 years)
Camilla Berglund
fb2dbd6a53
Fixed Win32 warning.
ago%!(EXTRA string=13 years)
Camilla Berglund
bf42c3cfbc
Made glfwGetProcAddress return a function pointer.
ago%!(EXTRA string=13 years)
Camilla Berglund
2753577dbd
Removed dynamic loading of gdi32.
ago%!(EXTRA string=13 years)
Camilla Berglund
30e362d435
Shortened native extension boolean names.
ago%!(EXTRA string=14 years)
Camilla Berglund
e4027f14d0
Rough line-wrapping pass.
ago%!(EXTRA string=14 years)