the_fiddler
584e6c48a6
GetUniformLocation: name should have in-flow.
...
Use BlendingFunctionDest instead of BlendingFunctionDst, in order to match desktop OpenGL bindings.
2009-10-23 20:20:04 +00:00
the_fiddler
a7ff40c44c
Added dllmap for OpenGL|ES on Mac OS X.
2009-10-23 20:11:40 +00:00
the_fiddler
ef48c42807
Debug.WriteLine(object, string) does not work as intended (the first parameter defines the category). Use Debug.Print instead.
2009-10-23 17:45:14 +00:00
the_fiddler
887766a371
Fixed x86-specific ABI assumption (do not return structure directly when a pointer is expected). Patch by jonp.
2009-10-23 16:10:55 +00:00
the_fiddler
bf89d0a6ab
Fixed GetVertexPointerParameter signature to comply with the specs.
2009-10-23 15:36:02 +00:00
the_fiddler
58c12d0d05
GetAttribLocation: name parameter should have a flow of in, not out.
...
Fixed a number of signatures that were different from desktop OpenGL.
2009-10-23 15:32:43 +00:00
the_fiddler
3d05a448cc
Normalized line endings.
2009-10-23 14:51:03 +00:00
the_fiddler
9223285fd7
Added correct enum types for GetString and ShaderBinary.
...
Added EnableCap tokens to GetPName, in accordance to specs.
2009-10-23 07:19:09 +00:00
the_fiddler
1803ea7004
Added applicable helper overloads from desktop OpenGL.
...
Added missing license information.
2009-10-23 06:59:04 +00:00
the_fiddler
b0607ede68
Regenerated bindings using the latest overrides.xml: out parameters for Get/Gen methods; fixed return types for GetError and CheckFramebufferStatus. improved consistency with desktop OpenGL bindings.
2009-10-23 06:58:04 +00:00
the_fiddler
968dc4e299
Fixed return types for GetError and CheckFramebufferStatus.
...
Updated enum types for consistency with OpenGL.
2009-10-23 06:54:15 +00:00
the_fiddler
61f4a8b0cc
Regenerated signatures with fixed out parameters.
2009-10-22 23:06:34 +00:00
the_fiddler
8ed98ec517
Use out flow direction for pointer parameters in Get* or Gen* methods.
2009-10-22 23:01:42 +00:00
the_fiddler
d06191d464
Regenerated ES 2.0 bindings using the new, strongly-typed enums.
...
Fixed sample to use those new enums.
2009-10-22 21:49:11 +00:00
the_fiddler
8da604c18f
Merged third part of ES 2.0 cleanup (issue [ #1015 ]: "[ES 2.0] Cleanup #3 ").
2009-10-22 21:41:30 +00:00
the_fiddler
8e67b0ace2
Merged second part of ES 2.0 cleanup (issue [ #1014 ]: "[ES 2.0] Cleanup #2 ").
2009-10-22 21:34:34 +00:00
the_fiddler
f8c49a54d4
Merged first part of ES 2.0 cleanup (issue [ #1013 ]: "[ES 2.0] Cleanup #1 ").
2009-10-22 21:24:54 +00:00
the_fiddler
ef911ad7d8
Created es20 branch for type-safe ES 2.0 bindings.
2009-10-22 21:01:29 +00:00
the_fiddler
be4e56a7a2
Do not force control to create its handle in Resize event (the designer places code that raises this event before the rest of the events are hooked). Instead, suppress the event and raise it once the handle is actually created.
2009-10-22 17:56:55 +00:00
the_fiddler
ea4b599d0e
Set default class cursor to avoid invalid cursors when entering the window.
2009-10-21 20:08:04 +00:00
the_fiddler
7b8ba2eacb
Added LoadCursor method.
...
Added CursorName enum (only default arrow cursor is defined for now).
2009-10-21 20:07:32 +00:00
the_fiddler
8fbea23db2
Use StringBuilder.Capacity to specify the available buffer size in OpenGL interop (StringBuilder.Length is invalid in this case).
...
Added workaround for Mono 1.9.1 issue, where StringBuilder return truncated results when used in interop. Doubling the StringBuilder capacity fixes this issue.
2009-10-21 17:26:07 +00:00
the_fiddler
ab0a0f31ff
Updated changelog with last-minute changes.
2009-10-21 14:03:14 +00:00
the_fiddler
c65d6789b0
Fixed compilation issue caused by OnUnload access modifier changed (public -> protected).
2009-10-21 13:51:39 +00:00
the_fiddler
08f40b7c8c
Bumped version numbers and updated documentation in preparation of 0.9.9-3 release.
2009-10-21 13:35:29 +00:00
the_fiddler
15cad88758
OnLoad/OnUnload should be protected, not public, to conform with the class library design guidelines. This issue was supposed to be fixed in 0.9.9-2, but was apparently overlooked.
2009-10-21 13:33:00 +00:00
the_fiddler
b92198bccc
Avoid accessing OpenTK.Graphics.OpenGL from platform-specific code. Reduces coupling and code-duplication.
2009-10-21 10:16:32 +00:00
the_fiddler
7ae6858ab5
Trap WM_SYSCHAR to avoid generating system beeps on Alt+[Key] combinations.
2009-10-20 11:35:35 +00:00
the_fiddler
c80cac88ca
Revert WindowBorder and WindowState value changes.
...
Use Nullable types to detect when WindowBorder and WindowState is not set.
2009-10-19 21:32:33 +00:00
the_fiddler
65e9d6d969
* X11GLNative.cs: Added more defensive checks for the existence of the window before issuing XDestroyWindow.
...
Do not allow multiple calls to XDestroyWindow once the shutdown sequence has been initialized. Fixes issue [#1190 ]: "GameWindow dispose on linux".
2009-10-19 19:46:37 +00:00
the_fiddler
de37859604
* X11GLNative.cs: Correctly set all necessary ClientMessage fields
...
for XSendEvent call in Close() method.
2009-10-19 19:03:17 +00:00
the_fiddler
4743a9e810
* Functions.cs: Added helper function for XSendEvent, so that we
...
don't need to cast the EventMask to IntPtr.
2009-10-19 19:02:07 +00:00
the_fiddler
5ba821a09a
* X11GLContext.cs: Correctly set GraphicsMode in constructor (resolves issue [ #1175 ]: "Graphics] GraphicsContext.GraphicsMode property returns null on Linux").
2009-10-19 18:11:32 +00:00
the_fiddler
bba72c91d7
Added dllmap for OpenCL on Linux.
2009-10-19 17:53:59 +00:00
the_fiddler
605d77ec4c
Added missing OpenTK.Compatibility.dll.config file. Fixes issue [ #1176 ]: "[Compat] OpenTK.Compatibility is missing dll.config file".
2009-10-19 17:53:47 +00:00
the_fiddler
e905452c54
* OpenCL/VectorAdd.cs: Use hCmdQueue instead of hContext and added
...
missing CL.EnqueueWriteBuffer calls (patch by mike vasiljevs, fixes
issue [#1233 ]: "OpenCL - AddVector.cs - example corrections").
Output calculation results.
2009-10-19 17:45:50 +00:00
the_fiddler
ac404e35fb
* GLControlFactory.cs: More defensive checks for null GraphicsModes.
...
* GLControl.cs: More defensive checks for null GraphicsModes.
Set flags, context version and GraphicsMode before calling
InitializeComponents(), as the latter might cause the context to be
created (and we need this information before creating the context).
Fixes ArgumentNullException on Linux.
2009-10-19 17:38:16 +00:00
the_fiddler
17feb8d6d0
* X11GLNative.cs: Implemented Icon property for WMs that do not
...
respect _NET_WM_ICON (e.g. Gnome/Metacity/Compiz).
2009-10-19 10:42:28 +00:00
the_fiddler
5ba2c0258d
* Functions.cs: Added a number of missing methods relating to
...
XWMHints, images, pixmaps and root windows.
Implemented Create[Mask|Pixmap]FromImage methods.
* Structs.cs: Added ImageFormat enum.
2009-10-19 10:41:41 +00:00
the_fiddler
8c85493324
Route overloads through GL class instead of calling the Delegates directly. Ensures that automatic error checking will work as expected.
2009-10-19 09:10:32 +00:00
the_fiddler
951ad35596
Implemented icon support.
2009-10-18 16:52:07 +00:00
the_fiddler
42acbbf492
Indicate whether the window is focused or not.
2009-10-18 15:58:48 +00:00
the_fiddler
d738685a51
Treat 0 as a special value (necessary for internal purposes).
2009-10-18 15:23:22 +00:00
the_fiddler
47a359d1a0
Focused property now returns correct values. FocusedChanged event is now correctly raised.
2009-10-18 15:11:41 +00:00
the_fiddler
dd585e0479
Improved handling if WindowBorder changes when the window is WindowState is Maximized or Fullscreen. Maximized windows now correctly retain their maximized state, while fullscreen windows do not become non-fullscreen when their border is modified.
2009-10-18 14:56:53 +00:00
the_fiddler
449670f689
* API.cs: added MonitorFromWindow/MonitorFromPoint methods.
...
* WinGLNative.cs: fixed handling of WindowState.Maximized when WindowBorder is Hidden.
WindowStateChanged events are now correctly raised on all state changes.
2009-10-18 09:42:41 +00:00
the_fiddler
58b4f5c18f
Do not print window title to debug stream inside the set_Title property. Instead, log an error only when the method call fails. Fixes issue [ #1239 ]: "Debug.Print in Title property".
2009-10-17 22:02:08 +00:00
the_fiddler
239d98e860
Added distinct /overrides/add and /overrides/replace elements.
...
Added check for the existence of override elements before trying to use them (avoids potential null reference exception).
Regenerated bindings using the latest version of the generator.
2009-10-17 21:49:35 +00:00
the_fiddler
0fd6651fd2
Fixed issue [ #1240 ]: "Generic ref and out wrappers do not copy results to the reference parameter", by assigning the GCHandle.Target back to the reference parameter.
2009-10-17 20:02:53 +00:00
the_fiddler
0ade61a5cf
Added override for GetProgramInfoLog: infolog parameter should have a flow of 'out'.
2009-10-17 16:31:33 +00:00