the Fiddler's picture

The Open Toolkit library 0.9.8

Download: opentk-0.9.8.html
Size: 405 bytes
md5_file hash: 84b182dd81dcae257adee95fce421374
First released: 31 May, 2009 - 14:23
Last updated: 31 May, 2009 - 16:44


This release introduces:
* Full OpenGL 3.1 support
* New example browser with source code and documentation display.
* Minor cleanups to the OpenGL API
* Improved stability
* Significantly improved TextPrinter performance
* OpenGLErrorExceptions thrown on OpenGL errors (debug builds only)
* A large number of bug fixes. Refer to the [Resolved issues] sections.

Please visit to report issues or request features.

[Resolved issues]

To visit an issue report, type "{id}", where {id} is the issue number. For example,

#749: ARB_texture_ buffer_object
#772: StencilOpSeparate gremlin
#774: Some Token corrections
#776: Incorrect XDelta and YDelta values in MouseMoveEventArgs
#779: Table of Contents
#792: Resharper - Bitwise operation on enum which is not marked by [Flags] attribute
#794: A Bad Method Signature&Bad Method Naming Idiom
#810: Bad texture matrix in TextPrinter
#827: Null reference exception in GraphicsContext .CreateDummyContext()
#830: AudioContext: Wrong parameters passed to Alc.CreateContext
#834: Problem between GL.ColorTable and Version12 enum
#841: OpenGL Display area doesn't match to GLControl under MacOs X.
#844: KeyboardEvents called incorrectly in Ubuntu 9.04
#847: TextPrinter layout when width, height are zero.
#851: [OpenGL] DrawBuffer and DrawBuffers tokens
#870: NullReferenceException when repeatedly creating and destroying forms containing GLControl instances

[Known issues]

Mono 2.2 and 2.4 cannot compile this release (bug report: Please compile with Mono 2.0 or 2.4.2+, or use the precompiled binaries.

OpenTK.Graphics.TextPrinter fails to render text with newlines or a layout rectangle on Mono. This is a Mono GDI+ bug.

Example documentation may not show up correctly when running on Mono.

[API changes]

Please note that binary compatibility is not preserved between beta releases.

OpenTK 0.9.8 replaces several instances of the "All" and "Version*" enums with strongly-typed equivalents. This is a breaking change. If you are affected by this change, replace these enums with the ones suggested by your compiler.

OpenTK 0.9.8 removes several OpenGL overloads that take arrays of a single item. This is a breaking change. If you are affected by this change, please use the 'ref' or 'out' overload for the relevant function.

OpenTK 0.9.8 removes or replaces several invalid tokens in the DrawBuffer(s) methods. This is a breaking change.


[Legend: complete('+') | WIP('*') | missing('-')]
OpenTK 0.9.7 -> 0.9.8
+ Bind
	+ Merged 3.1 specs.
	+ Function overrides are now specified in 'gloverrides.xml' instead of gl.spec. Merging updated specs should now be much easier.
	+ Bindings are now generated in alphabetical order. This makes side-by-side comparisons easier whenever the generator or the specs are updated.
+ OpenTK
	+ Audio
		+ Fixed Alc.CaptureSamples signature and added convenience overloads.
	+ Graphics
		+ Full OpenGL 3.1 support.
		+ All instances of Version* enums have now been replaced. Only a few Version12Deprecated enums remain, pertaining to the ARB_imaging subset.
		+ Debug builds now throw an exception whenever an OpenGL error is encountered. Simplifies debugging.
		+ GraphicsContext.CreateDummyContext() no longer causes a NullReferenceException.
                + Several new helpers for getting matrices, vectors or setting the viewport.
	+ Input 
		+ Keyboard repeat is now turned off on X11.
		+ Mouse deltas are now reported correctly during mouse movements..
	+ Platform
		+ Device contexts are no longer leaked on Windows. This significantly improves stability of long-running processes and processes with multiple OpenGL contexts.
		+ Internal improvements to DummyGLContext.
		+ Internal improvements to IPlatformFactory.
+ OpenTK.Utilities
	+ TextPrinter
		+ Up to 2x better performance with TextPrinterOptions.NoCache.
		+ Up to 20x better performance with TextPrinterOptions.Default.
		+ Specifying text location now works on Mono. Text width and height is still broken (Mono GDI+ bug).
		+ Replaced matrix stack with custom implementation for improved compatibility with buggy drivers or newer OpenGL versions.
		+ GL1TextOutputProvider now resets / restores the TextureMatrix.
+ Examples
	+ New sample browser that includes documentation and source code (in progress).
	+ Removed the console window. Debug messages are now shown inside the sample browser.