Camilla Berglund
cfc47abf0d
Made context creation backends more consistent.
ago%!(EXTRA string=11 years)
Ricardo Vieira
dea861abd8
Fixed all EGLConfigs listed as single-buffered.
...
The commit c980858
added a new flag to _GLFWfbconfig that was not being
set by EGLConfig enumeration. This patch assumes eglCreateWindowSurface
only creates double-buffered surfaces.
Fixes #315 .
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
8ebd135536
Fixed last use of wndconfig in EGL port.
ago%!(EXTRA string=11 years)
Jonas Ådahl
b2b3f170a9
Make EGL use ctxconfig instead of wndconfig
ago%!(EXTRA string=11 years)
Camilla Berglund
611006af18
Updated API version in comment headers.
ago%!(EXTRA string=11 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
7a03ca8dbc
Removed superflous casts of allocated memory.
ago%!(EXTRA string=12 years)
Jari Vetoniemi
5c54987285
Typecast EGL types to get rid of compile warnings
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
1ffd8f667f
Cleanup.
ago%!(EXTRA string=12 years)
Camilla Berglund
28bf3f700d
Fixed uninitialized variable.
ago%!(EXTRA string=12 years)
Camilla Berglund
4c0e946da3
Added possible ES3 bit.
ago%!(EXTRA string=12 years)
Camilla Berglund
7915e8d778
Added setting of EGL_RENDERABLE_TYPE.
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
3a871b9edb
Added EGL errors to output, added EGL init to Win32.
ago%!(EXTRA string=12 years)
Camilla Berglund
9b6fb32dc2
Fixed copypaste errors in format selection.
ago%!(EXTRA string=12 years)
Camilla Berglund
6107170ebb
Updated EGL config error message.
ago%!(EXTRA string=12 years)
Camilla Berglund
cc45a9e53d
Updated native API and merged into related files.
ago%!(EXTRA string=12 years)
Camilla Berglund
38947b37af
Renamed context API init/terminate functions.
ago%!(EXTRA string=12 years)
Camilla Berglund
a8ea120cae
Removed internal fbconfig enum and selection.
ago%!(EXTRA string=12 years)
Camilla Berglund
7ff86576e3
Removed EGL dlopen.
ago%!(EXTRA string=13 years)
Camilla Berglund
b35855cfb5
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
1aa34606e7
Fixes for use with the AMD EGL/GLES SDK.
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
b9acb777e5
EGL context creation cleanup.
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
280782a2a5
Added explicit non-support for sRGB on EGL.
ago%!(EXTRA string=13 years)
Camilla Berglund
1eef0f0869
Renamed context module files.
ago%!(EXTRA string=13 years)
Camilla Berglund
34d383399c
Finished initial window/context backend split.
ago%!(EXTRA string=13 years)
Camilla Berglund
7e9286c1fa
Removed unused stub.
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
dd69985649
Fixed API error tags.
ago%!(EXTRA string=13 years)
Camilla Berglund
a182acd585
Removed EGL-specific context param refresh.
ago%!(EXTRA string=13 years)
Camilla Berglund
f457223bdf
Minor context creation fixes.
ago%!(EXTRA string=13 years)
Camilla Berglund
b069391cc0
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
ccca5d71fe
Use EGL_KHR_create_context with GLES as well.
ago%!(EXTRA string=13 years)
Camilla Berglund
bddc95c017
Removed references to GLX in EGL port.
ago%!(EXTRA string=13 years)
Camilla Berglund
edd554c115
Added support for EGL_KHR_create_context.
ago%!(EXTRA string=13 years)
Camilla Berglund
3b6ec4e775
Added client API window hint.
ago%!(EXTRA string=13 years)
Camilla Berglund
bd179634dc
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
ea1506ba67
Fixed EGLConfig nomenclature, simplified refresh.
ago%!(EXTRA string=13 years)
Camilla Berglund
0f4cdd5194
Fixed invalid attribute list terminator.
ago%!(EXTRA string=13 years)