the_fiddler
7df7f1e392
Merged latest changes from trunk.
2009-10-28 15:45:49 +00:00
the_fiddler
7fbfd334c2
Initialize input vectors to random values.
...
Use smaller data blocks that can be verified visually.
Perform error checking when executing the kernel.
Wait for the command queue to finish before displaying the results.
2009-10-28 14:54:20 +00:00
the_fiddler
af94d707c0
Renamed dds textures to not contain strange characters that confuse Prebuild.
...
Added checks for extension support to SwizzledParallax sample.
2009-10-28 09:05:13 +00:00
the_fiddler
aec4b2feda
Track mouse enter/leave events.
2009-10-27 23:58:29 +00:00
the_fiddler
a3518f5df3
Plane.cs belongs to the 'old' structures.
2009-10-24 10:21:14 +00:00
the_fiddler
cde8d8771b
Merged Inertia's example and geometry branch,
2009-10-24 10:07:43 +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
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
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
42acbbf492
Indicate whether the window is focused or not.
2009-10-18 15:58:48 +00:00
the_fiddler
a212881e72
Fixed several code instances that relies on C# 3.0 features.
2009-09-07 23:28:59 +00:00
the_fiddler
2dbea66a1f
Updated in preparation of 0.9.9-2 release.
2009-09-05 18:35:20 +00:00
the_fiddler
504ec0e0d2
* GameWindowStates.cs: Increased texture size to ensure the text fits inside.
2009-09-04 23:48:44 +00:00
the_fiddler
d2f28a6e97
Added KeyboardKeyEventArgs.
...
Modified KeyboardDevice.KeyDown/KeyUp to follow the class library design guidelines.
Modified samples to use the new KeyDown/KeyUp event signatures.
2009-09-04 22:10:50 +00:00
the_fiddler
c5fe1bcafd
Added missing resx to DerivedGLControl.
2009-09-04 13:05:24 +00:00
the_fiddler
43ec20a3dc
Use CreateRotationY instead of the deprecated RotateY.
2009-09-04 13:04:42 +00:00
the_fiddler
e29c681f11
Add conditional compilation for assembly signature.
2009-09-04 12:45:58 +00:00
the_fiddler
0a33452e76
* Source/Build/Properties/AssemblyInfo.cs:
...
* Source/OpenTK/Properties/AssemblyInfo.cs:
* Source/Examples/Properties/AssemblyInfo.cs:
* Source/GLControl/Properties/AssemblyInfo.cs:
* Source/Compatibility/Properties/AssemblyInfo.cs: Added
AssemblyKeyFile and AllowPartialTrustCallers attributes.
* Source/OpenTK/Configuration.cs: Added [assemly: AssemblyKeyFile]
attribute.
Added missing license information.
Moved [assembly: CLSCompliant] to Properies/AssemblyInfo.cs.
2009-09-04 10:34:18 +00:00
the_fiddler
d6c4c801e1
Fixed line endings and set svn:eol-style to native and svn:mime-type to text/plain for .cs files.
2009-09-03 19:01:11 +00:00
the_fiddler
ec3ef00a4e
* GeometryShaderAdvanced.cs: Committed pokemoen's advanced geometry shader tutorial.
2009-08-25 23:06:20 +00:00
the_fiddler
3d1cfb40dc
Changed default namespace to OpenTK.Examples.
2009-08-25 15:38:50 +00:00
the_fiddler
5018a2113b
* GeometryShader.cs: Changed the number of output vertices so that output_vertices * num_varying_components is not larger than MaxGeometryTotalOutputComponents. Moved ProgramParameter calls before LinkProgram.
2009-08-25 09:33:01 +00:00
the_fiddler
1ca83daf60
Suppressed "Example Browser not ready" message box.
2009-08-20 22:16:11 +00:00
the_fiddler
765c109b44
Added pokemoen's Geometry Shader sample.
2009-08-20 22:15:54 +00:00
the_fiddler
5e06ae45ef
Removed unused code.
2009-08-19 13:20:45 +00:00
the_fiddler
60c2551012
Deleted OpenTK.Utilities project.
2009-08-17 10:36:38 +00:00
the_fiddler
71f4a53111
Added OpenGL|ES 2.0 sample.
2009-08-17 10:34:50 +00:00
the_fiddler
da9497928e
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
486c42168a
Manually check for OpenGL version. Removed TextPrinter references.
2009-08-17 09:57:43 +00:00
the_fiddler
b599535679
Manually check for OpenGL extension support.
...
Removed TextPrinter reference.
2009-08-17 09:56:43 +00:00
the_fiddler
7f7662cfb8
Manually check OpenGL version.
2009-08-17 09:56:16 +00:00
the_fiddler
878dd4394c
Disabled TextPrinter samples.
...
Removed TextPrinter references.
2009-08-17 09:32:50 +00:00
the_fiddler
dc877c5bfe
Fixed Matrix4.CreatePerspectiveFieldOfView calls to use radians instead of degrees.
2009-08-15 17:52:49 +00:00
the_fiddler
0e02f67749
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
16f209497b
Added support for OpenCL samples.
...
Added VectorAdd sample.
Bumped version number.
2009-08-11 20:18:05 +00:00
the_fiddler
0a8e6d0555
Updated version information.
2009-08-04 10:01:33 +00:00
the_fiddler
a9b59d4021
Added Parrot capture & playback sample.
2009-07-19 20:57:17 +00:00
the_fiddler
ce2a024c14
Updated to use latest AudioCapture / AudioContext APIs.
2009-07-19 20:56:49 +00:00
the_fiddler
cc90efe8c5
Ported updates from 0.9.8.
2009-07-18 08:44:31 +00:00
the_fiddler
c66871080c
Updated to use latest Audio api.
2009-07-17 23:00:50 +00:00
the_fiddler
4f6f2daa5c
* OpenALDiagnostics.cs: Added new diagnostics sample to Examples project.
2009-07-17 09:58:47 +00:00
the_fiddler
2d535853af
Removed tabs.
2009-06-26 21:09:55 +00:00
the_fiddler
828836675b
Fixed license information.
...
Cleaned up Main method.
2009-06-26 21:07:57 +00:00
the_fiddler
6aabf2cef5
Added nythrix's OpenGL 3.0 example.
2009-06-26 21:07:09 +00:00
the_fiddler
38947ffba5
Fixed license information.
2009-06-26 21:06:28 +00:00
the_fiddler
258f2a4e57
* OpenGL/1.1/DisplayLists.cs: Avoid Glu in favor of OpenTK.Matrix4.
...
* OpenAL/Test/TestAudioContext.cs: Remove deprecated Alut calls.
* OpenTK/GLControl/SimpleGLControl.Designer.cs: Use DockStyle.Fill instead of anchoring.
2009-06-25 22:47:59 +00:00
the_fiddler
a7363b54e6
Removed OpenTK.Math namespace. Math functions now go directly into the OpenTK namespace.
2009-06-25 11:42:05 +00:00
the_fiddler
c1db7a276b
Merged OpenTK.Compute from the cl branch.
...
Merged changes from the 0.9.8 branch.
Updated version numbers for 0.9.9 release.
2009-06-24 15:47:41 +00:00
the_fiddler
d5efed9045
Removed obsolete IResizable, DisplayMode and ColorMode APIs.
...
Marked carbon API class as internal.
Added a large number of missing XML comments.
2009-06-04 11:31:02 +00:00
the_fiddler
cb661c2dca
Merged gw-next2 branch to trunk.
2009-06-02 15:49:39 +00:00
the_fiddler
957bae2572
Added FSAA example.
2009-06-01 11:05:00 +00:00
the_fiddler
304c90a3ff
Removed obsolete using directives.
2009-06-01 10:52:45 +00:00
the_fiddler
5a0b27faa1
Added warning when launching the new sample browser.
...
Removed unused code.
2009-05-31 15:13:28 +00:00
the_fiddler
cdfe975427
Replaced Control.Invoke() by Control.BeginInvoke() to avoid deadlock when Debug.Print() is called from the finalizing thread.
2009-05-30 21:06:51 +00:00
the_fiddler
f39628bbb2
Fixed exception while the Sample Browser is shutting down.
2009-05-30 17:51:19 +00:00
the_fiddler
2bdf2e9828
Added workaround for broken Mono GDI+ text offset.
...
Commented-out unused code.
2009-05-30 17:35:42 +00:00
the_fiddler
cf4a243c99
Merged the latest specs from opengl.org.
...
Replaced all instances of Version14, Version15, Version20, Version30 and Version31 enums by type-safe equivalents.
Added gloverrides.xml to support overrides to function parameters / return types. This will make future spec updates easier to merge.
Improved handling of invalid tokens in the specs.
Bindings are now written in alphabetical order. This will reduce patch size for future updates and make side-by-side comparisons easier to perform.
2009-05-29 15:57:01 +00:00
the_fiddler
c83fda0419
Fixed source code resources for all examples.
2009-04-21 13:33:25 +00:00
the_fiddler
f60715998a
* ExampleBrowser.cs: Output TextBox now uses a monospace font.
...
* ExampleBrowser.Designer.cs: Worked around RichTextBox scrolling artifacts on Mono 1.9.2/2.0.
2009-04-21 13:06:50 +00:00
the_fiddler
25fda5ae19
* ExampleBrowser.cs: Replaced tabs with spaces.
2009-04-21 12:58:16 +00:00
the_fiddler
5fadf449be
* ExampleBrowser.cs: Worked around RichTextBox crash with empty text on Mono 2.0.
2009-04-21 12:55:43 +00:00
the_fiddler
d89eed8b11
* Resources.resx: Fixed case in filenames (Visual Studio resource designer ignores case).
2009-04-21 12:47:50 +00:00
the_fiddler
8bcf089eee
Fixed case (FramebufferObject.cs instead of FrameBufferObject.cs)
2009-04-21 12:28:19 +00:00
the_fiddler
e05b05e517
Let Visual Studio automatically update Resources.Designer.cs.
2009-04-20 10:18:39 +00:00
the_fiddler
7a64739114
Completely removed old ExampleLauncher.
2009-04-20 10:18:13 +00:00
the_fiddler
989be84c96
Moved and renamed examples to match the new example structurs.
...
Made example source code visible for all examples in example browser.
Updated Prebuild.exe to newest SVN version (resolves issues with resources).
Added .rtf and .resx files to Examples project in Prebuild.xml.
2009-04-20 09:48:33 +00:00
the_fiddler
ec7315500e
New sample browser with documentation and source code display.
...
Reduced example categories to OpenGL, OpenAL, OpenTK. Updated all samples to reflect this change.
Moved startup and loading code into separate files.
2009-04-20 07:20:25 +00:00
the_fiddler
6f352bd9e1
Updated OpenGL bindings: 'v' suffixes are now trimmed from all functions.
...
Added Matrix4 and Vector* overloads to Uniform* methods.
2009-04-12 18:24:56 +00:00
the_fiddler
ee5a7dac1f
Fixed type (wrap around).
2009-03-30 21:31:24 +00:00
the_fiddler
6b9c4a3c78
GLU tesselation example is no longer visible in release builds (it fails on Mono).
...
FrameBufferObject example: upldated title to match the rest of the examples.
2009-03-25 23:15:03 +00:00
the_fiddler
0c39a6c2d4
Updated version numbers and documentation for the 0.9.6 release.
2009-03-25 22:46:31 +00:00
the_fiddler
c3e1cb9ac8
Added snocrash' reverb EFX example.
2009-03-25 18:42:54 +00:00
the_fiddler
1a1d0cab6f
Replaced C# 3.0 code ('var') with its C# 2.0 equivalent.
2009-03-08 22:28:32 +00:00
the_fiddler
b0704762f2
Updated version numbers and documentation for 0.9.5 release.
2009-03-08 22:19:00 +00:00
the_fiddler
57a26d434c
Added pokemoen's enhancements to Extensions sample (return values, parameters).
2009-03-08 19:17:36 +00:00
the_fiddler
c2d9b32ff1
Modified Extensions example to request a GL3.0 context.
2009-03-07 18:33:23 +00:00
the_fiddler
4ac210a991
Prepare for 0.9.4 release.
2009-03-01 09:55:22 +00:00
the_fiddler
1f11e3f38c
Fixed exception when no joystick is present.
2009-03-01 01:20:26 +00:00
the_fiddler
f33d2ff498
Added missing parameters to joystick event loggers.
...
Updated to use the JoystickAxis and JoystickButton enumerations.
2009-03-01 01:18:00 +00:00
the_fiddler
0dca74a232
Implemented JoystickDevice events.
...
Added GameWindow interface to JoystickDevices.
Added HID support to Tests/InputLogger.
2009-03-01 00:28:31 +00:00
the_fiddler
02730b1e55
Removed unused code.
2009-02-28 23:10:25 +00:00
the_fiddler
c953327f1c
Improved Mono support.
2009-02-28 20:49:58 +00:00
the_fiddler
c14b41b3f4
Moved to the Tests namespace.
2009-02-28 20:42:25 +00:00
the_fiddler
ec45dfab24
Massively improved example: more information displayed, better layout.
2009-02-28 20:40:10 +00:00
the_fiddler
90253d5f62
Check that OpenGL resources have really been allocated, before deleting them in Unload().
2009-02-22 16:01:29 +00:00
the_fiddler
9a32ce9f55
Set SVN mime-type to text/plain and eol-style to native.
2009-02-22 15:51:06 +00:00
the_fiddler
55c34f8a48
Check whether EXT_framebuffer_object is supported and abort if it is not.
2009-02-22 15:50:08 +00:00
the_fiddler
871a76b46b
Use GameWindow.Exit() instead of GameWindow.ExitAsync().
2009-02-22 15:49:33 +00:00
the_fiddler
a22019d890
Normalize line endings and set the mime-type=text/plain and eol-style=native properties on all files.
2009-02-22 10:43:35 +00:00
the_fiddler
80c0895005
Bumped version number.
2009-02-20 19:49:07 +00:00
the_fiddler
fa1165a3ab
Fixed parameters on MouseDevice.Move and MouseDevice.WheelChanged event loggers.
2009-02-20 19:48:22 +00:00
kanato
81e09a2066
Merged in macos branch for Mac OS X support.
2009-02-20 18:57:57 +00:00
the_fiddler
e7c3fbd1b5
Updated to use the ExampleAttribute instead of the old IExample interface.
2009-02-20 18:04:01 +00:00
the_fiddler
a1a2de03c9
Update to use the new MouseDevice interface.
2009-02-20 18:03:05 +00:00
the_fiddler
7651a7a3bb
Merged text branch and updated changelog.
2009-02-13 19:09:38 +00:00
the_fiddler
52eb19f93b
Fixed line endings.
2009-02-12 23:43:06 +00:00
the_fiddler
b75b50acb2
Changed example color to midnight blue.
2009-02-12 23:42:11 +00:00
the_fiddler
ef4ab16e30
Modified to use new Text interface.
2009-02-12 23:41:29 +00:00