Camilla Berglund
45d528baed
Cleanup.
ago%!(EXTRA string=11 years)
Camilla Berglund
44c899ce70
Added support for GL_KHR_context_flush_control.
ago%!(EXTRA string=11 years)
Camilla Berglund
c9808586b3
Added GLFW_DOUBLEBUFFER.
ago%!(EXTRA string=11 years)
Camilla Berglund
281013002d
Added GLFW_DONT_CARE.
...
This changes the behavior of framebuffer hints set to zero. Before,
zero meant that any value was acceptable. This changes zero to be an
explicit preference and adds GLFW_DONT_CARE to mean that any value is
equally acceptable.
Fixes #70 .
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=11 years)
Camilla Berglund
ae8393c06e
Fixed refresh of debug context attribute.
ago%!(EXTRA string=11 years)
Camilla Berglund
e2d6f2761c
Fixed constness of function parameters.
ago%!(EXTRA string=11 years)
Camilla Berglund
611006af18
Updated API version in comment headers.
ago%!(EXTRA string=12 years)
Camilla Berglund
87e6417353
Added hack detecting ARB_compatibility.
ago%!(EXTRA string=12 years)
Camilla Berglund
95c7029e19
Formatting.
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
97ae40496d
Added reporting of extension string retrieval failure.
ago%!(EXTRA string=12 years)
Camilla Berglund
eabbb20d17
Added NULL test for glGetStringi.
ago%!(EXTRA string=12 years)
Camilla Berglund
3cfc400cf9
Simplified source file comment headers.
ago%!(EXTRA string=12 years)
Camilla Berglund
ad1f6f0341
Renamed glfwGetWindowParam to glfwGetWindowAttrib.
...
Parameters are something specified at creation time and are often
immutable, while many of the values returned by glfwGetWindowParam
reflected current state not controlled by any parameter or hint.
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
719b60dd2b
Added macros for library initialization check.
ago%!(EXTRA string=12 years)
Camilla Berglund
d97dddc8c4
Simplified function comment headers.
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
a8ea120cae
Removed internal fbconfig enum and selection.
ago%!(EXTRA string=13 years)
Camilla Berglund
0517a82467
Added support for GLESv1_CM and GLESv2 client libraries.
ago%!(EXTRA string=13 years)
Camilla Berglund
9af960e2dd
Made the pointer-ness of object handles explicit.
ago%!(EXTRA string=13 years)
Camilla Berglund
1790194828
Renamed _glfwInputError and moved to event API.
ago%!(EXTRA string=13 years)
Camilla Berglund
9c0e19adca
Made error message tags more consistent.
ago%!(EXTRA string=13 years)
Camilla Berglund
9a659c287e
Fixed context param readback.
ago%!(EXTRA string=13 years)
Camilla Berglund
a8a0585164
Updated debug context detection.
ago%!(EXTRA string=13 years)
Camilla Berglund
fd0f06de8a
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
247a875435
Updated version verification.
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
2a166c5086
Removed glfwCopyContext to map better against EGL.
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
9696321334
Fixed return value of glfwGetCurrentContext.
ago%!(EXTRA string=13 years)
Camilla Berglund
9e4bc36dd8
Initial TLS implementation (Cocoa broken).
ago%!(EXTRA string=13 years)
Camilla Berglund
ddcf5d471e
Removed mirroring of default framebuffer attribs.
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
957ecdc9a0
Renamed no current context error to match function.
ago%!(EXTRA string=13 years)
Camilla Berglund
a916997c86
Simplified call to platform-specific extension check.
ago%!(EXTRA string=13 years)
Camilla Berglund
1bad573c10
Tightened scope of some local variables.
ago%!(EXTRA string=13 years)
Camilla Berglund
ee3304c09a
Removed check for invalid user, added error setting.
ago%!(EXTRA string=13 years)
Camilla Berglund
208377d08e
Imported version parsing from EGL branch.
ago%!(EXTRA string=13 years)
Camilla Berglund
59896c327a
Context property fixes.
ago%!(EXTRA string=13 years)
Camilla Berglund
f274b329d1
Fixed check for GL_ARB_multisample.
ago%!(EXTRA string=13 years)
Camilla Berglund
053737e660
Use OpenGL to get default framebuffer properties.
ago%!(EXTRA string=13 years)
Camilla Berglund
0f1ab5317f
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
302037d5b4
Added stub debug context detection.
ago%!(EXTRA string=13 years)
Camilla Berglund
331aa26503
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
b1de4d6fed
Fixed client API version parsing.
ago%!(EXTRA string=13 years)