Commit graph

1109 commits

Author SHA1 Message Date
the_fiddler
64571a09bd Added DisplayDevice, DisplayResolution, IDisplayDeviceDriver, GraphicsContextException and GraphicsModeException. 2008-01-24 09:13:50 +00:00
the_fiddler
88c4c5db32 Fixed capitalization of Texture2D (was Texture2d) 2008-01-24 09:13:08 +00:00
the_fiddler
4cd670f14d Added DisplayDevice struct, ChangeDisplaySettingsEnum and ChangeDisplaySettingsEx. 2008-01-24 09:12:47 +00:00
the_fiddler
9ba0a545ba Renamed Display to DisplayDevice. 2008-01-23 14:39:53 +00:00
the_fiddler
a022f7fd68 Renamed Display to DisplayDevice. 2008-01-23 14:39:27 +00:00
the_fiddler
4cbe2f26cc Workaround for unsupported BitsPerPixel property on Mono 1.2.6. 2008-01-23 14:32:03 +00:00
the_fiddler
d1f2d7b33e Updated everything to use plain (int width, int height parameters) instead of DisplayMode.Width/.Height. 2008-01-23 14:17:09 +00:00
the_fiddler
18ec1d5ad5 Added checks against invalid arguments.
Made sealed.
2008-01-23 13:26:40 +00:00
the_fiddler
99b2c90b8e Don't use obsolete DisplayMode.Width/Height anymore. 2008-01-23 13:26:14 +00:00
the_fiddler
d0a057765d Moved AudioContext.cs 2008-01-23 12:46:09 +00:00
the_fiddler
36534926db Initial commit of the OpenTK.Audio namespace. 2008-01-23 12:44:49 +00:00
the_fiddler
2dc209e5c3 Initial commit of Display support. 2008-01-23 12:44:32 +00:00
the_fiddler
6d2ab65db0 Removed some unused code. 2008-01-23 12:42:47 +00:00
the_fiddler
6a6c2322a5 Added a couple of #region directives. 2008-01-23 12:42:27 +00:00
the_fiddler
b5973ddd7f Add a using declaration to help differentiate between OpenTK.Graphics and System.Drawing.Graphics. 2008-01-23 12:42:07 +00:00
the_fiddler
a12471c144 Display.Width/.Height are now obsolete. 2008-01-23 12:41:30 +00:00
the_fiddler
5fb21414d8 Addd public properties and documentation. 2008-01-23 12:41:10 +00:00
the_fiddler
ebb10c5424 Added LoadDelegate method. 2008-01-23 00:26:58 +00:00
the_fiddler
e4d7c3f8b3 Removed unused summary. 2008-01-23 00:26:47 +00:00
the_fiddler
b6d69104b4 Removed unused FieldInfo[] array. 2008-01-23 00:20:02 +00:00
the_fiddler
c7837ac381 Updated SupportsExtension functions. 2008-01-23 00:19:42 +00:00
the_fiddler
8041f1fe29 Internal Device getter. 2008-01-23 00:19:22 +00:00
the_fiddler
d6e2caf54f Added loading of Glx extensions. Added vsync support. 2008-01-23 00:18:52 +00:00
the_fiddler
67e8097865 Added Glx.SupportsExtension function. 2008-01-23 00:18:18 +00:00
the_fiddler
48d7acef1c Renamed Glx.Sgi.SwapIntervalSGI to Glx.Sgi.SwapInterval 2008-01-23 00:18:05 +00:00
the_fiddler
2f2b7532e2 Added glXSwapIntervalSGI method. 2008-01-23 00:01:03 +00:00
the_fiddler
5598019f01 Refactored extension loading to remove duplicate code. The logic is now contained in OpenTK/Platform/Utilities.cs 2008-01-22 23:58:50 +00:00
the_fiddler
394cc1f769 Added missing tokens to TextureParameterName (were only in GetTextureParameter, when they should have been in both enums). 2008-01-22 23:01:15 +00:00
the_fiddler
1f280f0731 Use DeviceSpecifier instead of AllDevicesSpecifier when enumerating audio devices. 2008-01-22 21:25:08 +00:00
the_fiddler
3c7d4e27b0 Disabled multiple AudioContext under linux.
Moved AudioContext.LoadAvailableDevices() call outside the static constructor.
2008-01-22 21:18:47 +00:00
the_fiddler
5ec6a23527 Added as hidden example. 2008-01-22 14:54:11 +00:00
the_fiddler
5ec59ff280 Use Utilities.SetWindowTitle() 2008-01-22 14:54:00 +00:00
the_fiddler
800b6483e7 Added API for OpenGL context resource sharing (GLContext.ShareContexts) 2008-01-22 14:53:44 +00:00
the_fiddler
bd26796ced Re-added MakeCurrent() call. Added better error checking. 2008-01-20 22:42:49 +00:00
the_fiddler
f3916e3357 Still trying to debug crash on Mono. Reverted changes. 2008-01-20 22:35:46 +00:00
the_fiddler
9c0087e1bf Commented out IsCurrent = true to help debug crash on Mono. 2008-01-20 22:19:52 +00:00
the_fiddler
8153d50b3e Removed Suspend call before MakeCurrent() 2008-01-20 22:17:23 +00:00
the_fiddler
73696dae49 Marshal alcMakeContextCurrent return value as I1. Just to see if it helps Mono. 2008-01-20 22:12:27 +00:00
the_fiddler
ec9b9fd59c Corrected an assertion. 2008-01-20 22:12:04 +00:00
the_fiddler
cf0747df6c Trying to debug alcMakeContextCurrent crash on Linux. 2008-01-20 22:04:41 +00:00
the_fiddler
b7cd66d414 Updated a comment. 2008-01-20 22:04:30 +00:00
the_fiddler
2ebe5ecdd5 Trying compatible defaults, to resolve crash on linux. 2008-01-20 21:50:03 +00:00
the_fiddler
1403d8f6e9 Commented MakeCurrent() out for testing. 2008-01-20 21:22:03 +00:00
the_fiddler
e91463e262 Updated Debug message on available device enumeration. 2008-01-20 21:05:49 +00:00
the_fiddler
f5daee31db Removed check for available_devices.Count > 0. Device enumeration is an extension, and may not always be available. 2008-01-20 21:00:59 +00:00
the_fiddler
6a783a5700 Removed check for null device name. Passing null to alcOpenDevice should open the default device. 2008-01-20 20:56:38 +00:00
the_fiddler
cea26e7dbf Fix for a possible NRE exception when constructing a new AudioContext. 2008-01-20 19:59:28 +00:00
the_fiddler
a8353d7e33 Worked around a Mono bug with unsafe inline constructors. 2008-01-20 19:42:01 +00:00
the_fiddler
878af03601 Documentation updates. Getting rid of all remaining warnings in debug build. 2008-01-20 19:29:42 +00:00
the_fiddler
5a66d44f19 Documentation updates. Getting rid of warnings. 2008-01-20 19:00:03 +00:00