Commit graph

  • 8527483c0b Fixed x86-specific ABI assumption (do not return structure directly when a pointer is expected). Patch by jonp. the_fiddler 2009-10-23 16:10:55 +0000
  • 887766a371 Fixed x86-specific ABI assumption (do not return structure directly when a pointer is expected). Patch by jonp. the_fiddler 2009-10-23 16:10:55 +0000
  • bf89d0a6ab Fixed GetVertexPointerParameter signature to comply with the specs. the_fiddler 2009-10-23 15:36:02 +0000
  • 58c12d0d05 GetAttribLocation: name parameter should have a flow of in, not out. Fixed a number of signatures that were different from desktop OpenGL. the_fiddler 2009-10-23 15:32:43 +0000
  • 3d05a448cc Normalized line endings. the_fiddler 2009-10-23 14:51:03 +0000
  • 9223285fd7 Added correct enum types for GetString and ShaderBinary. Added EnableCap tokens to GetPName, in accordance to specs. the_fiddler 2009-10-23 07:19:09 +0000
  • 1803ea7004 Added applicable helper overloads from desktop OpenGL. Added missing license information. the_fiddler 2009-10-23 06:59:04 +0000
  • 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. the_fiddler 2009-10-23 06:58:04 +0000
  • 968dc4e299 Fixed return types for GetError and CheckFramebufferStatus. Updated enum types for consistency with OpenGL. the_fiddler 2009-10-23 06:54:15 +0000
  • 61f4a8b0cc Regenerated signatures with fixed out parameters. the_fiddler 2009-10-22 23:06:34 +0000
  • 8ed98ec517 Use out flow direction for pointer parameters in Get* or Gen* methods. the_fiddler 2009-10-22 23:01:42 +0000
  • d06191d464 Regenerated ES 2.0 bindings using the new, strongly-typed enums. Fixed sample to use those new enums. the_fiddler 2009-10-22 21:49:11 +0000
  • 8da604c18f Merged third part of ES 2.0 cleanup (issue [#1015]: "[ES 2.0] Cleanup #3"). the_fiddler 2009-10-22 21:41:30 +0000
  • 8e67b0ace2 Merged second part of ES 2.0 cleanup (issue [#1014]: "[ES 2.0] Cleanup #2"). the_fiddler 2009-10-22 21:34:34 +0000
  • f8c49a54d4 Merged first part of ES 2.0 cleanup (issue [#1013]: "[ES 2.0] Cleanup #1"). the_fiddler 2009-10-22 21:24:54 +0000
  • ef911ad7d8 Created es20 branch for type-safe ES 2.0 bindings. the_fiddler 2009-10-22 21:01:29 +0000
  • 823149b343 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. the_fiddler 2009-10-22 17:56:55 +0000
  • 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. the_fiddler 2009-10-22 17:56:55 +0000
  • a7ccef9ae8 Set default class cursor to avoid invalid cursors when entering the window. the_fiddler 2009-10-21 20:08:04 +0000
  • ea4b599d0e Set default class cursor to avoid invalid cursors when entering the window. the_fiddler 2009-10-21 20:08:04 +0000
  • f1fc4b5b4e Added LoadCursor method. Added CursorName enum (only default arrow cursor is defined for now). the_fiddler 2009-10-21 20:07:32 +0000
  • 7b8ba2eacb Added LoadCursor method. Added CursorName enum (only default arrow cursor is defined for now). the_fiddler 2009-10-21 20:07:32 +0000
  • f127ddf031 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. the_fiddler 2009-10-21 17:26:07 +0000
  • 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. the_fiddler 2009-10-21 17:26:07 +0000
  • 38de4dd053 Updated changelog with last-minute changes. the_fiddler 2009-10-21 14:03:14 +0000
  • ab0a0f31ff Updated changelog with last-minute changes. the_fiddler 2009-10-21 14:03:14 +0000
  • b8bdfcd3a5 Fixed compilation issue caused by OnUnload access modifier changed (public -> protected). the_fiddler 2009-10-21 13:51:39 +0000
  • c65d6789b0 Fixed compilation issue caused by OnUnload access modifier changed (public -> protected). the_fiddler 2009-10-21 13:51:39 +0000
  • 7066b8bb8b Bumped version numbers and updated documentation in preparation of 0.9.9-3 release. the_fiddler 2009-10-21 13:35:29 +0000
  • 08f40b7c8c Bumped version numbers and updated documentation in preparation of 0.9.9-3 release. the_fiddler 2009-10-21 13:35:29 +0000
  • 895e416ca1 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. the_fiddler 2009-10-21 13:33:00 +0000
  • 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. the_fiddler 2009-10-21 13:33:00 +0000
  • bdfa5fc9ec Avoid accessing OpenTK.Graphics.OpenGL from platform-specific code. Reduces coupling and code-duplication. the_fiddler 2009-10-21 10:16:32 +0000
  • b92198bccc Avoid accessing OpenTK.Graphics.OpenGL from platform-specific code. Reduces coupling and code-duplication. the_fiddler 2009-10-21 10:16:32 +0000
  • 25c646639b Trap WM_SYSCHAR to avoid generating system beeps on Alt+[Key] combinations. the_fiddler 2009-10-20 11:35:35 +0000
  • 7ae6858ab5 Trap WM_SYSCHAR to avoid generating system beeps on Alt+[Key] combinations. the_fiddler 2009-10-20 11:35:35 +0000
  • ddcf5f6e44 Revert WindowBorder and WindowState value changes. Use Nullable types to detect when WindowBorder and WindowState is not set. the_fiddler 2009-10-19 21:32:33 +0000
  • c80cac88ca Revert WindowBorder and WindowState value changes. Use Nullable types to detect when WindowBorder and WindowState is not set. the_fiddler 2009-10-19 21:32:33 +0000
  • 2b7ed38569 * 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". the_fiddler 2009-10-19 19:46:37 +0000
  • 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". the_fiddler 2009-10-19 19:46:37 +0000
  • 162faad8e3 * X11GLNative.cs: Correctly set all necessary ClientMessage fields for XSendEvent call in Close() method. the_fiddler 2009-10-19 19:03:17 +0000
  • de37859604 * X11GLNative.cs: Correctly set all necessary ClientMessage fields for XSendEvent call in Close() method. the_fiddler 2009-10-19 19:03:17 +0000
  • 47c1cc69e5 * Functions.cs: Added helper function for XSendEvent, so that we don't need to cast the EventMask to IntPtr. the_fiddler 2009-10-19 19:02:07 +0000
  • 4743a9e810 * Functions.cs: Added helper function for XSendEvent, so that we don't need to cast the EventMask to IntPtr. the_fiddler 2009-10-19 19:02:07 +0000
  • e2dd2cb58f * X11GLContext.cs: Correctly set GraphicsMode in constructor (resolves issue [#1175]: "Graphics] GraphicsContext.GraphicsMode property returns null on Linux"). the_fiddler 2009-10-19 18:11:32 +0000
  • 5ba821a09a * X11GLContext.cs: Correctly set GraphicsMode in constructor (resolves issue [#1175]: "Graphics] GraphicsContext.GraphicsMode property returns null on Linux"). the_fiddler 2009-10-19 18:11:32 +0000
  • 38196c57f5 Added dllmap for OpenCL on Linux. the_fiddler 2009-10-19 17:53:59 +0000
  • bba72c91d7 Added dllmap for OpenCL on Linux. the_fiddler 2009-10-19 17:53:59 +0000
  • 4e9eb1c6cb Added missing OpenTK.Compatibility.dll.config file. Fixes issue [#1176]: "[Compat] OpenTK.Compatibility is missing dll.config file". the_fiddler 2009-10-19 17:53:47 +0000
  • 605d77ec4c Added missing OpenTK.Compatibility.dll.config file. Fixes issue [#1176]: "[Compat] OpenTK.Compatibility is missing dll.config file". the_fiddler 2009-10-19 17:53:47 +0000
  • cf859d7694 * 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. the_fiddler 2009-10-19 17:45:50 +0000
  • 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. the_fiddler 2009-10-19 17:45:50 +0000
  • a58fe9e70e * GLControlFactory.cs: More defensive checks for null GraphicsModes. the_fiddler 2009-10-19 17:38:16 +0000
  • ac404e35fb * GLControlFactory.cs: More defensive checks for null GraphicsModes. the_fiddler 2009-10-19 17:38:16 +0000
  • 0c9657c5e7 * X11GLNative.cs: Implemented Icon property for WMs that do not respect _NET_WM_ICON (e.g. Gnome/Metacity/Compiz). the_fiddler 2009-10-19 10:42:28 +0000
  • 17feb8d6d0 * X11GLNative.cs: Implemented Icon property for WMs that do not respect _NET_WM_ICON (e.g. Gnome/Metacity/Compiz). the_fiddler 2009-10-19 10:42:28 +0000
  • a05d06b2d8 * Functions.cs: Added a number of missing methods relating to XWMHints, images, pixmaps and root windows. Implemented Create[Mask|Pixmap]FromImage methods. the_fiddler 2009-10-19 10:41:41 +0000
  • 5ba2c0258d * Functions.cs: Added a number of missing methods relating to XWMHints, images, pixmaps and root windows. Implemented Create[Mask|Pixmap]FromImage methods. the_fiddler 2009-10-19 10:41:41 +0000
  • 80350e41d1 Route overloads through GL class instead of calling the Delegates directly. Ensures that automatic error checking will work as expected. the_fiddler 2009-10-19 09:10:32 +0000
  • 8c85493324 Route overloads through GL class instead of calling the Delegates directly. Ensures that automatic error checking will work as expected. the_fiddler 2009-10-19 09:10:32 +0000
  • e551881f1b Implemented icon support. the_fiddler 2009-10-18 16:52:07 +0000
  • 951ad35596 Implemented icon support. the_fiddler 2009-10-18 16:52:07 +0000
  • 48c85b313a Indicate whether the window is focused or not. the_fiddler 2009-10-18 15:58:48 +0000
  • 42acbbf492 Indicate whether the window is focused or not. the_fiddler 2009-10-18 15:58:48 +0000
  • a3b2211547 Treat 0 as a special value (necessary for internal purposes). the_fiddler 2009-10-18 15:23:22 +0000
  • d738685a51 Treat 0 as a special value (necessary for internal purposes). the_fiddler 2009-10-18 15:23:22 +0000
  • 76ae6999cd Focused property now returns correct values. FocusedChanged event is now correctly raised. the_fiddler 2009-10-18 15:11:41 +0000
  • 47a359d1a0 Focused property now returns correct values. FocusedChanged event is now correctly raised. the_fiddler 2009-10-18 15:11:41 +0000
  • 590789a684 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. the_fiddler 2009-10-18 14:56:53 +0000
  • 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. the_fiddler 2009-10-18 14:56:53 +0000
  • 6be563211f * 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. the_fiddler 2009-10-18 09:42:41 +0000
  • 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. the_fiddler 2009-10-18 09:42:41 +0000
  • c5464bc5d0 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". the_fiddler 2009-10-17 22:02:08 +0000
  • 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". the_fiddler 2009-10-17 22:02:08 +0000
  • 158f1af9d3 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. the_fiddler 2009-10-17 21:49:35 +0000
  • 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. the_fiddler 2009-10-17 21:49:35 +0000
  • 353ef37dd4 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. the_fiddler 2009-10-17 20:02:53 +0000
  • 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. the_fiddler 2009-10-17 20:02:53 +0000
  • b2bc058ac9 Added override for GetProgramInfoLog: infolog parameter should have a flow of 'out'. the_fiddler 2009-10-17 16:31:33 +0000
  • 0ade61a5cf Added override for GetProgramInfoLog: infolog parameter should have a flow of 'out'. the_fiddler 2009-10-17 16:31:33 +0000
  • 56610f5b20 Added workaround for the "Resize event called before GraphicsContext is ready" issue. the_fiddler 2009-10-15 14:52:57 +0000
  • c54d4d180b Added workaround for the "Resize event called before GraphicsContext is ready" issue. the_fiddler 2009-10-15 14:52:57 +0000
  • 40aae28300 Fixed GetDouble implementation to return correct values (should call GetDouble not GetFloat!) Fixes issue [#1235]: "Matrix4d wrong value on GL.GetDouble". the_fiddler 2009-10-15 14:37:26 +0000
  • 723a0dccf2 Fixed GetDouble implementation to return correct values (should call GetDouble not GetFloat!) Fixes issue [#1235]: "Matrix4d wrong value on GL.GetDouble". the_fiddler 2009-10-15 14:37:26 +0000
  • 8628ef580f Clarified GrabScreenshot() ObsoleteAttribute message. the_fiddler 2009-10-15 14:15:26 +0000
  • 6a0b75d67c Clarified GrabScreenshot() ObsoleteAttribute message. the_fiddler 2009-10-15 14:15:26 +0000
  • 04f2ba433a Support adding new enum definitions through overrides.xml. the_fiddler 2009-10-14 22:50:25 +0000
  • 6d2c0be7b3 Support adding new enum definitions through overrides.xml. the_fiddler 2009-10-14 22:50:25 +0000
  • eb2d1c3c91 Avoid translating names that do not need translation (i.e. are not in ALL_CAPS). the_fiddler 2009-10-14 22:49:04 +0000
  • babb54c00c Avoid translating names that do not need translation (i.e. are not in ALL_CAPS). the_fiddler 2009-10-14 22:49:04 +0000
  • 4abe4416a8 Added LoadIcon method. Made SHFILEINFO non-public. Modified WinGLNative.cs to use Icon.ExctractAssociatedIcon() to set the application icon (needs work). the_fiddler 2009-10-14 22:48:19 +0000
  • cb1c73e827 Added LoadIcon method. Made SHFILEINFO non-public. Modified WinGLNative.cs to use Icon.ExctractAssociatedIcon() to set the application icon (needs work). the_fiddler 2009-10-14 22:48:19 +0000
  • ef1a4488d0 Added support for setting the application (use SHGetFileInfo to retrieve the correct icon and set it when constructing a new window). the_fiddler 2009-10-14 21:50:40 +0000
  • a8231a5eb4 Added support for setting the application (use SHGetFileInfo to retrieve the correct icon and set it when constructing a new window). the_fiddler 2009-10-14 21:50:40 +0000
  • 973839ef2b Restore previous window size when leaving fullscreen mode. the_fiddler 2009-10-14 19:46:39 +0000
  • 6ffe87813a Restore previous window size when leaving fullscreen mode. the_fiddler 2009-10-14 19:46:39 +0000
  • 83514567f4 Corrected documentation on the M42 property. Fixes issue [#1227]: "Matrix4.M42 documentation". the_fiddler 2009-10-14 18:30:12 +0000
  • a98c1f9ae2 Corrected documentation on the M42 property. Fixes issue [#1227]: "Matrix4.M42 documentation". the_fiddler 2009-10-14 18:30:12 +0000
  • 3fbee6a156 Fixed documentation on the event args for the Resize event. Ensure that we call the base method when we override an On* method. the_fiddler 2009-10-14 18:25:51 +0000
  • d99fb773f5 Fixed documentation on the event args for the Resize event. Ensure that we call the base method when we override an On* method. the_fiddler 2009-10-14 18:25:51 +0000