Camilla Löwy
6769ffcd0f
Move single/double-buffer filtering to backends
...
There is no need to enumerate framebuffer configs that will just be
filtered out later by the GLFW_DOUBLEBUFFER hard constraint.
(cherry picked from commit fd79b02840
)
2021-06-15 18:07:28 +02:00
Camilla Löwy
07c29d1c1c
Skip initial buffer swap when single-buffered
...
This skips the buffer swap after the initial glClear performed during
window creation, if the window is single-buffered. This call confused
apitrace into thinking the window was double-buffered.
Fixes #1873 .
(cherry picked from commit 184377b493
)
2021-06-15 18:06:46 +02:00
Camilla Löwy
04522580ad
Add C dialect reminders to each source file
...
Files built for Win32 must use C89 style declarations for compatibility
with VS 2010 and 2012, which are still supported by GLFW.
(cherry picked from commit 56aad76b16
)
2019-05-27 16:33:22 +02:00
Camilla Löwy
2053f3ed22
Cleanup
2019-01-17 00:11:17 +01:00
Camilla Löwy
c29e4455bb
Move more context logic out of glfwCreateWindow
2018-02-06 13:10:41 +01:00
Camilla Löwy
ae53cd29ef
Improve context function error descriptions
...
Fixes #1193 .
2018-01-30 19:28:37 +01:00
Camilla Löwy
bb3ab87a18
Remove unmaintained internal Doxygen docs
...
The useful bits have been transformed to function definition comments.
The style guide stub has been added to the regular docs build.
2018-01-17 11:25:32 +01:00
Camilla Löwy
1034b6e0db
Move context management out of glfwCreateWindow
...
Related to #25 .
2018-01-09 17:58:54 +01:00
Camilla Löwy
32e78aeb2e
Add GLFW_TRANSPARENT attribute and documentation
...
This completes support for window framebuffer transparency on Windows,
macOS and X11. Note that the hint/attribute may be renamed before
release to clarify its relationship to GLFW_OPACITY.
Fixes #197 .
Closes #1079 .
Related to #663 .
Related to #715 .
Related to #723 .
Related to #1078 .
2017-09-27 21:54:04 +02:00
Camilla Löwy
d5de48ab53
Report invalid constants in the appropriate base
...
If the expected constants are defined in hexadecimal in the header then
the error string should also use hexadecimal.
Idea by IntellectualKitty.
Related to #970 .
2017-06-28 12:07:06 +02:00
Camilla Löwy
14a3fe0ac0
Make glfwGetError also provide description
...
Related to #970 .
2017-06-08 16:08:36 +02:00
Camilla Löwy
aaf2800c9c
Add internal TLS support
...
Related to #970 .
2017-03-19 00:52:46 +01:00
Camilla Löwy
e9560ef021
Add GLFW_OSMESA_CONTEXT_API
...
This allows the creation of OpenGL contexts via OSMesa on existing
platforms. It does not add a compile- or link-time dependency on
OSMesa.
Fixes #281 .
2017-02-28 20:38:10 +01:00
Camilla Löwy
2ba461e348
Formatting
2017-02-23 17:46:59 +01:00
Camilla Löwy
f4d0c83181
Paperwork done
2016-11-30 14:00:41 +01:00
Camilla Berglund
53fafad915
Start 3.3
2016-08-18 23:55:49 +02:00
Camilla Berglund
c844fea9df
Improve client API error messages
...
Add separate strings for each client API to make it easier to grep.
Remove 'client' from fallback error messages as API-related error tokens
are used for non-client APIs as well.
2016-08-01 20:49:22 +02:00
Camilla Berglund
52d801bd19
Cleanup
2016-07-19 00:15:34 +02:00
Camilla Berglund
ac09592355
Call context GetProcAddress directly
2016-07-18 23:31:54 +02:00
Camilla Berglund
757eea2779
Update email address
2016-06-01 21:25:20 +02:00
Camilla Berglund
6a8e169001
Update copyright notice year
2016-06-01 21:25:19 +02:00
Camilla Berglund
bda031f4ac
Cleanup
2016-05-29 15:34:08 +02:00
Camilla Berglund
ef80beab81
Add run-time context creation API selection
...
Fixes #145 .
2016-05-04 17:00:07 +02:00
Camilla Berglund
29e232f4b2
Improved error messages
2016-03-29 11:13:06 +02:00
Camilla Berglund
5eb2e83c82
Cleanup
2016-03-28 12:26:08 +02:00
Camilla Berglund
de2d4c7763
Clarify pointer assertions
2016-03-02 17:58:05 +01:00
Camilla Berglund
0ebdad53e8
Add asserts for public API pointer parameters
2016-01-31 17:56:36 +01:00
Camilla Berglund
d4079ad3a2
Move all context related members to _GLFWcontext
2015-11-09 23:52:02 +01:00
Camilla Berglund
5006ef3f56
Use more GLFWbool
2015-11-05 08:58:40 +01:00
Camilla Berglund
6a41d5e7ad
Fix NULL pointer dereference
...
Calling glfwMakeContextCurrent with NULL would segfault since
496f559c9a
.
Fixes #631 .
Closes #632 .
2015-11-01 17:39:21 +01:00
Camilla Berglund
7be8209d14
Add GLFW_CONTEXT_NO_ERROR window hint
...
This adds support for the GL_KHR_no_error extension.
2015-10-27 20:36:20 +01:00
Camilla Berglund
496f559c9a
Add GLFW_NO_API for creating context-less windows
2015-10-26 00:30:30 +01:00
Camilla Berglund
f5855968bb
Move glClear call to context module
2015-10-25 00:35:16 +02:00
Camilla Berglund
ac9a6f8504
Clarify client API major version tests
2015-10-13 00:48:32 +02:00
Camilla Berglund
bf7cce25dc
Replace external context and client API headers
2015-10-13 00:48:18 +02:00
Camilla Berglund
0eccf75f65
Replace GL booleans with public macros
2015-10-13 00:46:02 +02:00
Camilla Berglund
95a07f3340
Start 3.2
2015-10-12 21:59:49 +02:00
Camilla Berglund
6b8d490249
Make all client API functions dynamically loaded
2015-08-12 01:01:42 +02:00
Camilla Berglund
1f95fac699
Extension string type cleanup.
2015-07-28 14:12:16 +02:00
Camilla Berglund
2aa8e17c88
Cleanup.
2015-06-16 22:16:36 +02:00
Camilla Berglund
882b770ecb
Cleanup of #487 .
2015-04-09 17:59:37 +02:00
Elviss Strazdins
a21f586c3b
Removed check for whether context is current.
...
The GLFW TLS slot will be out of sync if an outside source makes another
context current.
Fixes #487 .
2015-04-09 17:59:37 +02:00
Camilla Berglund
d493a82f9e
Various error fixes.
...
Fixed incorrect error types. Added missing error string prefixes.
Removed some invalid or superfluous error emissions. Clarified some
error strings. Joined error string lines to aid grep. Replaced some
generic error strings with specific ones. Documentation work.
Fixes #450 .
2015-03-15 15:52:27 +01:00
Camilla Berglund
c1dce0f617
Cleanup.
2015-03-07 22:33:04 +01:00
Camilla Berglund
6e9788a9e6
Removed invalid context hint checks.
...
These are documented as ignored for OpenGL ES contexts.
2015-03-07 22:31:59 +01:00
Camilla Berglund
4329a78011
Removed check for NULL to glfwExtensionSupported.
2015-01-08 04:01:40 +01:00
Camilla Berglund
d311e28038
Fixed extension retrieval for OpenGL ES 3+.
2015-01-06 20:22:34 +01:00
Camilla Berglund
45d528baed
Cleanup.
2014-10-07 16:20:49 +02:00
Camilla Berglund
44c899ce70
Added support for GL_KHR_context_flush_control.
2014-08-21 19:29:04 +02:00
Camilla Berglund
c9808586b3
Added GLFW_DOUBLEBUFFER.
2014-06-18 16:36:53 +02:00