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=11 years)
Camilla Berglund
d169557b00
Made GLX 1.3 the minimum supported version.
ago%!(EXTRA string=11 years)
Camilla Berglund
611006af18
Updated API version in comment headers.
ago%!(EXTRA string=11 years)
Camilla Berglund
402189ba14
Fixed pthread.h not included by GLX header.
ago%!(EXTRA string=12 years)
Camilla Berglund
adbd52ba27
Formatted todos and notes.
ago%!(EXTRA string=12 years)
Camilla Berglund
b9d4875f3e
Improved documentation of hacks.
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
45653c5549
Cleaned up X error handler work.
ago%!(EXTRA string=12 years)
siavash
3b4eb2f0a0
Added blank cursor creation error checking on X11.
ago%!(EXTRA string=12 years)
siavash
763ec6cbcb
Cleanup.
ago%!(EXTRA string=12 years)
Camilla Berglund
7a03ca8dbc
Removed superflous casts of allocated memory.
ago%!(EXTRA string=12 years)
Camilla Berglund
44e8401f7b
Clarified default profile token name.
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
6b7f5671f8
Merged GLX error code into library struct.
ago%!(EXTRA string=12 years)
Camilla Berglund
719b60dd2b
Added macros for library initialization check.
ago%!(EXTRA string=12 years)
Camilla Berglund
d97dddc8c4
Simplified function comment headers.
ago%!(EXTRA string=12 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=12 years)
Camilla Berglund
2ece101f0e
Added X error text to context creation failure.
ago%!(EXTRA string=12 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
38947b37af
Renamed context API init/terminate functions.
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
9e9457767f
Added workaround for broken Mesa GLX_ARB_create_context_profile.
ago%!(EXTRA string=13 years)
Camilla Berglund
cf38b34f45
GLX context option cleanup.
ago%!(EXTRA string=13 years)
Camilla Berglund
9c0e19adca
Made error message tags more consistent.
ago%!(EXTRA string=13 years)
Camilla Berglund
d22d55ed02
Updated error message to match updated spec.
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
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
3b6ec4e775
Added client API window hint.
ago%!(EXTRA string=13 years)
Camilla Berglund
1a05d6db70
Renamed GLX implementation file.
ago%!(EXTRA string=13 years)
Simon Voordouw
173e321ea6
fix MESA_swap_control copy-pasta
ago%!(EXTRA string=13 years)
Camilla Berglund
aa328c0bbd
Added support for GLX_MESA_swap_interval.
ago%!(EXTRA string=13 years)
Camilla Berglund
bf42c3cfbc
Made glfwGetProcAddress return a function pointer.
ago%!(EXTRA string=13 years)
Camilla Berglund
ae2c63b580
Made fbconfig conversion more readable.
ago%!(EXTRA string=13 years)
Camilla Berglund
19744bc5de
Added needed include.
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
083380884b
Removed declarations made superfluous by our glxext.h header.
ago%!(EXTRA string=13 years)
Camilla Berglund
dbc9489f38
Fixed regression breaking the dlopen code path.
ago%!(EXTRA string=14 years)
Camilla Berglund
30e362d435
Shortened native extension boolean names.
ago%!(EXTRA string=14 years)
Camilla Berglund
f08397a108
Made it an error to not define an entry point retrieval mechanism on X11.
ago%!(EXTRA string=14 years)