Camilla Berglund
9cc8fc0d0a
Removed glfwGetError and glfwErrorString.
...
The cached error code cannot be made per-thread unless it required
glfwInit (due to lack of __thread on OS X), which would be confusing and
partially defeats the purpose of it.
Beginners would use the generic error string facility instead of the
error callback and then be confused by its nondescript messages.
Storing the provided error code from within the error callback, whether
globally or per-thread, requires just a few lines of code and hands
control to the user without compromising thread safety.
2012-12-30 01:50:03 +01:00
Camilla Berglund
2a166c5086
Removed glfwCopyContext to map better against EGL.
2012-11-22 20:16:48 +01:00
m@bitsnbites.eu
c9f4dedd96
Introduced window positioning hints and window position properties
2012-11-10 22:19:55 +01:00
Camilla Berglund
18d71c2b6d
Made window-related callbacks per-window.
...
This makes polymorphic behaviour easier to implement and avoids the problem of
events being triggered before the GLFW window object is fully usable.
2012-10-29 13:36:01 +01:00
Camilla Berglund
d68acb78bf
Removed registering glfwTerminate with atexit.
...
Functions registered with atexit are called from the thread calling exit.
glfwTerminate should only be called from the main thread. Mistakes should be
explicit.
2012-10-22 03:20:16 +02:00
Camilla Berglund
89018331f7
Fixed invalid uses of glfwDestroyWindow.
2012-09-13 17:29:07 +02:00
Camilla Berglund
2f095cc9e3
Removed implicit glfwMakeCurrentContext.
...
Implicitly making the context current makes sense in a
single-window API but less sense in a multi-window one.
2012-08-10 15:29:45 +02:00
Camilla Berglund
585a840329
Added window parameter to glfwSwapBuffers.
2012-08-06 18:13:37 +02:00
Camilla Berglund
aff30d0baa
Renamed window creation/destruction functions.
...
Renamed glfwOpenWindow to glfwCreateWindow.
Renamed glfwCloseWindow to glfwDestroyWindow.
Renamed glfwOpenWindowHint to glfwWindowHint.
2012-08-06 17:59:34 +02:00
Camilla Berglund
2972cdfeb1
Removed glfwIsWindow.
2012-08-03 16:20:52 +02:00
Camilla Berglund
2213450840
Renamed GLFW_NO_GLU to GLFW_INCLUDE_GLU.
2012-06-05 23:55:10 +02:00
Camilla Berglund
0c3b1b5a0e
Removed allocator.
2012-02-07 14:58:58 +01:00
Camilla Berglund
ba3a60523b
Added context state copying to sharing test.
2012-02-06 16:27:56 +01:00
Camilla Berglund
b997db3a8b
Removed GLFWthreadmodel and glfwInitWithModels.
2012-02-04 01:38:00 +01:00
Camilla Berglund
c1ab73b979
Renamed context-related functions to more closely match underlying APIs.
2011-07-27 16:01:27 +02:00
marcus256
8943a78a65
Merge branch 'marcus-rawkeys'. Changed handling of raw key codes.
2011-01-15 00:59:55 +01:00
Marcus
e3cb563a28
Fixed key names in the example and test programs.
2011-01-03 22:22:14 +01:00
Camilla Berglund
4b51f2e9f7
Added comment.
2010-11-17 17:11:44 +01:00
Camilla Berglund
4044c2da66
Made callbacks library global.
2010-10-24 18:28:55 +02:00
Camilla Berglund
05a477242b
Formatting.
2010-10-05 14:44:01 +02:00
Camilla Berglund
7e7672a2e5
Comment grammar fix.
2010-10-05 00:34:50 +02:00
Camilla Berglund
1585c8b981
Added escape key quitting.
2010-10-05 00:12:25 +02:00
Camilla Berglund
419f9f17a1
Added glfwGetCurrentWindow.
2010-10-04 23:13:33 +02:00
Camilla Berglund
2899e8765c
Added window positioning to sharing test.
2010-10-04 21:08:42 +02:00
Camilla Berglund
8dff22d9de
Removed superfluous clear, added comment.
2010-10-04 19:35:28 +02:00
Camilla Berglund
afcb2abbd4
Added simple context sharing test program.
2010-10-04 19:32:39 +02:00