the_fiddler
c6516c2255
Moved OpenTK.GLControl to its own project.
2009-08-19 14:17:47 +00:00
the_fiddler
073109c8c7
Fixed documentation warnings.
...
Removed duplicate code (due to BindingsBase class).
2009-08-19 13:22:12 +00:00
the_fiddler
c1f41d1eb9
Moved Alut to OpenTK.Compatibility.
...
Moved SoundData and SoundFormat to OpenTK.Compatibility.
Moved AL and Alc classes to OpenTK.Audio.OpenAL and added the previous namespace to OpenTK.Compatibility.
Removed SoundData wrappers from AL class.
Updated samples to use the new API.
2009-08-17 10:32:20 +00:00
the_fiddler
7f970763a7
Moved GdiPlus wrappers to OpenTK.Compatibility.
...
Moved TextPrinter to OpenTK.Compatibility.
2009-08-17 10:29:51 +00:00
the_fiddler
775f158269
Removed Destroy event and RegisterForDisposal method from IGraphicsContext.
...
Added GraphicsContextBase, which acts as the foundation of all IGraphicsContext implementations.
Added DesktopGraphicsContext, which acts as the foundation of all desktop (i.e. not ES) IGraphicsContext implementations.
Modified all IGraphicsContext implementations to inherit from GraphicsContextBase and/or DesktopGraphicsContext.
2009-08-17 10:23:16 +00:00
the_fiddler
2747869a92
Added BindingsBase class that provides a common base for all generated bindings.
...
Made the OpenGL and OpenGL|ES bindings non static.
Made the OpenGL and OpenGL|ES bindings inherit from BindingsBase.
2009-08-17 10:20:42 +00:00
the_fiddler
ebaf16bf8a
Now use "Core" as default Settings.ImportsClass.
2009-08-17 10:15:29 +00:00
the_fiddler
1bcc012f35
Implemented INativeWindow.WindowBorderChanged and INativeWindow.WindowStateChanged events.
2009-08-17 09:34:15 +00:00
the_fiddler
0b36b2a779
Updated documentation to remove references to the 3.1 specification (this class always supports the full profile of the latest specification.)
2009-08-15 18:02:16 +00:00
the_fiddler
1f53422cf1
Normalized line endings.
2009-08-15 18:01:15 +00:00
the_fiddler
e24402487c
Regenerated bindings to fix CLSCompliance issues.
2009-08-15 17:51:03 +00:00
the_fiddler
68c985c6f4
Regenerated bindings using the latest generator updates.
2009-08-15 17:37:56 +00:00
the_fiddler
e2bfabd659
Fixed compilation errors.
...
Moved bindings to the GL class.
2009-08-15 17:37:18 +00:00
the_fiddler
521c1211d3
Removed the various GetProcAddress methods (now handled by IGraphicsContextInternal).
...
Removed Imports nested class.
2009-08-15 16:56:36 +00:00
the_fiddler
e4f1c956c9
Regenerated bindings using the latest generator updates.
...
ES bindings now exist in ES10.GL, ES11.GL and ES20.GL classes instead of ES10.ES etc (reason: easier porting to/from regular OpenGL).
2009-08-15 16:55:53 +00:00
the_fiddler
7a8bfc60ee
Modified CreateX11WindowInfo to check GraphicsMode.Index.HasValue prior to using it.
2009-08-15 16:46:33 +00:00
the_fiddler
5d5f598707
Implemented EglContext construction according to AMD's OpenGL|ES samples.
2009-08-15 16:45:59 +00:00
the_fiddler
5515c59173
Added OutAttribute to array parameters that return values.
...
Added Egl.GetProcAddress method.
2009-08-15 16:45:21 +00:00
the_fiddler
9a6a539d26
Modified GraphicsMode.Index to be a nullable property. Modified consuming classes to check Index.HasValue prior to first use.
2009-08-15 16:44:43 +00:00
the_fiddler
b503c41bf1
Made GraphicsMode query non-eager. The GraphicsMode will only be queried on first access of its Index property, for example when creating an X11 window or a new GraphicsContext.
2009-08-15 16:03:54 +00:00
the_fiddler
0feae9b6e3
Added documentation.
2009-08-15 16:02:52 +00:00
the_fiddler
584fe3f301
Replaced libGLES.dll by libGLESv2.dll, which is provided by AMD's OpenGL|ES emulator.
2009-08-14 15:33:39 +00:00
the_fiddler
5464be873f
Removed duplicate GetConfigAttrib calls.
2009-08-14 15:32:38 +00:00
the_fiddler
d436bf5e14
Use Egl.GetDisplay to get a display connection from an EGLNativeDisplayType.
2009-08-14 15:19:37 +00:00
the_fiddler
b5928c6dd4
Replaced libGLES_CM.dll by libEGL.dll, which is provided by the AMD OpenGL|ES emulator.
2009-08-14 15:17:42 +00:00
the_fiddler
5743d2bf3b
Renamed GL folder to OpenGL, in order to match namespace.
2009-08-14 14:24:18 +00:00
the_fiddler
2e6a80624b
Fixed GraphicsContextFlags.Embedded matching.
2009-08-14 14:18:30 +00:00
the_fiddler
b240db8cd9
Added mathematical constants used by XNA (Pi, E, logarithms).
...
Removed unused code.
2009-08-14 14:15:30 +00:00
the_fiddler
6336246f57
Ensure UnsupportedPlatform is used for Factory.Embedded if OpenGL|ES is not supported.
2009-08-14 14:10:56 +00:00
the_fiddler
3462e80978
Moved OpenTK.Graphics.GL class to the OpenTK.Graphics.OpenGL namespace (reason: necessary for OpenGL|ES support; necessary for support of different OpenGL profiles). OpenTK.Graphics.GL has been moved to the OpenTK.Compatibility library.
...
Removed OpenTK.Graphics.Glu class (reason: deprecated upstream; most functionality provided by OpenTK math; not compatible with OpenGL 3.0+.) OpenTK.Graphics.Glu can be accessed through OpenTK.Compatibility.
Added OpenGL|ES-specific ErrorHelper classes.
Moved OpenTK.Graphics.DisplayDevice and OpenTK.Graphics.DisplayResolution to the root OpenTK namespace (reason: their functionality is not specific and does not depend on OpenTK.Graphics).
Split Graphics*Exception classes into different files.
Made GraphicsErrorException public (reason: necessary for OpenTK.Compatibility).
2009-08-14 13:13:28 +00:00
the_fiddler
3cfc3906b8
Obsoleted OpenTK.Functions in favor of OpenTK.MathHelper (reason: XNA compatibility).
...
Added Matrix4.LookAt overload that does not use Vector3 parameters.
2009-08-14 12:37:18 +00:00
the_fiddler
245f45c7eb
Added support for IPlatformFactory implementations for embedded devices that use EGL. The embedded implementation can be used side-by-side with the normal implementations (useful for platforms that support both desktop GL and EGL).
2009-08-13 11:52:51 +00:00
the_fiddler
e0ba370b4a
Added GraphicsContextFlags.Embedded for OpenGL|ES.
2009-08-13 11:41:32 +00:00
the_fiddler
fec018e921
Normalized line endings.
2009-08-13 11:41:14 +00:00
the_fiddler
d9fc224f72
Added IsSupported property, which checks for the existence of EGL libraries.
2009-08-13 11:40:16 +00:00
the_fiddler
a905b3ce24
* Egl.cs: Added workaround for gmcs 2.4.2 bug #530270 ( https://bugzilla.novell.com/show_bug.cgi?id=530270 ).
2009-08-12 10:58:23 +00:00
the_fiddler
41c8dc9fbb
Regenerated OpenCL bindings with the compilation fixes for gmcs 2.0.
2009-08-12 10:13:51 +00:00
the_fiddler
81b06b8a08
Ensure Wgl core entry points are loaded prior to first use, even without a Wgl context.
...
Do not query actual GraphicsMode.Default in DummyGLContext constructor. Doing so creates a temporary context, which should not be done when creating a dummy context.
Fixed issue [#993 ]: "Possible bug in GraphicsContext.CreateDummyContext()".
2009-08-11 21:45:32 +00:00
the_fiddler
e0f6300c5b
Missed part of the refactored X11 bindings.
2009-08-11 21:15:29 +00:00
the_fiddler
d9d2cfd735
Added missing license information. Made public. Added documentation.
2009-08-11 21:11:46 +00:00
the_fiddler
d3fadd0be1
Suppressed documentation warnings and ensured public structures follow the class library design guidelines.
2009-08-11 21:11:39 +00:00
the_fiddler
682d371cbe
Made types used by X11WindowInfo public.
2009-08-11 21:02:52 +00:00
the_fiddler
bf5decd472
Added missing license information and removed unused code.
2009-08-11 20:57:54 +00:00
the_fiddler
8f74430e23
Made class public.
...
Added missing license information.
2009-08-11 20:55:43 +00:00
the_fiddler
c83f9d6a3a
Added missing license information.
2009-08-11 20:55:13 +00:00
the_fiddler
791be928cb
Removed unused code.
2009-08-11 20:51:02 +00:00
the_fiddler
d308ee7bd5
Bumped version number
2009-08-11 20:44:32 +00:00
the_fiddler
01345de5bc
Added loading code for OpenCL entry points.
2009-08-11 20:16:28 +00:00
the_fiddler
0a2079e170
Removed hand-written OpenCL bindings in favor of generated ones.
2009-08-11 19:27:28 +00:00
the_fiddler
ff4af08d2c
Generated OpenCL bindings with fixed function pointers.
2009-08-11 19:26:27 +00:00
the_fiddler
38a4011200
Added generated bindings for OpenCL 1.0.
2009-08-11 14:21:35 +00:00
the_fiddler
a906a70146
Merged fix for issue [ #1074 ]: " X11XrandrDisplayDevice on Xming ---> Argument is out of range." from 0.9.8 branch.
2009-08-10 11:36:26 +00:00
the_fiddler
fbab14bb7a
Merged fix for issue [ #1089 ]: "TextPrinter is affected by TextureGen* and TextureEnvMode" from 0.9.8 branch.
2009-08-09 18:54:35 +00:00
the_fiddler
3f009dc723
Moved AutoGeneratedAttribute to root namespace (it is now used by more than just OpenTK.Graphics).
2009-08-09 17:55:11 +00:00
the_fiddler
d177be4b19
Fixed out ErrorCode parameters in OpenTK.Compute.CL.CreateBuffer and CreateImage2D[23]D methods.
2009-08-09 14:29:17 +00:00
the_fiddler
461e300c3b
Fixed out ErrorCode parameters in OpenTK.Compute.CL.CreateKernel method.
2009-08-09 14:23:13 +00:00
the_fiddler
e4f3fcb55e
Fixed out ErrorCode parameters in OpenTK.Compute.CL.CreateProgram* methods.
2009-08-09 14:20:49 +00:00
the_fiddler
5408787be8
Updated version information.
2009-08-04 10:01:33 +00:00
the_fiddler
d2ed387c67
Merged improved XRandR handling from 0.9.8 branch.
2009-08-04 09:35:31 +00:00
the_fiddler
58e58e8885
Implemented CreateKeyboardDriver (currently disabled).
2009-08-04 08:49:15 +00:00
the_fiddler
ec24c5022f
Added GetState() method for primary keyboard.
2009-08-04 08:47:53 +00:00
the_fiddler
28a3efa23c
Merged OpenGL 3.2 bindings. Fixed a conflict between the new ProgramParameter method and the existing ProgramParameter enum in GLHelper.cs.
2009-08-03 23:16:10 +00:00
the_fiddler
276675fd9c
Merged fix for bug [ #1060 ]: "Wrong XML Comment on the W property in Vector4[d]".
2009-08-01 14:24:47 +00:00
the_fiddler
503d86267a
Marked all IPlatformFactory interface implementations as virtual.
2009-07-24 21:52:01 +00:00
the_fiddler
aff44002b1
Added new EglWindowInfo constructor.
...
Added missing license information.
2009-07-24 21:51:06 +00:00
the_fiddler
e0c88b92e6
Initial implementation.
2009-07-24 21:50:21 +00:00
the_fiddler
e7fd9eb296
Implemented IDisposable pattern.
2009-07-24 21:19:42 +00:00
the_fiddler
f031e34ecf
Initial implementation.
2009-07-24 21:13:46 +00:00
the_fiddler
46632376a8
Removed EGL_ prefix from all EGL constants.
2009-07-24 21:12:59 +00:00
the_fiddler
16dd351255
Added NextPowerOfTwo float and double overloads.
2009-07-19 20:58:35 +00:00
the_fiddler
70a9d8f35e
Improved BlittableValueType API (Check, StrideOf methods).
...
Added AL.BufferData<T> method.
2009-07-19 20:56:17 +00:00
the_fiddler
325ce4aaa2
Added AudioCapture.IsRunning property.
...
Fixed formatting.
2009-07-19 20:55:18 +00:00
the_fiddler
80697dcc60
Minor formatting cleanup.
2009-07-19 20:51:55 +00:00
the_fiddler
b1a6202269
Replaced tabs with spaces.
2009-07-19 17:50:41 +00:00
the_fiddler
67bdd39d08
Added INativeWindow.CreateKeyboardDriver()
...
Added INativeWindow.KeyPress event (KeyPressEventArgs).
Removed INativeWindow.Icon property.
2009-07-19 17:49:51 +00:00
the_fiddler
a9352e441b
Fixed issue [ #1035 ] ( http://www.opentk.com/node/1035 [Audio] SoundData's internal buffer size)
2009-07-19 16:12:40 +00:00
the_fiddler
5ef2a59306
Replaced tabs with spaces.
2009-07-19 16:09:46 +00:00
the_fiddler
416c40b333
* GLHelper.cs: Added Quaternion overload to GL.Uniform4.
2009-07-19 15:31:37 +00:00
the_fiddler
9f844be1c7
* GLHelper.cs: Replaced tabs with spaces.
2009-07-19 15:28:42 +00:00
the_fiddler
e4c1a2b0b4
Fixed license header.
2009-07-18 08:24:45 +00:00
the_fiddler
ad7a8497f2
Moved GameWindowFlags enumeration to its own file.
...
Added GameWindowFlags.Default token.
2009-07-18 08:21:58 +00:00
the_fiddler
a1fc3fc13c
Removed CurrentAlcError property.
...
Fixed handling of ObjectDisposedExceptions.
2009-07-17 23:07:17 +00:00
the_fiddler
1fff5cc885
Renamed AudioContext.Default to AudioContext.DefaulDevice.
...
Improved error checking code.
2009-07-17 23:00:22 +00:00
the_fiddler
bdd49a2aa1
Added SampleFormat and SampleFrequency properties.
...
Added CheckErrors method.
Renamed GetSamples to ReadSamples and added generic overload.
Improved error checking code.
2009-07-17 22:59:50 +00:00
the_fiddler
61a48526e3
Added CLSCompliant overload to Alc.CaptureOpenDevice.
2009-07-17 22:58:29 +00:00
the_fiddler
d9f8d2e694
Simple whitespace fix.
2009-07-17 22:58:01 +00:00
the_fiddler
60300ffcc1
Added AudioDeviceErrorChecker modeled after OpenTK.Graphics.
2009-07-17 22:57:22 +00:00
the_fiddler
286d13dbd4
Added AudioValueException class.
2009-07-17 22:57:11 +00:00
the_fiddler
f148198523
Added BlittableValueType struct that can be used to check whether any given value type is blittable.
2009-07-17 22:51:44 +00:00
the_fiddler
8f4a75f9f3
Specify correct sizes for Alc.GetInteger buffers (needs size in integers, not size in bytes).
2009-07-17 21:21:52 +00:00
the_fiddler
68cd6b68db
Fixed wrappers for Alc.GetInteger (pin and pass pointer).
2009-07-17 21:21:03 +00:00
the_fiddler
efce51d974
* AudioCapture.cs: Added AudioCapture class that encapsulates openal 'capture' contexts.
2009-07-17 09:47:59 +00:00
the_fiddler
7726212921
Replaced tabs with spaces.
2009-07-17 08:27:25 +00:00
the_fiddler
a65ed72e72
Updated license information.
2009-07-17 08:26:32 +00:00
the_fiddler
7d00083bc2
* AudioDeviceEnumerator.cs: Added missing file.
2009-07-17 08:25:33 +00:00
the_fiddler
0b107a9880
* EglContext.cs: Fixed build error (class committed by mistake - it is not yet implemented).
2009-07-16 13:36:41 +00:00
Chrisbrandtner
c41c81613d
Merged openal-next branch (rev. 1969) to trunk. Tested with Audio-Info and Parrot examples and works as expected.
2009-07-16 12:49:24 +00:00
the_fiddler
2a96551355
Added EGL bindings based on http://www.koushikdutta.com/2008/08/net-compact-framework-wrapper-for.html
2009-07-15 23:17:41 +00:00
the_fiddler
2183ad98e4
* CLHelper.cs: Removed garbage unicode characters inserted by MonoDevelop.
2009-07-15 23:03:52 +00:00
the_fiddler
83496a8a0f
Added missing license information.
2009-07-15 22:58:09 +00:00